Adjust i3 keybindings to adnw
This commit is contained in:
parent
695d7b1cb7
commit
d78f856b07
1 changed files with 19 additions and 15 deletions
34
i3/config
34
i3/config
|
|
@ -10,6 +10,10 @@
|
||||||
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
|
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
|
||||||
|
|
||||||
set $mod Mod4
|
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
|
# Font for window titles. Will also be used by the bar unless a different font
|
||||||
# is used in the bar {} block below.
|
# 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
|
# bindsym Mod1+space exec --no-startup-id i3-dmenu-desktop
|
||||||
|
|
||||||
# change focus
|
# change focus
|
||||||
bindsym $mod+h focus left
|
bindsym $mod+$left focus left
|
||||||
bindsym $mod+j focus down
|
bindsym $mod+$down focus down
|
||||||
bindsym $mod+k focus up
|
bindsym $mod+$up focus up
|
||||||
bindsym $mod+l focus right
|
bindsym $mod+$right focus right
|
||||||
|
|
||||||
# alternatively, you can use the cursor keys:
|
# alternatively, you can use the cursor keys:
|
||||||
bindsym $mod+Left focus left
|
bindsym $mod+Left focus left
|
||||||
|
|
@ -60,10 +64,10 @@ bindsym $mod+Up focus up
|
||||||
bindsym $mod+Right focus right
|
bindsym $mod+Right focus right
|
||||||
|
|
||||||
# move focused window
|
# move focused window
|
||||||
bindsym $mod+Shift+h move left
|
bindsym $mod+Shift+$left move left
|
||||||
bindsym $mod+Shift+j move down
|
bindsym $mod+Shift+$down move down
|
||||||
bindsym $mod+Shift+k move up
|
bindsym $mod+Shift+$up move up
|
||||||
bindsym $mod+Shift+l move right
|
bindsym $mod+Shift+$right move right
|
||||||
|
|
||||||
# alternatively, you can use the cursor keys:
|
# alternatively, you can use the cursor keys:
|
||||||
bindsym $mod+Shift+Left move left
|
bindsym $mod+Shift+Left move left
|
||||||
|
|
@ -137,7 +141,7 @@ bindsym $mod+Shift+0 move container to workspace $ws10
|
||||||
# reload the configuration file
|
# reload the configuration file
|
||||||
bindsym $mod+Shift+c reload
|
bindsym $mod+Shift+c reload
|
||||||
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
# 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)
|
# 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'"
|
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 l resize shrink height 10 px or 10 ppt
|
||||||
# bindsym odiaeresis resize grow width 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 $left resize shrink width 10 px or 10 ppt
|
||||||
bindsym j resize grow height 10 px or 10 ppt
|
bindsym $down resize grow height 10 px or 10 ppt
|
||||||
bindsym k resize shrink height 10 px or 10 ppt
|
bindsym $up resize shrink height 10 px or 10 ppt
|
||||||
bindsym l resize grow width 10 px or 10 ppt
|
bindsym $right resize grow width 10 px or 10 ppt
|
||||||
|
|
||||||
|
|
||||||
# same bindings, but for the arrow keys
|
# same bindings, but for the arrow keys
|
||||||
|
|
@ -172,7 +176,7 @@ mode "resize" {
|
||||||
bindsym $mod+r mode "default"
|
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
|
# Start i3bar to display a workspace bar (plus the system information i3status
|
||||||
# finds out, if available)
|
# finds out, if available)
|
||||||
|
|
@ -183,7 +187,7 @@ bar {
|
||||||
}
|
}
|
||||||
|
|
||||||
# MY OWN CONFIGS
|
# MY OWN CONFIGS
|
||||||
#
|
#
|
||||||
# Set root window color
|
# Set root window color
|
||||||
# exec --no-startup-id xsetroot -solid "#333333"
|
# exec --no-startup-id xsetroot -solid "#333333"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue