From 862eed294e812d87107baab326d06951a2112880 Mon Sep 17 00:00:00 2001 From: caem Date: Wed, 18 Dec 2024 17:13:48 +0100 Subject: [PATCH] river: Fix screencast script It's still shit but just less now --- modules/desktop/environments/river.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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