create Videos folder if it doesn't exist (fix #489)

This commit is contained in:
end-4
2024-05-10 08:03:37 +07:00
parent 512d0281e2
commit 99564866d0
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ getactivemonitor() {
hyprctl monitors -j | gojq -r '.[] | select(.focused == true) | .name'
}
cd ~/Videos || exit
mkdir -p ~/Videos
if pgrep wf-recorder > /dev/null; then
notify-send "Recording Stopped" "Stopped" -a 'record-script.sh' &
pkill wf-recorder &