Make the hotkey to end screen recording work on FreeBSD.

This commit is contained in:
Tom Alexander 2022-11-28 23:18:46 -05:00
parent 8ce926be8e
commit 019b4184ce
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -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