I3 configuration

From wikinotes

Documentation

official docs https://i3wm.org/docs/userguide.html

Startup

sudo xinit /usr/bin/i3                   # manually start i3

i3-msg 'debuglog on; shmlog on; reload'  # reload with debug enabled
DISPLAY=:0 i3-dump-log | less -Ri        # show log

Syntax

for_window

# for_window [attributes..] [command...]
for_window [class="gitk"] floating enable

See the docs for command_criteria for window-matching options.

wmctrl -l                        # list all window-titles, ids
xdotool get${attr} ${window-id}  # get attribute of window (see `xdotool` with no args)