Changed resize mode amount.

This commit is contained in:
Sheldon Lee 2022-03-24 22:28:53 +08:00
parent e8a229630a
commit 2ebd6e68f7
2 changed files with 22 additions and 22 deletions

View File

@ -72,6 +72,7 @@ set $mon2 HDMI-A-0
# Lock i3 # Lock i3
bindsym $mod+Escape exec i3lock -f -c 000000 bindsym $mod+Escape exec i3lock -f -c 000000
bindsym $mod+Shift+Escape exec i3lock -f -c 000000 & sleep 2 ; exec systemctl suspend
# #
# Moving around: # Moving around:
# #
@ -186,22 +187,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,19 +246,18 @@ 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
default_border pixel 3 default_border pixel 3
### Startup Applications: ### Startup Applications:
exec alacritty exec alacritty
exec firefox exec firefox
exec discord exec flatpak run com.discordapp.Discord
assign [class="firefox"] 2:r assign [class="Firefox"] 2:r
assign [class="discord"] 3:s assign [class="discord"] 3:s
assign [class="Steam"] 4:t assign [class="Steam"] 4:t
assign [class="zoom"] 8:v assign [class="zoom"] 8:v

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"