Skip to content

i3

How to pick shortcuts

  • window manger shortcuts - bind them to Start icon

i3-msg

i3-msg \
        'split vertical,
        focus right,
        move left,
        layout stacking,
        focus right,
        split vertical,
        focus right,
        move left,
        layout stacking'
  • i3-msg focus right
  • i3-msg layout stacking
  • i3-msg move left
  • i3-msg 'split vertical'

Resize keybinding mode

Trick is to additional keybinds in the resize mode, so as to do faster resizing.

mode "resize" {
        bindsym Left resize shrink width 8 px or 8 ppt
        bindsym Down resize grow height 8 px or 8 ppt
        bindsym Up resize shrink height 8 px or 8 ppt
        bindsym Right resize grow width 8 px or 8 ppt

        # exit resize mode: Enter or Escape
        bindsym Return mode "default"
        bindsym Escape mode "default"
        bindsym a exec --no-startup-id i3-msg resize set 25 ppt 25 ppt
}