sway: add whole screen screenshot keybinding

This commit is contained in:
joachimschmidt557 2023-06-08 20:12:33 +02:00
parent 44ee4e7394
commit a83c21ca6e
No known key found for this signature in database
GPG key ID: E0B575BE2884ACC5

View file

@ -49,10 +49,13 @@ hide_edge_borders smart
# emacs # emacs
bindsym $mod+Ctrl+Return exec emacs bindsym $mod+Ctrl+Return exec emacs
# Screenshot # Selection screenshot to clipboard
bindsym $mod+y exec slurp | grim -g- - | wl-copy bindsym $mod+y exec slurp | grim -g- - | wl-copy
# Screenshot # Whole screen screenshot to clipboard
bindsym $mod+Ctrl+y exec grim - | wl-copy
# Selection screenshot to imv
bindsym $mod+Shift+y exec slurp | grim -g- - | imv - bindsym $mod+Shift+y exec slurp | grim -g- - | imv -
# Lock # Lock