Sway (window manager)

Last updated
Sway
Original author(s) Drew DeVault (SirCmpwn)
Initial releaseMarch 24, 2016;9 years ago (2016-03-24) [1]
Stable release
1.11 / June 8, 2025;19 days ago (2025-06-08) [2]
Repository
Written in C
Operating system Unix-like
Size 5.33 MiB
Type Window manager
License MIT License
Website swaywm.org

Sway is a tiling window manager and Wayland compositor, inspired by i3, and written in C. [3] Sway is designed as a drop-in replacement for i3 using the more modern Wayland display server protocol and wlroots compositor library. [4] Sway works with existing i3 configuration files and supports most of i3's features while providing several new features of its own. [5]

Contents

Sway's default controls for manipulating windows are similar to vi. Window focus is controlled by a combination of the Super key and one of the arrow keys or h, j, k, and l. [6] Window movement is performed by the same combination of keys with the addition of the shift key.

Like i3, Sway can be extended and manipulated using its Unix domain socket and JSON-based IPC interface from many programming languages. [7]

Sway's first stable release was on March 11, 2019, after 3.6 years of development. [8]

Features

Sway replicates several of i3's features:

Sway also provides several unique features:

References

  1. Sway Initial Release, Sway, 2019-08-09, retrieved 2019-08-09
  2. Sway Latest Release, Sway, 2025-06-08, retrieved 2025-06-27
  3. "State of Sway - December 2015". Drew DeVault’s Blog. 2015-12-20. Archived from the original on 2019-04-24. Retrieved 2019-08-09.
  4. "Wlroots Is A New, Modular Wayland Compositor Library - Phoronix". www.phoronix.com. Retrieved 2019-08-09.
  5. "Linux Hardware Reviews, Open-Source Benchmarks & Linux Performance - Phoronix". www.phoronix.com. Retrieved 2019-08-09.
  6. "sway/config.in at master · swaywm/sway". GitHub. Retrieved 2025-01-04.
  7. 1 2 Sway - FLOSS Weekly 501, 10 October 2018, retrieved 2019-08-09
  8. "Announcing the release of sway 1.0". Drew DeVault’s Blog. 2019-03-11. Retrieved 2019-08-09.
  9. "Sway - A Tiling Wayland i3-Compatible Compositor". FOSSMint: Everything About Linux and FOSS. 2019-03-20. Retrieved 2019-08-09.
  10. "Sway: A Tiling Window Manager Specially Crafted for Wayland". itsfoss.com. 27 March 2019. Retrieved 2019-08-09.
  11. Differences from i3, Sway, 2019-08-09, retrieved 2019-08-09