diff options
author | rafa_99 <rafa99@protonmail.com> | 2020-10-10 22:56:00 +0100 |
---|---|---|
committer | rafa_99 <rafa99@protonmail.com> | 2020-10-10 22:56:00 +0100 |
commit | fd1f1013e3335bdddb6aed705c6819f9dc010fad (patch) | |
tree | 6f39fe30aeae3128e5ed78d39f2d9bdd54b46b45 /scripts/.local/bin/screenrecord | |
parent | c3a2aadbc427ddeaf18dd3ce5b4e00f718025f13 (diff) |
Dots Upgrade to use GNU Stow Organization
Diffstat (limited to 'scripts/.local/bin/screenrecord')
-rwxr-xr-x | scripts/.local/bin/screenrecord | 5 |
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 |