diff --git a/.config/i3/config b/.config/i3/config index eeff8a8..267e76a 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -10,6 +10,7 @@ # Please see https://i3wm.org/docs/userguide.html for a complete reference! set $mod Mod1 +set $mod2 Mod4 set $browser firefox set $terminal alacritty @@ -181,30 +182,34 @@ bindsym $mod+Shift+c reload bindsym $mod+Shift+r restart # resize window (you can also use the mouse for that) -mode "resize" { - # These bindings trigger as soon as you enter the resize mode - - # Pressing left will shrink the window’s width. - # Pressing right will grow the window’s width. - # Pressing up will shrink the window’s height. - # Pressing down will grow the window’s height. - bindsym h resize shrink width 10 px or 10 ppt - bindsym j resize grow height 10 px or 10 ppt - bindsym k resize shrink height 10 px or 10 ppt - bindsym l 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 - bindsym Down resize grow height 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 - - # back to normal: Enter or Escape or $mod+r - bindsym Return mode "default" - bindsym Escape mode "default" - bindsym $mod+r mode "default" -} -bindsym $mod+r mode "resize" +bindsym $mod2+Shift+h resize shrink width 10 px or 10 ppt +bindsym $mod2+Shift+j resize grow height 10 px or 10 ppt +bindsym $mod2+Shift+k resize shrink height 10 px or 10 ppt +bindsym $mod2+Shift+l resize grow width 10 px or 10 ppt +#mode "resize" { +# # These bindings trigger as soon as you enter the resize mode +# +# # Pressing left will shrink the window’s width. +# # Pressing right will grow the window’s width. +# # Pressing up will shrink the window’s height. +# # Pressing down will grow the window’s height. +# bindsym h resize shrink width 10 px or 10 ppt +# bindsym j resize grow height 10 px or 10 ppt +# bindsym k resize shrink height 10 px or 10 ppt +# bindsym l 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 +# bindsym Down resize grow height 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 +# +# # back to normal: Enter or Escape or $mod+r +# bindsym Return mode "default" +# bindsym Escape mode "default" +# bindsym $mod+r mode "default" +#} +#bindsym $mod+r mode "resize" # window settings gaps inner 5