Changed resize mode bind and resize increment.

This commit is contained in:
Sheldon Lee 2022-03-02 16:37:24 +08:00
parent e8a229630a
commit 1704a66812
2 changed files with 20 additions and 20 deletions

View File

@ -186,22 +186,22 @@ mode "resize" {
# right will grow the containers width # right will grow the containers width
# up will shrink the containers height # up will shrink the containers height
# down will grow the containers height # down will grow the containers height
bindsym $left resize shrink width 10px bindsym $left resize shrink width 20px
bindsym $down resize grow height 10px bindsym $down resize grow height 20px
bindsym $up resize shrink height 10px bindsym $up resize shrink height 20px
bindsym $right resize grow width 10px bindsym $right resize grow width 20px
# Ditto, with arrow keys # Ditto, with arrow keys
bindsym Left resize shrink width 10px bindsym Left resize shrink width 20px
bindsym Down resize grow height 10px bindsym Down resize grow height 20px
bindsym Up resize shrink height 10px bindsym Up resize shrink height 20px
bindsym Right resize grow width 10px bindsym Right resize grow width 20px
# Return to default mode # Return to default mode
bindsym Return mode "default" bindsym Return mode "default"
bindsym Escape mode "default" bindsym Escape mode "default"
} }
bindsym $mod+Control+Return mode "resize" bindsym $mod+Shift+Return mode "resize"
mode "gaming" { mode "gaming" {
bindsym $mod+g mode "default" bindsym $mod+g mode "default"
@ -245,7 +245,7 @@ client.background $base03
bindsym $mod+Control+h gaps horizontal current plus 100 bindsym $mod+Control+h gaps horizontal current plus 100
bindsym $mod+Control+l gaps horizontal current minus 100 bindsym $mod+Control+l gaps horizontal current minus 100
bindsym $mod+shift+f gaps horizontal current toggle 400 bindsym $mod+Shift+f gaps horizontal current toggle 400
smart_gaps inverse_outer smart_gaps inverse_outer
@ -255,7 +255,7 @@ default_border pixel 3
exec alacritty exec alacritty
exec firefox exec firefox
exec discord exec com.discordapp.Discord
assign [class="firefox"] 2:r assign [class="firefox"] 2:r
assign [class="discord"] 3:s assign [class="discord"] 3:s

View File

@ -237,22 +237,22 @@ mode "resize" {
# right will grow the containers width # right will grow the containers width
# up will shrink the containers height # up will shrink the containers height
# down will grow the containers height # down will grow the containers height
bindsym $left resize shrink width 10px bindsym $left resize shrink width 10ppt
bindsym $down resize grow height 10px bindsym $down resize grow height 10ppt
bindsym $up resize shrink height 10px bindsym $up resize shrink height 10ppt
bindsym $right resize grow width 10px bindsym $right resize grow width 10ppt
# Ditto, with arrow keys # Ditto, with arrow keys
bindsym Left resize shrink width 10px bindsym Left resize shrink width 10ppt
bindsym Down resize grow height 10px bindsym Down resize grow height 10ppt
bindsym Up resize shrink height 10px bindsym Up resize shrink height 10ppt
bindsym Right resize grow width 10px bindsym Right resize grow width 10ppt
# Return to default mode # Return to default mode
bindsym Return mode "default" bindsym Return mode "default"
bindsym Escape mode "default" bindsym Escape mode "default"
} }
bindsym $mod+Control+Return mode "resize" bindsym $mod+Shift+Return mode "resize"
mode "gaming" { mode "gaming" {
bindsym $mod+g mode "default" bindsym $mod+g mode "default"