Skip to content

Instantly share code, notes, and snippets.

@JeffPaine
Last active October 13, 2024 03:58
Show Gist options
  • Save JeffPaine/cbdf57c3721546b14113 to your computer and use it in GitHub Desktop.
Save JeffPaine/cbdf57c3721546b14113 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 (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
Copy link

tuffs commented Sep 25, 2017

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

Copy link

ghost commented Mar 20, 2018

esc also closes out resize mode.

@santosh
Copy link

santosh commented Jun 13, 2019

Window tiling mode is fantastic. 😃

@erincerys
Copy link

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?

@ninjarogue
Copy link

i edited the config file and added two lines like this:

bar {
    position top
    status_command  i3blocks
}

And after restarting i3, nothing has happened. The status line remains the same (i3status). Has anyone here ever encountered the same issue?

@N3RDIUM
Copy link

N3RDIUM commented Jul 16, 2023

i edited the config file and added two lines like this:

bar {
    position top
    status_command  i3blocks
}

And after restarting i3, nothing has happened. The status line remains the same (i3status). Has anyone here ever encountered the same issue?

@ninjarogue Did you remove the default bar config which was already there in the file?

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