I3wm

From Han Wiki
Jump to navigation Jump to search

i3 shortcut keys

from i3 Reference Card

Basics

Logo + Enter Open new terminal

Logo + j / Left Arrow Focus left

Logo + k / Down Arrow Focus down

Logo + l / Up Arrow Focus up

Logo + ; / Right Arrow Focus right

Logo + a Focus parent

Logo + Space Toggle focus mode


Moving windows

Logo + Shift + j, k, l, or ; (or arrow keys) Move window


Modifying windows

Logo + f Toggle fullscreen

Logo + v Split a window vertically

Logo + h Split a window horizontally

Logo + r Resize mode


Changing the container layout

Logo + e Default

Logo + s Stacking

Logo + w Tabbed


Floating

Logo + Shift + Space Toggle floating Logo + Mouse left button : Drag floating


Using workspaces

Logo + 0 ... 9 Switch to another workspace

Logo + Shift + 0 ... 9 Move a window to another workspace


Opening applications / closing windows

Logo + d Open application launcher (dmenu)

Logo + Shift + q Kill a window


Restart / exit

Logo + Shift + c Reload the configuration file

Logo + Shift + r Restart i3 in place

Logo + Shift + e Exit i3

Cookbook

Running startup scripts on login

Add a line like this in ~/.config/i3/config file

exec_always --no-startup-id $HOME/.config/i3/scripts/YOUR_SCRIPT.sh

References