A private fork of the Sway Wayland compositor.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Ricardo Steijn 9a1c411abd
Add support for tearing-control-v1
4 months ago
.builds ci: use package x11-servers/xwayland instead of x11-servers/xwayland-devel 4 months ago
.github/ISSUE_TEMPLATE github: don't truncate debug logs 3 years ago
assets License wallpapers as CC-0 5 years ago
client Define _POSIX_C_SOURCE globally 9 months ago
common common/pango: Disable glyph position rounding 5 months ago
completions build: move completions to separate file 2 years ago
include Add support for tearing-control-v1 4 months ago
protocols Add support for tearing-control-v1 4 months ago
sway Add support for tearing-control-v1 4 months ago
swaybar Define _POSIX_C_SOURCE globally 9 months ago
swaymsg Add support for tearing-control-v1 4 months ago
swaynag Define _POSIX_C_SOURCE globally 9 months ago
.editorconfig Create .editorconfig 9 years ago
.gitignore gitignore: Ignore clangd-generated directory .cache/ 1 year ago
.mailmap Add a .mailmap file 2 years ago
CONTRIBUTING.md Fix IRC links in READMEs and templates 4 years ago
LICENSE MIT license 8 years ago
README.ar.md Translate README to Arabic 1 year ago
README.cs.md readme: Stop recommending setuid bit for non-logind systems 1 year ago
README.de.md Update README.de.md to match the EN one 1 year ago
README.dk.md readme: Stop recommending setuid bit for non-logind systems 1 year ago
README.es.md readme: Stop recommending setuid bit for non-logind systems 1 year ago
README.fr.md readme: Stop recommending setuid bit for non-logind systems 1 year ago
README.ge.md readme: Stop recommending setuid bit for non-logind systems 1 year ago
README.gr.md readme: Stop recommending setuid bit for non-logind systems 1 year ago
README.hi.md readme: Stop recommending setuid bit for non-logind systems 1 year ago
README.hu.md readme: Stop recommending setuid bit for non-logind systems 1 year ago
README.ir.md readme: Stop recommending setuid bit for non-logind systems 1 year ago
README.it.md readme: Stop recommending setuid bit for non-logind systems 1 year ago
README.ja.md Improve Japanese translation 2 years ago
README.ko.md readme: Stop recommending setuid bit for non-logind systems 1 year ago
README.md Clarify gdk-pixbuf dependency purpose 10 months ago
README.nl.md readme: Stop recommending setuid bit for non-logind systems 1 year ago
README.no.md readme: Stop recommending setuid bit for non-logind systems 1 year ago
README.pl.md readme: Stop recommending setuid bit for non-logind systems 1 year ago
README.pt.md readme: Stop recommending setuid bit for non-logind systems 1 year ago
README.ro.md readme: Stop recommending setuid bit for non-logind systems 1 year ago
README.ru.md readme: Stop recommending setuid bit for non-logind systems 1 year ago
README.sv.md readme: Stop recommending setuid bit for non-logind systems 1 year ago
README.tr.md readme: Stop recommending setuid bit for non-logind systems 1 year ago
README.uk.md readme: Stop recommending setuid bit for non-logind systems 1 year ago
README.zh-CN.md readme: Stop recommending setuid bit for non-logind systems 1 year ago
README.zh-TW.md readme: Stop recommending setuid bit for non-logind systems 1 year ago
config.in Use locale time format for default bar command 1 year ago
meson.build build: avoid git repository discovery when determining version 4 months ago
meson_options.txt build: drop xwayland option 6 months ago
release.sh Add release script 9 months ago
sway.desktop Update language in sway.desktop & sway(1) 6 years ago

README.md

sway

English - عربي - Česky - Deutsch - Dansk - Español - Français - ქართული - Ελληνικά - हिन्दी - Magyar - فارسی - Italiano - 日本語 - 한국어 - Nederlands - Norsk - Polski - Português - Română - Русский - Svenska - 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 *
  • pcre2
  • json-c
  • pango
  • cairo
  • gdk-pixbuf2 (optional: additional image formats for system tray)
  • swaybg (optional: wallpaper)
  • scdoc (optional: man pages) *
  • git (optional: version info) *

* Compile-time dep

Run these commands:

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

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).