i3-compatible Wayland compositor
Find a file
2021-07-07 14:08:52 -05:00
.builds ci: make Meson warnings fatal 2021-06-30 13:37:00 +02:00
.github/ISSUE_TEMPLATE
assets
client
common input: Move get_current_time_msec in from util 2021-06-23 09:55:36 +02:00
completions
contrib contrib: drop incr_version script 2021-06-24 18:35:00 +02:00
include Update wlr_box includes 2021-07-07 11:29:14 +02:00
protocols build: use Dependency.get_variable instead of get_pkgconfig_variable 2021-06-30 13:37:00 +02:00
sway Rename output.c to output.css 2021-07-07 13:41:23 -05:00
swaybar
swaymsg
swaynag
.clang-format Update clang format to better match existing code 2021-06-22 20:21:45 +02:00
.editorconfig
.gitignore
config.in
CONTRIBUTING.md
LICENSE
meson.build build: use ExternalProgram.full_path instead of path 2021-06-30 13:37:00 +02:00
meson_options.txt
README.de.md
README.dk.md
README.es.md
README.fr.md
README.hu.md
README.ja.md
README.ko.md
README.md Change 'Danish' to 'Dansk' in README 2021-06-30 16:16:53 +02:00
README.nl.md
README.pl.md
README.pt.md
README.ro.md
README.ru.md
README.tr.md
README.uk.md
README.zh-CN.md
README.zh-TW.md
sway-culture-office Create sway-culture-office 2021-07-07 14:07:55 -05:00
sway.desktop

sway

English - 日本語 - Français - Українська - Español - Polski - 中文-简体 - Deutsch - Nederlands - Русский - 中文-繁體 - Português - Dansk - 한국어 - Română - Magyar - Türkçe

sway is an i3-compatible Wayland compositor. Read the FAQ. Join the IRC channel (#sway on irc.libera.chat).

Release Signatures

Releases are signed with E88F5E48 and published on GitHub.

Installation

From Packages

Sway is available in many distributions. Try installing the "sway" package for yours.

If you're interested in packaging sway for your distribution, stop by the IRC channel or shoot an email to sir@cmpwn.com for advice.

Compiling from Source

Check out this wiki page if you want to build the HEAD of sway and wlroots for testing or development.

Install dependencies:

  • meson *
  • wlroots
  • wayland
  • wayland-protocols *
  • pcre
  • json-c
  • pango
  • cairo
  • gdk-pixbuf2 (optional: system tray)
  • scdoc (optional: man pages) *
  • git (optional: version info) *

*Compile-time dep

Run these commands:

meson build/
ninja -C build/
sudo ninja -C build/ install

On systems without logind, you need to suid the sway binary:

sudo chmod a+s /usr/local/bin/sway

Sway will drop root permissions shortly after startup.

Configuration

If you already use i3, then copy your i3 config to ~/.config/sway/config and it'll work out of the box. Otherwise, copy the sample configuration file to ~/.config/sway/config. It is usually located at /etc/sway/config. Run man 5 sway for information on the configuration.

Running

Run sway from a TTY. Some display managers may work but are not supported by sway (gdm is known to work fairly well).