add sway screenshot shortcuts (with grim and swappy)
This commit is contained in:
parent
54afbe1472
commit
c0c91062e3
@ -85,6 +85,12 @@ bindsym $mod+d exec $menu
|
||||
# Lock the screen
|
||||
bindsym $mod+Shift+s exec $lock
|
||||
|
||||
# Screenshot (whole screen)
|
||||
bindsym $mod+p exec grim - | swappy -f -
|
||||
|
||||
# Screenshot (screen region)
|
||||
bindsym $mod+Shift+p exec grim -g "$(slurp)" - | swappy -f -
|
||||
|
||||
# Drag floating windows by holding down $mod and left mouse button.
|
||||
# Resize them with right mouse button + $mod.
|
||||
# Despite the name, also works for non-floating windows.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user