i3: Use hjkl instead of arrow keys
This commit is contained in:
@@ -51,22 +51,20 @@ bindsym $mod+d exec rofi -show drun
|
|||||||
|
|
||||||
# change focus
|
# change focus
|
||||||
focus_wrapping no
|
focus_wrapping no
|
||||||
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+Left move left
|
bindsym $mod+Shift+h move left
|
||||||
bindsym $mod+Shift+Down move down
|
bindsym $mod+Shift+j move down
|
||||||
bindsym $mod+Shift+Up move up
|
bindsym $mod+Shift+k move up
|
||||||
bindsym $mod+Shift+Right move right
|
bindsym $mod+Shift+l move right
|
||||||
|
|
||||||
# split in horizontal orientation
|
# set split orientation
|
||||||
bindsym $mod+h split h
|
bindsym $mod+v split vertical
|
||||||
|
bindsym $mod+Shift+v split horizontal
|
||||||
# split in vertical orientation
|
|
||||||
bindsym $mod+v split v
|
|
||||||
|
|
||||||
# enter fullscreen mode for the focused container
|
# enter fullscreen mode for the focused container
|
||||||
bindsym $mod+f fullscreen toggle
|
bindsym $mod+f fullscreen toggle
|
||||||
@@ -133,16 +131,15 @@ bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcu
|
|||||||
|
|
||||||
# resize window (you can also use the mouse for that)
|
# resize window (you can also use the mouse for that)
|
||||||
mode "resize" {
|
mode "resize" {
|
||||||
# These bindings trigger as soon as you enter the resize mode
|
bindsym h resize grow left
|
||||||
|
bindsym j resize grow down
|
||||||
|
bindsym k resize grow up
|
||||||
|
bindsym l resize grow right
|
||||||
|
|
||||||
# Pressing left will shrink the window’s width.
|
bindsym Shift+h resize shrink right
|
||||||
# Pressing right will grow the window’s width.
|
bindsym Shift+j resize shrink up
|
||||||
# Pressing up will shrink the window’s height.
|
bindsym Shift+k resize shrink down
|
||||||
# Pressing down will grow the window’s height.
|
bindsym Shift+l resize shrink left
|
||||||
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
|
|
||||||
|
|
||||||
# Set window size to predefined values
|
# Set window size to predefined values
|
||||||
# firefox anti fingerprinting
|
# firefox anti fingerprinting
|
||||||
@@ -196,7 +193,7 @@ default_border pixel 1
|
|||||||
hide_edge_borders smart
|
hide_edge_borders smart
|
||||||
|
|
||||||
# Power
|
# Power
|
||||||
bindsym $mod+l exec xset s activate
|
bindsym $mod+mod1+l exec xset s activate
|
||||||
bindsym $mod+p exec ~/.config/rofi/powermenu.sh &
|
bindsym $mod+p exec ~/.config/rofi/powermenu.sh &
|
||||||
exec --no-startup-id xss-lock -l ~/.config/xsecurelock/transfer-sleep-lock.sh &
|
exec --no-startup-id xss-lock -l ~/.config/xsecurelock/transfer-sleep-lock.sh &
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user