forked from Shinonome/dots-hyprland
fix record script
This commit is contained in:
@@ -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 &
|
||||
|
||||
Reference in New Issue
Block a user