Skip to content
i3-compatible Wayland compositor
C SuperCollider Meson Other
Branch: master
Clone or download
RedSoxFan and ddevault cmd_mode: don't reset to default after subcommand
In cmd_mode, the mode is currently being reset to the default mode after
a mode subcommand handler is executed. This stores and restores the mode
instead
Latest commit 1a8b9fd Aug 27, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.builds Remove rootston from build manifests Aug 9, 2019
.github Create FUNDING.yml May 25, 2019
assets Recompressed PNG files Jan 6, 2017
client swaybg: split into standalone project Apr 25, 2019
common ipc-client: remove useless free for failed malloc Aug 12, 2019
completions Add missing swaymsg completions Mar 8, 2019
contrib chmod +x contrib/_incr_version Aug 27, 2019
include cmd_xwayland: add force for immediate launch Aug 20, 2019
protocols Remove xdg-shell v6 support Aug 20, 2019
security.d delete references to swaygrab Jul 30, 2018
sway cmd_mode: don't reset to default after subcommand Aug 27, 2019
swaybar Fix memory leaks Aug 12, 2019
swaymsg swaymsg.1: add tip about two hyphens for commands Aug 13, 2019
swaynag check for empty string before calling strtoul() and check errno Jun 5, 2019
.clang-format Update .clang-format - not entirely usable yet Jan 11, 2017
.editorconfig Create .editorconfig Jul 4, 2016
.gitignore Allocate minimum size necessary in pango text functions. (#3473) Jan 20, 2019
CONTRIBUTING.md CONTRIBUTING.md: mention tab width for line length Jan 14, 2019
ISSUE_TEMPLATE.md Add Firefox note to ISSUE_TEMPALTE.md May 6, 2019
LICENSE MIT license Jan 6, 2017
README.de.md Add link to i3 in first mention of README Apr 27, 2019
README.es.md Add link to i3 in first mention of README Apr 27, 2019
README.fr.md Add link to i3 in first mention of README Apr 27, 2019
README.ja.md Add link to i3 in first mention of README Apr 27, 2019
README.md Added Dutch translation of README Jul 17, 2019
README.nl.md Added Dutch translation of README Jul 17, 2019
README.pl.md Add link to i3 in first mention of README Apr 27, 2019
README.uk.md Add link to i3 in first mention of README Apr 27, 2019
README.zh-CN.md Add link to i3 in first mention of README Apr 27, 2019
config.in Make comment casing consistient May 21, 2019
meson.build Remove all wayland-server.h includes Jul 27, 2019
meson_options.txt Set version in project file Feb 5, 2019
sway.desktop Update language in sway.desktop & sway(1) Mar 10, 2019

README.md

sway

English - 日本語 - Français - Українська - Español - Polski - 中文-简体 - Deutsch - Nederlands

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

If you'd like to support sway development, please contribute to SirCmpwn's Patreon page.

Release Signatures

Releases are signed with B22DA89A and published on GitHub.

Installation

From Packages

Sway is available in many distributions. Try installing the "sway" package for yours. If it's not available, check out this wiki page for information on installation for your distributions.

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

Install dependencies:

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

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

You can’t perform that action at this time.