aboutsummaryrefslogtreecommitdiff
path: root/.config/i3/config
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-12-10 18:32:12 +0300
committereug-vs <eug-vs@keemail.me>2021-01-06 21:28:40 +0300
commitc4ae2519dc8238390624af05602c364b39b5b77d (patch)
tree9fccc440474b5ad3b2c099c4ab8d3d95607b0874 /.config/i3/config
parentc3b78d929f3c0bf58890904ea3c07b470057b35f (diff)
downloaddotfiles-c4ae2519dc8238390624af05602c364b39b5b77d.tar.gz
feat: bind all movements to Super+hjkl
Diffstat (limited to '.config/i3/config')
-rw-r--r--.config/i3/config8
1 files changed, 4 insertions, 4 deletions
diff --git a/.config/i3/config b/.config/i3/config
index 66604ff..861f27b 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -43,10 +43,10 @@ bindsym $mod+Shift+q kill
bindsym $mod+d exec rofi -show combi -theme gruvbox-dark-soft
# change focus
-bindsym $mod+h focus left
-bindsym $mod+j focus down
-bindsym $mod+k focus up
-bindsym $mod+l focus right
+bindsym $mod+h exec "xdotool keyup Super h && i3_tmux_vim_focus left && xdotool keydown Super"
+bindsym $mod+j exec "xdotool keyup Super j && i3_tmux_vim_focus down && xdotool keydown Super"
+bindsym $mod+k exec "xdotool keyup Super k && i3_tmux_vim_focus up && xdotool keydown Super"
+bindsym $mod+l exec "xdotool keyup Super l && i3_tmux_vim_focus right && xdotool keydown Super"
# alternatively, you can use the cursor keys:
bindsym $mod+Left focus left