Sway Cheatsheet

https://i3wm.org/docs/userguide.html
https://github.com/swaywm/sway/wiki

Throughout this guide, the Sway logo will be used to refer to the configured modifier. This is the Super/ (Mod4) by default, with key (Mod1) being a popular alternative.

Basics

+ open new terminal
+ h focus left
+ j focus down
+ k focus up
+ l focus right
+ a focus parent
+ toggle focus mode

Moving windows

+ + h move window left
+ + j move window down
+ + k move window up
+ + l move window right

Modifying windows

+ f toggle fullscreen
+ v split a window vertically
+ b split a window horizontally
+ r resize mode

Look at the “Resizing containers / windows” section of the user guide.

Changing the container layout

+ e default (toggle vertical/horizontal)
+ s stacking
+ w tabbed

Floating

+ + toggle floating
+ drag floating

Using workspaces

+ 0-9 switch to another workspace
+ + 0-9 move a window to another workspace

Opening applications / Closing windows

+ d open application launcher (dmenu)
+ + q kill a window

Restart / Exit

+ + c reload the configuration file
+ + e exit Sway

Permission is granted to copy, distribute and/or modify this document provided the copyright notice and this permission notice are preserved on all copies.