changed resize keybinds
This commit is contained in:
parent
1b94f147e5
commit
321bf2110e
1 changed files with 29 additions and 24 deletions
|
@ -10,6 +10,7 @@
|
||||||
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
|
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
|
||||||
|
|
||||||
set $mod Mod1
|
set $mod Mod1
|
||||||
|
set $mod2 Mod4
|
||||||
set $browser firefox
|
set $browser firefox
|
||||||
set $terminal alacritty
|
set $terminal alacritty
|
||||||
|
|
||||||
|
@ -181,30 +182,34 @@ bindsym $mod+Shift+c reload
|
||||||
bindsym $mod+Shift+r restart
|
bindsym $mod+Shift+r restart
|
||||||
|
|
||||||
# resize window (you can also use the mouse for that)
|
# resize window (you can also use the mouse for that)
|
||||||
mode "resize" {
|
bindsym $mod2+Shift+h resize shrink width 10 px or 10 ppt
|
||||||
# These bindings trigger as soon as you enter the resize mode
|
bindsym $mod2+Shift+j resize grow height 10 px or 10 ppt
|
||||||
|
bindsym $mod2+Shift+k resize shrink height 10 px or 10 ppt
|
||||||
# Pressing left will shrink the window’s width.
|
bindsym $mod2+Shift+l resize grow width 10 px or 10 ppt
|
||||||
# Pressing right will grow the window’s width.
|
#mode "resize" {
|
||||||
# Pressing up will shrink the window’s height.
|
# # These bindings trigger as soon as you enter the resize mode
|
||||||
# Pressing down will grow the window’s height.
|
#
|
||||||
bindsym h resize shrink width 10 px or 10 ppt
|
# # Pressing left will shrink the window’s width.
|
||||||
bindsym j resize grow height 10 px or 10 ppt
|
# # Pressing right will grow the window’s width.
|
||||||
bindsym k resize shrink height 10 px or 10 ppt
|
# # Pressing up will shrink the window’s height.
|
||||||
bindsym l resize grow width 10 px or 10 ppt
|
# # Pressing down will grow the window’s height.
|
||||||
|
# bindsym h resize shrink width 10 px or 10 ppt
|
||||||
# same bindings, but for the arrow keys
|
# bindsym j resize grow height 10 px or 10 ppt
|
||||||
bindsym Left resize shrink width 10 px or 10 ppt
|
# bindsym k resize shrink height 10 px or 10 ppt
|
||||||
bindsym Down resize grow height 10 px or 10 ppt
|
# bindsym l resize grow width 10 px or 10 ppt
|
||||||
bindsym Up resize shrink height 10 px or 10 ppt
|
#
|
||||||
bindsym Right resize grow width 10 px or 10 ppt
|
# # same bindings, but for the arrow keys
|
||||||
|
# bindsym Left resize shrink width 10 px or 10 ppt
|
||||||
# back to normal: Enter or Escape or $mod+r
|
# bindsym Down resize grow height 10 px or 10 ppt
|
||||||
bindsym Return mode "default"
|
# bindsym Up resize shrink height 10 px or 10 ppt
|
||||||
bindsym Escape mode "default"
|
# bindsym Right resize grow width 10 px or 10 ppt
|
||||||
bindsym $mod+r mode "default"
|
#
|
||||||
}
|
# # back to normal: Enter or Escape or $mod+r
|
||||||
bindsym $mod+r mode "resize"
|
# bindsym Return mode "default"
|
||||||
|
# bindsym Escape mode "default"
|
||||||
|
# bindsym $mod+r mode "default"
|
||||||
|
#}
|
||||||
|
#bindsym $mod+r mode "resize"
|
||||||
|
|
||||||
# window settings
|
# window settings
|
||||||
gaps inner 5
|
gaps inner 5
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue