Desktop guides

Sway

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

Sway

Sway is an i3-style Wayland compositor. Check ~/.config/sway/config for actual shortcuts and output settings. Its example configuration commonly uses the Mod key with Enter for a terminal and Mod+Shift+C to reload, but verify the installed config first.

Useful checks: swaymsg -t get_outputs identifies displays and modes; swaymsg -t get_inputs identifies keyboards and pointing devices; swaymsg reload applies configuration changes. If a monitor stays dark, inspect its output name before adding an output rule.

swaymsg -t get_outputs
swaymsg reload

Sway documentation

ZelixOS setup

ZelixOS adds ~/.config/sway/zelix.conf for borders, gaps and wallpaper, included from the main config. Back up both files before editing. Use sway -C to check configuration syntax before reloading; inspect any reported line and keep a terminal open.

Everyday workflow

Containers and workspaces

Sway organizes windows in containers that can be split horizontally, split vertically, stacked, or tabbed. Read ~/.config/sway/config for the installed focus, move, layout, fullscreen, and workspace bindings. Learn the current layout controls before adding new bindings so the same key combination does not silently replace an existing action.

Outputs and input configuration

Use swaymsg -t get_outputs for exact display names and available modes, and swaymsg -t get_inputs for keyboard, touchpad, and pointer identifiers. Put persistent rules in the configuration only after testing the reported names. For multi-monitor setups, verify position, scale, refresh rate, and the workspace assigned to each output.

Validate before reloading

Run sway -C after editing the main configuration or an included fragment. Resolve every reported line before swaymsg reload. Keep a backup and an open terminal; if the bar or launcher disappears, check the configured command and its executable before treating the whole Sway session as broken.