sway screen record
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user