add keyboard shortcut for screenshots and gaps

This commit is contained in:
stev 2023-04-21 21:57:58 +02:00
parent ac71d15cf8
commit 2c894e643c

View file

@ -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'