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.
 
 
 
Simon Ser ae33f4eb37
Clarify gdk-pixbuf dependency purpose
11 months ago
.builds ci: add libdisplay-info dependency 2 years ago
.github/ISSUE_TEMPLATE github: don't truncate debug logs 3 years ago
assets License wallpapers as CC-0 5 years ago
client Use shm_open instead of mkstemp 2 years ago
common common: move load_image to swaybar 1 year ago
completions build: move completions to separate file 2 years ago
include scene_graph: port wlr_forgein_toplevel_management output enter/leave events 11 months ago
protocols Chase wlroots!4440 1 year ago
sway scene_graph: port wlr_forgein_toplevel_management output enter/leave events 11 months ago
swaybar common: move load_image to swaybar 1 year ago
swaymsg fix typo 2 years ago
swaynag swaynag/config.c: fix build against gcc-14 (-Walloc-size) 1 year 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 11 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 Detect Nvidia proprietary driver via drmGetVersion() 1 year ago
meson_options.txt Clarify gdk-pixbuf dependency purpose 11 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).