From c7e7b2b06ce82c456e58af9183a9507ef4f19d4e Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Sun, 5 Jul 2026 17:29:53 -0400 Subject: [PATCH] Fix ending video recording sessions. --- nix/configuration/roles/sway/screenshot.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/configuration/roles/sway/screenshot.nix b/nix/configuration/roles/sway/screenshot.nix index 0db8383..d6268a6 100644 --- a/nix/configuration/roles/sway/screenshot.nix +++ b/nix/configuration/roles/sway/screenshot.nix @@ -26,7 +26,7 @@ let # Maybe add --audio flag? can optionally specify specific device name from `@pactl@ list sources | @grep@ Name` bindsym $mod+Shift+print exec @wl-screenrec@ -g "$(@slurp@)" --codec av1 -f "$HOME/$(date +'screencast_%Y-%m-%d-%H%M%S.mkv')" bindsym Shift+print exec @wl-screenrec@ --codec av1 -f "$HOME/$(date +'screencast_%Y-%m-%d-%H%M%S.mkv')" - bindsym $mod+ctrl+Shift+print exec pkill -SIGINT @wl-screenrec@ + bindsym $mod+ctrl+Shift+print exec pkill -SIGINT -f @wl-screenrec@ # Need to make a hotkey to end the recording ''; };