diff --git a/.config/ags/scripts/record-script.sh b/.config/ags/scripts/record-script.sh index 24e7324f3..e7855cff8 100755 --- a/.config/ags/scripts/record-script.sh +++ b/.config/ags/scripts/record-script.sh @@ -10,7 +10,8 @@ getactivemonitor() { hyprctl monitors -j | gojq -r '.[] | select(.focused == true) | .name' } -mkdir -p ~/Videos +mkdir -p "$(xdg-user-dir VIDEOS)" +cd "$(xdg-user-dir VIDEOS)" || exit if pgrep wf-recorder > /dev/null; then notify-send "Recording Stopped" "Stopped" -a 'record-script.sh' & pkill wf-recorder &