i3: Update i3 bindings to not rely on arrow keys
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
parent
2368683a64
commit
f4ced7432d
1 changed files with 11 additions and 23 deletions
|
@ -67,34 +67,22 @@ bindsym $mod+Shift+d --release exec "killall dunst; exec notify-send 'restart du
|
||||||
bindsym Print exec --no-startup-id i3-scrot
|
bindsym Print exec --no-startup-id i3-scrot
|
||||||
bindsym $mod+Print --release exec --no-startup-id i3-scrot -w
|
bindsym $mod+Print --release exec --no-startup-id i3-scrot -w
|
||||||
bindsym $mod+Shift+Print --release exec --no-startup-id i3-scrot -s
|
bindsym $mod+Shift+Print --release exec --no-startup-id i3-scrot -s
|
||||||
bindsym $mod+Shift+h exec xdg-open /usr/share/doc/manjaro/i3_help.pdf
|
# bindsym $mod+Shift+h exec xdg-open /usr/share/doc/manjaro/i3_help.pdf
|
||||||
bindsym $mod+Ctrl+x --release exec --no-startup-id xkill
|
bindsym $mod+Ctrl+x --release exec --no-startup-id xkill
|
||||||
|
|
||||||
# focus_follows_mouse no
|
# focus_follows_mouse no
|
||||||
|
|
||||||
# change focus
|
|
||||||
bindsym $mod+j focus left
|
|
||||||
bindsym $mod+k focus down
|
|
||||||
bindsym $mod+l focus up
|
|
||||||
bindsym $mod+semicolon focus right
|
|
||||||
|
|
||||||
# alternatively, you can use the cursor keys:
|
# alternatively, you can use the cursor keys:
|
||||||
bindsym $mod+Left focus left
|
bindsym $mod+h focus left
|
||||||
bindsym $mod+Down focus down
|
bindsym $mod+j focus down
|
||||||
bindsym $mod+Up focus up
|
bindsym $mod+k focus up
|
||||||
bindsym $mod+Right focus right
|
bindsym $mod+l focus right
|
||||||
|
|
||||||
# move focused window
|
# move focused window
|
||||||
bindsym $mod+Shift+j move left
|
bindsym $mod+Shift+h move left
|
||||||
bindsym $mod+Shift+k move down
|
bindsym $mod+Shift+j move down
|
||||||
bindsym $mod+Shift+l move up
|
bindsym $mod+Shift+k move up
|
||||||
bindsym $mod+Shift+semicolon move right
|
bindsym $mod+Shift+l move right
|
||||||
|
|
||||||
# alternatively, you can use the cursor keys:
|
|
||||||
bindsym $mod+Shift+Left move left
|
|
||||||
bindsym $mod+Shift+Down move down
|
|
||||||
bindsym $mod+Shift+Up move up
|
|
||||||
bindsym $mod+Shift+Right move right
|
|
||||||
|
|
||||||
# workspace back and forth (with/without active container)
|
# workspace back and forth (with/without active container)
|
||||||
workspace_auto_back_and_forth yes
|
workspace_auto_back_and_forth yes
|
||||||
|
@ -102,8 +90,8 @@ bindsym $mod+b workspace back_and_forth
|
||||||
bindsym $mod+Shift+b move container to workspace back_and_forth; workspace back_and_forth
|
bindsym $mod+Shift+b move container to workspace back_and_forth; workspace back_and_forth
|
||||||
|
|
||||||
# split orientation
|
# split orientation
|
||||||
bindsym $mod+h split h;exec notify-send 'tile horizontally'
|
# bindsym $mod+h split h;exec notify-send 'tile horizontally'
|
||||||
bindsym $mod+v split v;exec notify-send 'tile vertically'
|
# bindsym $mod+v split v;exec notify-send 'tile vertically'
|
||||||
bindsym $mod+q split toggle
|
bindsym $mod+q split toggle
|
||||||
|
|
||||||
# toggle fullscreen mode for the focused container
|
# toggle fullscreen mode for the focused container
|
Loading…
Reference in a new issue