diff --git a/i3_config b/i3_config index c7a56db..51c20a1 100644 --- a/i3_config +++ b/i3_config @@ -14,6 +14,11 @@ set $ws8 "8" set $ws9 "9" set $ws10 "10" +set $left "h" +set $right "l" +set $up "k" +set $down "j" + # Autostart applications exec --no-startup-id nitrogen --restore exec_always --no-startup-id $HOME/.config/polybar/launch.sh @@ -70,10 +75,10 @@ bindsym $mod+Shift+q kill bindsym $mod+d exec --no-startup-id rofi -show run # change focus -bindsym $mod+j focus left -bindsym $mod+k focus down -bindsym $mod+l focus up -bindsym $mod+semicolon focus right +bindsym $mod+$left focus left +bindsym $mod+$down focus down +bindsym $mod+$up focus up +bindsym $mod+$right focus right # alternatively, you can use the cursor keys: bindsym $mod+Left focus left @@ -82,10 +87,10 @@ bindsym $mod+Up focus up bindsym $mod+Right focus right # move focused window -bindsym $mod+Shift+j move left -bindsym $mod+Shift+k move down -bindsym $mod+Shift+l move up -bindsym $mod+Shift+semicolon move right +bindsym $mod+Shift+$left move left +bindsym $mod+Shift+$down move down +bindsym $mod+Shift+$up move up +bindsym $mod+Shift+$right move right # alternatively, you can use the cursor keys: bindsym $mod+Shift+Left move left @@ -94,7 +99,7 @@ bindsym $mod+Shift+Up move up bindsym $mod+Shift+Right move right # split in horizontal orientation -bindsym $mod+h split h +bindsym $mod+g split h # split in vertical orientation bindsym $mod+v split v @@ -159,10 +164,10 @@ mode "resize" { # 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 j resize shrink width 10 px or 10 ppt - bindsym k resize grow height 10 px or 10 ppt - bindsym l resize shrink height 10 px or 10 ppt - bindsym semicolon resize grow width 10 px or 10 ppt + bindsym $left resize shrink width 10 px or 10 ppt + bindsym $up resize grow height 10 px or 10 ppt + bindsym $down 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