From de12a8a05cf89d641594b3892fe8402fcbf13a3b Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Fri, 28 Sep 2018 13:19:47 +0100 Subject: Fix keybindings for colemak --- i3/config | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) (limited to 'i3') diff --git a/i3/config b/i3/config index 322f9f7..a2d1e77 100644 --- a/i3/config +++ b/i3/config @@ -43,10 +43,10 @@ bindsym $mod+d exec i3-dmenu-desktop # bindsym $mod+d 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+n focus left +bindsym $mod+e focus down +bindsym $mod+u focus up +bindsym $mod+i focus right # alternatively, you can use the cursor keys: bindsym $mod+Left focus left @@ -55,10 +55,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+n move left +bindsym $mod+Shift+e move down +bindsym $mod+Shift+u move up +bindsym $mod+Shift+i move right # alternatively, you can use the cursor keys: bindsym $mod+Shift+Left move left @@ -67,7 +67,7 @@ bindsym $mod+Shift+Up move up bindsym $mod+Shift+Right move right # split in horizontal orientation -bindsym $mod+b split h +bindsym $mod+h split h # split in vertical orientation bindsym $mod+v split v @@ -78,7 +78,7 @@ bindsym $mod+f fullscreen toggle # change container layout (stacked, tabbed, toggle split) bindsym $mod+s layout stacking bindsym $mod+w layout tabbed -bindsym $mod+e layout toggle split +bindsym $mod+g layout toggle split # toggle tiling / floating bindsym $mod+Shift+space floating toggle @@ -120,8 +120,6 @@ bindsym $mod+Shift+0 move container to workspace 10 bindsym $mod+Shift+c reload # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) bindsym $mod+Shift+r 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'" # resize window (you can also use the mouse for that) mode "resize" { @@ -131,10 +129,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 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 n resize shrink width 10 px or 10 ppt + bindsym e resize grow height 10 px or 10 ppt + bindsym u resize shrink height 10 px or 10 ppt + bindsym i 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 -- cgit