i3-compatible Wayland compositor
Go to file
Kirill Chibisov 6bb3e7ee05 build: fix building with basu
02b412a introduced the use of list for sdbus deps, however
it was assuming that all packages which were in a list has a version
higher than 239. That is true for libsystemd and libelogind, since they
use the same versions, however basu is using version numbers which are
way lower than what libsystemd/libelogind are using, so basu only build
is failing.

(cherry picked from commit dbaf2e4fdb)
2022-01-16 19:26:57 +01:00
.builds Update URL to wlroots project (GitHub->GitLab) 2021-11-02 08:43:24 +01:00
.github/ISSUE_TEMPLATE
assets
client
common Add safety assert in parse_movement_unit 2022-01-16 19:26:57 +01:00
completions
contrib
include Destroy sub-surfaces with parent layer-shell surface 2022-01-09 11:49:53 +01:00
protocols Add support for linux-dmabuf surface hints 2021-12-13 09:59:33 -06:00
sway xdg-shell: use toplevel geometry to adjust the popup box 2022-01-16 19:26:57 +01:00
swaybar swaybar: fix tray item icon scaling, positioning 2022-01-07 15:09:24 +01:00
swaymsg refactor: use JSON_MAX_DEPTH everywhere 2021-10-25 10:18:40 +02:00
swaynag swaynag: remove xdg-output logic 2021-12-13 20:17:20 -06:00
.editorconfig
.gitignore
config.in
CONTRIBUTING.md
LICENSE
meson_options.txt
meson.build build: fix building with basu 2022-01-16 19:26:57 +01:00
README.de.md Update URL to wlroots project (GitHub->GitLab) 2021-11-02 08:43:24 +01:00
README.dk.md Update URL to wlroots project (GitHub->GitLab) 2021-11-02 08:43:24 +01:00
README.es.md Update URL to wlroots project (GitHub->GitLab) 2021-11-02 08:43:24 +01:00
README.fr.md Update URL to wlroots project (GitHub->GitLab) 2021-11-02 08:43:24 +01:00
README.gr.md Update URL to wlroots project (GitHub->GitLab) 2021-11-02 08:43:24 +01:00
README.hu.md Update URL to wlroots project (GitHub->GitLab) 2021-11-02 08:43:24 +01:00
README.ir.md readme: use right-to-left marks in ir translation 2021-12-07 15:26:57 +01:00
README.ja.md Update URL to wlroots project (GitHub->GitLab) 2021-11-02 08:43:24 +01:00
README.ko.md Update URL to wlroots project (GitHub->GitLab) 2021-11-02 08:43:24 +01:00
README.md Update URL to wlroots project (GitHub->GitLab) 2021-11-02 08:43:24 +01:00
README.nl.md Update URL to wlroots project (GitHub->GitLab) 2021-11-02 08:43:24 +01:00
README.pl.md Update URL to wlroots project (GitHub->GitLab) 2021-11-02 08:43:24 +01:00
README.pt.md Update URL to wlroots project (GitHub->GitLab) 2021-11-02 08:43:24 +01:00
README.ro.md Update URL to wlroots project (GitHub->GitLab) 2021-11-02 08:43:24 +01:00
README.ru.md Update URL to wlroots project (GitHub->GitLab) 2021-11-02 08:43:24 +01:00
README.tr.md Update URL to wlroots project (GitHub->GitLab) 2021-11-02 08:43:24 +01:00
README.uk.md Update URL to wlroots project (GitHub->GitLab) 2021-11-02 08:43:24 +01:00
README.zh-CN.md Update URL to wlroots project (GitHub->GitLab) 2021-11-02 08:43:24 +01:00
README.zh-TW.md Update URL to wlroots project (GitHub->GitLab) 2021-11-02 08:43:24 +01:00
sway.desktop Update language in sway.desktop & sway(1) 2019-03-10 15:09:52 -04:00

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.

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 nor seatd, 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).