Skip to content

Instantly share code, notes, and snippets.

@miguelmota
Forked from JeffPaine/i3-cheat-sheet.md
Last active June 21, 2025 17:24
Show Gist options
  • Save miguelmota/e51b9a3c3a42202f058215ebb1d0ca72 to your computer and use it in GitHub Desktop.
Save miguelmota/e51b9a3c3a42202f058215ebb1d0ca72 to your computer and use it in GitHub Desktop.
i3 Window Manager Cheat Sheet

i3 Window Manager Cheat Sheet

$mod refers to the modifier key (window/command or alt by default depending on config)

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 inplace
  • $mod+shift+c reload config file
  • $mod+shift+q kill window (does normal close if application supports it)
  • $mod+space toggle focus

Windows

  • $mod+w tabbed layout
  • $mod+e vertical and horizontal layout (switches to and between them)
  • $mod+s stacked layout
  • $mod+f fullscreen
  • $mod+v split window vertically
  • $mod+h split window horizontally

Moving Windows

  • $mod+shift+<direction key> move window in direction (depends on direction keys settings)
  • direction keys
    • j left
    • k down
    • l up
    • ; right

Floating

  • $mod+shift+space toggle floating
  • $mod+mouse drag floating

Workspaces

  • $mod+[0-9] switch to another workspace
  • $mod+shift+[0-9] move a window to another workspace

Config

  • copy /etc/i3/config to ~/.i3/config (or ~/.config/i3/config)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy