summaryrefslogtreecommitdiff
path: root/scripts/.local/bin/screenrecord
diff options
context:
space:
mode:
authorrafa_99 <rafa99@protonmail.com>2020-10-10 22:56:00 +0100
committerrafa_99 <rafa99@protonmail.com>2020-10-10 22:56:00 +0100
commitfd1f1013e3335bdddb6aed705c6819f9dc010fad (patch)
tree6f39fe30aeae3128e5ed78d39f2d9bdd54b46b45 /scripts/.local/bin/screenrecord
parentc3a2aadbc427ddeaf18dd3ce5b4e00f718025f13 (diff)
Dots Upgrade to use GNU Stow Organization
Diffstat (limited to 'scripts/.local/bin/screenrecord')
-rwxr-xr-xscripts/.local/bin/screenrecord5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/.local/bin/screenrecord b/scripts/.local/bin/screenrecord
new file mode 100755
index 0000000..0a4d72d
--- /dev/null
+++ b/scripts/.local/bin/screenrecord
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+#FFMPEG Grabs X11 Screen Puts it into a file inside Videos Folder
+ffmpeg -y -f x11grab -framerate 60 -s "$(xdpyinfo | grep dimensions | awk '{print $2;}')" -i :0.0 \
+ -f pulse -i default ~/Videos/Recordings/recording-"$(date '+%Y%m%d_%H%M%S')".mkv