Clean up i3 config
This commit is contained in:
parent
ad91eb6696
commit
18f2d06b19
@ -44,33 +44,17 @@ bindsym $mod+space exec dmenu_run
|
|||||||
# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
|
# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
|
||||||
|
|
||||||
# change focus
|
# change focus
|
||||||
#bindsym $mod+j focus left
|
|
||||||
#bindsym $mod+k focus down
|
|
||||||
#bindsym $mod+l focus up
|
|
||||||
#bindsym $mod+semicolon focus right
|
|
||||||
bindsym $mod+h focus left
|
bindsym $mod+h focus left
|
||||||
bindsym $mod+j focus down
|
bindsym $mod+j focus down
|
||||||
bindsym $mod+k focus up
|
bindsym $mod+k focus up
|
||||||
bindsym $mod+l focus right
|
bindsym $mod+l focus right
|
||||||
|
|
||||||
# alternatively, you can use the cursor keys:
|
|
||||||
bindsym $mod+Left focus left
|
|
||||||
bindsym $mod+Down focus down
|
|
||||||
bindsym $mod+Up focus up
|
|
||||||
bindsym $mod+Right focus right
|
|
||||||
|
|
||||||
# move focused window
|
# move focused window
|
||||||
bindsym $mod+Shift+h move left
|
bindsym $mod+Shift+h move left
|
||||||
bindsym $mod+Shift+j move down
|
bindsym $mod+Shift+j move down
|
||||||
bindsym $mod+Shift+k move up
|
bindsym $mod+Shift+k move up
|
||||||
bindsym $mod+Shift+l 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
|
|
||||||
|
|
||||||
# split in horizontal orientation
|
# split in horizontal orientation
|
||||||
bindsym $mod+r split h
|
bindsym $mod+r split h
|
||||||
|
|
||||||
@ -142,35 +126,10 @@ bindsym $mod+Shift+r restart
|
|||||||
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'"
|
||||||
|
|
||||||
# resize window (you can also use the mouse for that)
|
# resize window (you can also use the mouse for that)
|
||||||
# mode "resize" {
|
bindsym $mod+Control+h resize shrink width 1 px or 1 ppt
|
||||||
# # These bindings trigger as soon as you enter the resize mode
|
bindsym $mod+Control+k resize grow height 1 px or 1 ppt
|
||||||
#
|
bindsym $mod+Control+j resize shrink height 1 px or 1 ppt
|
||||||
# # Pressing left will shrink the window’s width.
|
bindsym $mod+Control+l resize grow width 1 px or 1 ppt
|
||||||
# # 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 j resize shrink width 10 px or 10 ppt
|
|
||||||
# #bindsym k resize grow height 10 px or 10 ppt
|
|
||||||
# #bindsym l resize shrink height 10 px or 10 ppt
|
|
||||||
# #bindsym semicolon resize grow width 10 px or 10 ppt
|
|
||||||
# #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
|
|
||||||
#
|
|
||||||
# # same bindings, but for the arrow keys
|
|
||||||
# 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
|
|
||||||
#
|
|
||||||
# # back to normal: Enter or Escape or $mod+r
|
|
||||||
# bindsym Return mode "default"
|
|
||||||
# bindsym Escape mode "default"
|
|
||||||
# bindsym $mod+r mode "default"
|
|
||||||
# }
|
|
||||||
|
|
||||||
# bindsym $mod+r 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)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user