1
Fork 0

river: Fix screencast script

It's still shit but just less now
This commit is contained in:
caem 2024-12-18 17:13:48 +01:00
parent 16c91e0c9d
commit 862eed294e
Signed by: caem
GPG key ID: 69A830D03203405F

View file

@ -260,7 +260,7 @@
#!/usr/bin/env sh #!/usr/bin/env sh
if [ -n "$(pidof wf-recorder)" ]; then if [ -n "$(pidof wf-recorder)" ]; then
kill -s SIGINT $(pidof wf-recorder) pkill --signal=SIGINT wf-recorder
notify-send "Screencast saved" "$(cat "$HOME/.cache/last_screencast")" notify-send "Screencast saved" "$(cat "$HOME/.cache/last_screencast")"
wl-copy < "$(cat "$HOME/.cache/last_screencast")" wl-copy < "$(cat "$HOME/.cache/last_screencast")"
exit 0 exit 0