sway screen record

This commit is contained in:
Jonas H
2026-05-10 09:34:44 +02:00
parent c7edbb1be0
commit 9451af02dd

View File

@@ -47,6 +47,10 @@ bindsym $mod+Shift+g exec ~/.config/sway/scripts/gif-record.sh
bindsym $mod+p exec grim /tmp/screenshot-$(date +%Y%m%d-%H%M%S).png && wl-copy < $(ls -t /tmp/screenshot-*.png | head -1)
bindsym $mod+Shift+p exec grim -g "$(slurp)" /tmp/screenshot-$(date +%Y%m%d-%H%M%S).png && wl-copy < $(ls -t /tmp/screenshot-*.png | head -1)
# Screen recording
bindsym $mod+o exec wf-recorder -g "$(slurp)" -f /tmp/recording-$(date +%Y%m%d-%H%M%S).mp4
bindsym $mod+Shift+o exec pkill --euid "$USER" --signal SIGINT wf-recorder
# mouse button for dragging.
floating_modifier $mod normal