IT lexicon › Infra & Ops › Sway

Sway

Infra & Ops På svenska → Updated: 2026-10-10
More info
Creator
Drew DeVault
Released
Type
Wayland compositor
License
MIT
Website
Source
github.com/swaywm/sway

i3 for Wayland: a tiling compositor that reads i3's configuration file almost line for line, and the project wlroots was created for.

Drew DeVault started Sway, short for SirCmpwn's Wayland compositor, in 2015 with a single promise: an i3 user should be able to copy their config file across and carry on as before. The tree of containers, the tabs, the workspaces and swaymsg as the counterpart of i3-msg all came along. What was added were output and input blocks, because a Wayland compositor owns the screens and keyboards itself instead of leaving that to an X server.

The first version stood on the wlc library, which turned out to be too limited. DeVault and others therefore wrote wlroots in 2017, a modular library for building compositors, and Sway 1.0 in March 2019 was the first major program on top of it. wlroots has since acquired more offspring, Hyprland, river and labwc among them, while Sway has stuck to being i3. Around it sit swaybar, swaylock, swayidle and swaybg as separate programs, and X applications run through Xwayland. Nvidia's proprietary driver long lacked the kernel interfaces wlroots requires, and the --unsupported-gpu flag is the only concession the project has made.

← Back to the lexicon