Fix systemd service file

This commit is contained in:
dec05eba
2024-09-05 23:39:17 +02:00
parent cb782763f0
commit 239f2010f5
14 changed files with 21 additions and 22 deletions

View File

@@ -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"