i3wm
Created time: January 14, 2023 11:14 PM Last edited time: January 21, 2024 1:09 PM
vim ~/.config/i3/config
$mod refers to the modifier key (alt by default)
General
startx i3start i3 from command line$mod+<Enter>open a terminal$mod+dopen dmenu (text based program launcher)$mod+rresize mode ( or to leave resize mode)$mod+shift+eexit i3$mod+shift+rrestart i3 in place$mod+shift+creload config file$mod+shift+qkill window (does normal close if application supports it)
Windows
$mod+wtabbed layout$mod+evertical and horizontal layout (switches to and between them)$mod+sstacked layout$mod+ffullscreen
Moving Windows
$mod+shift+<direction key>Move window in direction (depends on direction keys settings)
How to add screen brightness keys:
-
sudo apt install light -
sudo chmod +s /usr/bin/light -
Add to i3 config:
bindsym XF86MonBrightnessUp exec --no-startup-id light -A 1 # increase screen brightnessbindsym XF86MonBrightnessDown exec --no-startup-id light -U 1 # decrease screen brightness