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 caa92ddee8
input/seat: rename seat_apply_input_config
1 year 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 Use format_str() throughout 2 years ago
completions build: move completions to separate file 2 years ago
include Drop support for KDE's idle protocol 1 year ago
protocols build: fix build with wayland-scanner subproject 1 year ago
sway input/seat: rename seat_apply_input_config 1 year ago
swaybar swaybar: Implement wp_cursor_shape_v1 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 readme: Stop recommending setuid bit for non-logind systems 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 Translate README to Arabic 1 year 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 Switch default menu to wmenu 2 years ago
meson.build render: Use wlroots scale filter 2 years ago
meson_options.txt Add meson options to enable/disable swaybar and swaynag 3 years 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: 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

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