Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
i3 Window Manager Cheat Sheet

i3 Window Manager Cheat Sheet

$mod refers to the modifier key (alt by default)

General

  • startx i3 start i3 from command line
  • $mod+<Enter> open a terminal
  • $mod+d open dmenu (text based program launcher)
  • $mod+r resize mode ( or to leave resize mode)
  • $mod+shift+e exit i3
  • $mod+shift+r restart i3 in place
  • $mod+shift+c reload config file
  • $mod+shift+q kill window (does normal close if application supports it)

Windows

  • $mod+w tabbed layout
  • $mod+e vertical and horizontal layout (switches to and between them)
  • $mod+s stacked layout
  • $mod+f fullscreen

Moving Windows

  • $mod+shift+<direction key> Move window in direction (depends on direction keys settings)
@tuffs

This comment has been minimized.

Copy link

@tuffs tuffs commented Sep 25, 2017

currently enter closes out the resize mode - thanks, cool and helpful gist tho =)

@ghost

This comment has been minimized.

Copy link

@ghost ghost commented Mar 20, 2018

esc also closes out resize mode.

@santosh

This comment has been minimized.

Copy link

@santosh santosh commented Jun 13, 2019

Window tiling mode is fantastic. 😃

@erincerys

This comment has been minimized.

Copy link

@erincerys erincerys commented Jul 26, 2021

how can i reset the window mode... i sometimes end up in weird layered modes such that the titlebar for a single window in a stack shows crazy shit like "V[S[V[Navigator]]]" ... there's gotta be a way to remove all those modes without closing the window right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment