diff --git a/i3/config b/i3/config index 30a9b3c..2138352 100644 --- a/i3/config +++ b/i3/config @@ -10,6 +10,10 @@ # Please see https://i3wm.org/docs/userguide.html for a complete reference! set $mod Mod4 +set $left d +set $down t +set $up r +set $right n # Font for window titles. Will also be used by the bar unless a different font # is used in the bar {} block below. @@ -48,10 +52,10 @@ bindsym $mod+Shift+q kill # bindsym Mod1+space exec --no-startup-id i3-dmenu-desktop # change focus -bindsym $mod+h focus left -bindsym $mod+j focus down -bindsym $mod+k focus up -bindsym $mod+l 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 @@ -60,10 +64,10 @@ bindsym $mod+Up focus up bindsym $mod+Right focus right # move focused window -bindsym $mod+Shift+h move left -bindsym $mod+Shift+j move down -bindsym $mod+Shift+k move up -bindsym $mod+Shift+l 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 @@ -137,7 +141,7 @@ bindsym $mod+Shift+0 move container to workspace $ws10 # reload the configuration file bindsym $mod+Shift+c reload # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) -bindsym $mod+Shift+r restart +bindsym $mod+Shift+k restart # exit i3 (logs you out of your X session) bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" @@ -154,10 +158,10 @@ mode "resize" { # bindsym l resize shrink height 10 px or 10 ppt # bindsym odiaeresis resize grow width 10 px or 10 ppt - 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 + 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 # same bindings, but for the arrow keys @@ -172,7 +176,7 @@ mode "resize" { bindsym $mod+r mode "default" } -bindsym $mod+r mode "resize" +bindsym $mod+k mode "resize" # Start i3bar to display a workspace bar (plus the system information i3status # finds out, if available) @@ -183,7 +187,7 @@ bar { } # MY OWN CONFIGS -# +# # Set root window color # exec --no-startup-id xsetroot -solid "#333333"