2022-10-18 02:17:26 +00:00
|
|
|
# Screenshots
|
2022-10-18 02:41:38 +00:00
|
|
|
#bindsym $mod+print exec slurp | grim -g - $(xdg-user-dir PICTURES)/$(date +'screenshot_%Y-%m-%d-%H%M%S.png')
|
|
|
|
bindsym $mod+print exec slurp | grim -g - "$HOME/$(date +'screenshot_%Y-%m-%d-%H%M%S.png')"
|
|
|
|
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
|
2022-11-29 04:18:46 +00:00
|
|
|
bindsym $mod+ctrl+Shift+print exec killall -SIGINT wf-recorder
|
2022-10-18 02:17:26 +00:00
|
|
|
# Need to make a hotkey to end the recording
|