close
The Wayback Machine - https://web.archive.org/web/20190828153524/https://github.com/swaywm/sway
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.
BERJAYA .builds Remove rootston from build manifests Aug 9, 2019
BERJAYA .github Create FUNDING.yml May 25, 2019
BERJAYA assets Recompressed PNG files Jan 6, 2017
BERJAYA client swaybg: split into standalone project Apr 25, 2019
BERJAYA common ipc-client: remove useless free for failed malloc Aug 12, 2019
BERJAYA completions Add missing swaymsg completions Mar 8, 2019
BERJAYA contrib chmod +x contrib/_incr_version Aug 27, 2019
BERJAYA include cmd_xwayland: add force for immediate launch Aug 20, 2019
BERJAYA protocols Remove xdg-shell v6 support Aug 20, 2019
BERJAYA security.d delete references to swaygrab Jul 30, 2018
BERJAYA sway cmd_mode: don't reset to default after subcommand Aug 27, 2019
BERJAYA swaybar Fix memory leaks Aug 12, 2019
BERJAYA swaymsg swaymsg.1: add tip about two hyphens for commands Aug 13, 2019
BERJAYA swaynag check for empty string before calling strtoul() and check errno Jun 5, 2019
BERJAYA .clang-format Update .clang-format - not entirely usable yet Jan 11, 2017
BERJAYA .editorconfig Create .editorconfig Jul 4, 2016
BERJAYA .gitignore Allocate minimum size necessary in pango text functions. (#3473) Jan 20, 2019
BERJAYA CONTRIBUTING.md CONTRIBUTING.md: mention tab width for line length Jan 14, 2019
BERJAYA ISSUE_TEMPLATE.md Add Firefox note to ISSUE_TEMPALTE.md May 6, 2019
BERJAYA LICENSE MIT license Jan 6, 2017
BERJAYA README.de.md Add link to i3 in first mention of README Apr 27, 2019
BERJAYA README.es.md Add link to i3 in first mention of README Apr 27, 2019
BERJAYA README.fr.md Add link to i3 in first mention of README Apr 27, 2019
BERJAYA README.ja.md Add link to i3 in first mention of README Apr 27, 2019
BERJAYA README.md Added Dutch translation of README Jul 17, 2019
BERJAYA README.nl.md Added Dutch translation of README Jul 17, 2019
BERJAYA README.pl.md Add link to i3 in first mention of README Apr 27, 2019
BERJAYA README.uk.md Add link to i3 in first mention of README Apr 27, 2019
BERJAYA README.zh-CN.md Add link to i3 in first mention of README Apr 27, 2019
BERJAYA config.in Make comment casing consistient May 21, 2019
BERJAYA meson.build Remove all wayland-server.h includes Jul 27, 2019
BERJAYA meson_options.txt Set version in project file Feb 5, 2019
BERJAYA 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.