Skip to content

sway

Version 2026.144.1443
Repo superproject

A headless Sway Wayland compositor, staged with a launcher wrapper and config and run as a supervised service. The sway candy installs the Sway compositor (plus Xwayland, fuzzel, and Mesa GL/Vulkan drivers) on Fedora, strips the cap_sys_nice file capability so the binary can exec inside a rootless user namespace, and stages a sway-wrapper launcher plus a config file under the user’s home. A supervisord service runs the wrapper headless (WLR_BACKENDS=headless). Every claim below is observable: the binary, the package, the staged files, and the live service.

  • sway

This candy’s plan: — the runnable spec charly check executes against a live deployment. check: steps are idempotent probes; run: steps change state.

Intent Step
run setcap=/usr/bin/sway
run mkdir=${HOME}/.local/bin
run mkdir=${HOME}/.config/sway
run mkdir=${HOME}/.config/sway/config.d
run copy=sway-wrapper
run copy=config
check the Sway compositor binary is installed at /usr/bin/sway
check the sway package is registered in the package database
check the sway-wrapper launcher is installed and executable
check the Sway config file is staged in the user’s home
check the sway compositor service is running under supervisord