From 2c894e643cb0cb6d8f4dbdba112dc11448b5c8ce Mon Sep 17 00:00:00 2001 From: stev Date: Fri, 21 Apr 2023 21:57:58 +0200 Subject: [PATCH] add keyboard shortcut for screenshots and gaps --- .config/sway/config | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.config/sway/config b/.config/sway/config index f3a65f9..74e901f 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -74,7 +74,7 @@ input "type:keyboard" { # Take a screenshot bindsym $mod+p exec grim -g "$(slurp)" - | swappy -f - - bindsym Print exec grim -g "$(slurp)" + bindsym Print exec ~/.local/bin/screenshot.sh # # Moving around: # @@ -122,6 +122,7 @@ input "type:keyboard" { # for_window [class="PacketTracer"] floating enable for_window [class="VirtualBox"] floating enable + for_window [class="^Minecraft*"] floating enable bindsym $mod+b splith bindsym $mod+v splitv @@ -169,3 +170,5 @@ bar swaybar_command waybar default_border pixel gaps inner 20 +bindsym $mod+Shift+u exec 'swaymsg gaps inner all minus 5' +bindsym $mod+Shift+i exec 'swaymsg gaps inner all plus 5'