Skip to content

Instantly share code, notes, and snippets.

@rjdp
Last active January 12, 2023 19:36
Show Gist options
  • Save rjdp/d235cd58ee4a2d5c1f3d4f5268f68840 to your computer and use it in GitHub Desktop.
Save rjdp/d235cd58ee4a2d5c1f3d4f5268f68840 to your computer and use it in GitHub Desktop.
list of useful i3 commands
reload i3 config - $mod + Shift + r
switch to vertical tiling - $mod + v
switch to horizontal tiling - $mod + h
switch to stack mode - $mod + s
switch to tiling mode - $mode + e
open dmenu(like ubuntu dash) - $mod + d
maximaize window - $mod + w
switch window in current workspace - $mod + <j|k|l|;> or <arrow key>
resize windows - $mod + r then press right/left arrow keys ; Esc to escape resize mode
switch window positon - $mod + shift + <left/right/up/down arrow>
change/create workspace - $mode + <workspace-num>
move active window to another workspace - $mode + shift + <workspace-num>
create i3 config - i3-config-wizard
bind a key for screen lock via i3 config , add following - bindsym $mod+Shift+x exec i3lock
enable media keys - https://faq.i3wm.org/question/3747/enabling-multimedia-keys.1.html(add first snippet to i3 config) requires to install playerctl(download .db and install from https://github.com/acrisci/playerctl/releases)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment