diff --git a/modules/desktop/environments/river.nix b/modules/desktop/environments/river.nix index 26aff99..2b2cd8c 100644 --- a/modules/desktop/environments/river.nix +++ b/modules/desktop/environments/river.nix @@ -260,7 +260,7 @@ #!/usr/bin/env sh 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")" wl-copy < "$(cat "$HOME/.cache/last_screencast")" exit 0