From 019b4184ce742a1c9d0e88be9161c00406126020 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Mon, 28 Nov 2022 23:18:46 -0500 Subject: [PATCH] Make the hotkey to end screen recording work on FreeBSD. --- ansible/roles/sway/files/sway_config_files/screenshots.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/sway/files/sway_config_files/screenshots.conf b/ansible/roles/sway/files/sway_config_files/screenshots.conf index 0e2edbf..97ae3f4 100644 --- a/ansible/roles/sway/files/sway_config_files/screenshots.conf +++ b/ansible/roles/sway/files/sway_config_files/screenshots.conf @@ -5,5 +5,5 @@ bindsym print exec grim "$HOME/$(date +'screenshot_%Y-%m-%d-%H%M%S.png')" # Maybe add --audio flag? can optionally specify specific device name from `pactl list sources | grep Name` bindsym $mod+Shift+print exec wf-recorder -g "$(slurp)" -f "$HOME/$(date +'screencast_%Y-%m-%d-%H%M%S.mkv')" -c h264_vaapi -d /dev/dri/renderD128 bindsym Shift+print exec wf-recorder -f "$HOME/$(date +'screencast_%Y-%m-%d-%H%M%S.mkv')" -c h264_vaapi -d /dev/dri/renderD128 -bindsym $mod+ctrl+Shift+print exec killall -s SIGINT wf-recorder +bindsym $mod+ctrl+Shift+print exec killall -SIGINT wf-recorder # Need to make a hotkey to end the recording