diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-03-22 13:33:02 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-03-22 13:33:02 +0100 |
commit | ff8fa9f0f7c0903ca4a327737e7839b4f221d6d5 (patch) | |
tree | 992d46bf952465c5969576cc378655cb0ef1d44c /record-selected.sh | |
parent | b8f643a7e196962bf3f76b431ff2cfe4a683a55b (diff) |
Record black screen instead of crash when compositor + window is not supported at the moment
Diffstat (limited to 'record-selected.sh')
-rwxr-xr-x | record-selected.sh | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/record-selected.sh b/record-selected.sh deleted file mode 100755 index 5782ac3..0000000 --- a/record-selected.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -e - -window=$(xdotool selectwindow) -active_sink="$(pactl get-default-sink).monitor" -mkdir -p "$HOME/Videos" -video="$HOME/Videos/$(date +"Video_%Y-%m-%d_%H-%M-%S.mp4")" -gpu-screen-recorder -w "$window" -c mp4 -f 60 -a "${active_sink}.monitor" -o "$video" -notify-send "GPU Screen Recorder" "Saved video to $video" |