1
1
mirror of https://github.com/swaywm/sway synced 2024-11-23 13:22:17 +01:00
i3-compatible Wayland compositor https://swaywm.org
Go to file
Dmitri Kourennyi 94dc57f3c5 Ensure predicted position for short text handling doesn't overflow.
- Predicted status line can be negative, so corresponding variables should
  not be unsigned. Changed to double as position is actually calculated as
  double.
2019-04-04 14:14:08 -06:00
.builds ci: use scdoc-git because 1.9.1 is broken 2019-03-01 12:32:00 -07:00
assets
client
common Add support for manually setting subpixel hinting on outputs. 2019-03-24 09:37:24 +02:00
completions Add missing swaymsg completions 2019-03-08 15:28:35 -05:00
contrib
include swaybg: one instance for all outputs 2019-04-04 20:08:21 +03:00
protocols
security.d
sway swaybg: one instance for all outputs 2019-04-04 20:08:21 +03:00
swaybar Ensure predicted position for short text handling doesn't overflow. 2019-04-04 14:14:08 -06:00
swaybg swaybg: one instance for all outputs 2019-04-04 20:08:21 +03:00
swaymsg Add support for manually setting subpixel hinting on outputs. 2019-03-24 09:37:24 +02:00
swaynag Repair swaynag crash reading message from stdin 2019-03-11 23:00:39 -04:00
.clang-format
.editorconfig
.gitignore
config.in config.in: allow launch apps with args via dmenu 2019-03-12 08:16:45 -06:00
CONTRIBUTING.md
ISSUE_TEMPLATE.md
LICENSE
meson_options.txt
meson.build meson: use pkg-config var for scdoc path 2019-03-10 18:18:08 -04:00
README.bg.md
README.de.md
README.el.md
README.es.md meson: update scdoc requirement to >= 1.9.2 2019-03-04 08:44:17 -07:00
README.fr.md Updated the french readme (#3964) 2019-03-24 21:19:13 +02:00
README.it.md
README.ja.md
README.md fix broken link to README.zh-CN.md 2019-04-02 10:35:21 +03:00
README.pl.md meson: update scdoc requirement to >= 1.9.2 2019-03-04 08:44:17 -07:00
README.pt.md
README.ru.md
README.uk.md Update README.uk.md 2019-03-26 07:25:02 -06:00
README.zh-CN.md fix typo 2019-04-02 08:42:10 +03:00
sway.desktop Update language in sway.desktop & sway(1) 2019-03-10 15:09:52 -04:00

sway

English - 日本語 - Deutsch - Ελληνικά - Français - Українська - Italiano - Português - Русский - Български - Español - Polski - 中文-简体

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 **
  • scdoc (optional: man pages) *
  • git *

*Compile-time dep

**optional: required for swaybg

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