diff options
Diffstat (limited to 'scripts/toggle-recording-selected.sh')
-rwxr-xr-x | scripts/toggle-recording-selected.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/toggle-recording-selected.sh b/scripts/toggle-recording-selected.sh index 309e4d1..d4c1b38 100755 --- a/scripts/toggle-recording-selected.sh +++ b/scripts/toggle-recording-selected.sh @@ -2,7 +2,7 @@ killall -SIGINT gpu-screen-recorder && sleep 0.5 && notify-send -t 1500 -u low 'GPU Screen Recorder' 'Stopped recording' && exit 0; window=$(xdotool selectwindow) -active_sink="$(pactl get-default-sink).monitor" +active_sink=default_output mkdir -p "$HOME/Videos" video="$HOME/Videos/$(date +"Video_%Y-%m-%d_%H-%M-%S.mp4")" notify-send -t 1500 -u low 'GPU Screen Recorder' "Started recording video to $video" |