Skip to content

Instantly share code, notes, and snippets.

@curtisault
Created May 2, 2018 14:09
Show Gist options
  • Save curtisault/8e901162a0632b04be86fd254a80437e to your computer and use it in GitHub Desktop.
Save curtisault/8e901162a0632b04be86fd254a80437e to your computer and use it in GitHub Desktop.
i3wm

i3 Window Manager Cheat Sheet

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

Basic

  • startx i3 start i3 from command line
  • $mod + <Enter> open a terminal
  • $mod + d open dmenu (text based program launcher)

Restart/Exit

  • $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)

Moving Windows

  • $mod + j focus left
  • $mod + k focus down
  • $mod + l focus up
  • $mod + ; focus right
  • $mod + a focus parent
  • $mod + space toggle focus mode

Modifying Windows

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

Modifying Container Layout

  • $mod + e default
  • $mod + s stacking
  • $mod + w tabbed

Modifying Container Layout

  • $mod + <shift> + <space> toggle floating
  • $mod + <left-mouse-click> drag floating
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment