sway screenshots
This commit is contained in:
@@ -41,6 +41,10 @@ bindsym $mod+space exec "pkill fuzzel || fuzzel"
|
||||
bindsym $mod+b exec $browser
|
||||
bindsym $mod+Shift+g exec ~/.config/sway/scripts/gif-record.sh
|
||||
|
||||
# Screenshots
|
||||
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)
|
||||
|
||||
# mouse button for dragging.
|
||||
floating_modifier $mod normal
|
||||
|
||||
|
||||
Reference in New Issue
Block a user