Cleanup config

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2022-08-23 12:12:25 +02:00
parent 0ce6fdf969
commit 9e7d1df9bd
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -39,18 +39,8 @@ bindsym $mod+Shift+q kill
# start dmenu (a program launcher) # start dmenu (a program launcher)
bindsym $mod+d exec dmenu_run bindsym $mod+d exec dmenu_run
bindsym $mod+i exec i3-input -P 'i3 command: ' bindsym $mod+i exec i3-input -P 'i3 command: '
# There also is the (new) i3-dmenu-desktop which only displays applications
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
# installed.
# 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
# alternatively, you can use the cursor keys:
bindsym $mod+Left focus left bindsym $mod+Left focus left
bindsym $mod+Down focus down bindsym $mod+Down focus down
bindsym $mod+Up focus up bindsym $mod+Up focus up
@ -150,27 +140,21 @@ 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 # These bindings trigger as soon as you enter the resize mode
# Pressing left will shrink the windows width. # Pressing left will shrink the windows width.
# Pressing right will grow the windows width. # Pressing right will grow the windows width.
# Pressing up will shrink the windows height. # Pressing up will shrink the windows height.
# Pressing down will grow the windows height. # Pressing down will grow the windows height.
bindsym j resize shrink width 10 px or 10 ppt bindsym Left resize shrink width 10 px or 10 ppt
bindsym k resize grow height 10 px or 10 ppt bindsym Down resize grow height 10 px or 10 ppt
bindsym l resize shrink height 10 px or 10 ppt bindsym Up resize shrink height 10 px or 10 ppt
bindsym semicolon 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 # back to normal: Enter or Escape or $mod+r
bindsym Left resize shrink width 10 px or 10 ppt bindsym Return mode "default"
bindsym Down resize grow height 10 px or 10 ppt bindsym Escape mode "default"
bindsym Up resize shrink height 10 px or 10 ppt bindsym $mod+r mode "default"
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" bindsym $mod+r mode "resize"