diff --git a/sway/.config/sway/config b/sway/.config/sway/config index 66fdcff..e0028d3 100644 --- a/sway/.config/sway/config +++ b/sway/.config/sway/config @@ -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.