What is Sway?

Sway arranges Wayland windows in containers. The split direction determines whether the next window opens beside or below the current one.

Parts of the desktop

Windows live in containers. Their split direction and layout determine how screen space is shared. Workspaces group tasks.

Container model

Sway keeps each window in a container. splith and splitv choose the direction for the next split. Containers can also use tabbed or stacked layout. A layout command can affect the focused container and its subtree rather than every window on the screen.

Wayland and configuration

Sway manages outputs, input devices and window layouts. A bar and launcher can be started separately by the configuration. The main file is commonly ~/.config/sway/config. ZelixOS settings can live in an included zelix.conf.

Sway desktop available in ZelixOS 1.0.2
Sway brings an i3-style tiling workflow to a native Wayland session.

Further reading · Sway

What to remember

splitv and splith set the direction for the next split. A tabbed layout keeps several windows in one area. A workspace can be assigned to an output. Sway bindings are defined by bindsym entries in ~/.config/sway/config.