1
1
mirror of https://github.com/swaywm/sway synced 2024-11-22 20:42:00 +01:00
i3-compatible Wayland compositor https://swaywm.org
Go to file
Ryan Dwyer 3ede5983b9 Fix click behaviour
By the time seatop_allows_events was called, seatop_impl was already
NULL, causing the function to always return false. This means a press
event was sent to clients without a corresponding release event.

This patch moves the call to seatop_finish to after the
seatop_allows_events check.
2019-03-11 10:57:16 -04:00
assets Recompressed PNG files 2017-01-05 21:49:28 -05:00
client
common stringop.c: refactor a few functions 2019-03-11 10:57:16 -04:00
completions Add missing swaymsg completions 2019-03-11 10:56:20 -04:00
contrib
include Don't send button events to surfaces when dragging or resizing 2019-03-11 10:57:16 -04:00
protocols
security.d
sway Fix click behaviour 2019-03-11 10:57:16 -04:00
swaybar stringop.c: remove unused functions 2019-03-11 10:57:16 -04:00
swaybg
swaymsg
swaynag
.build.yml
.clang-format
.editorconfig
.gitignore
config.in
CONTRIBUTING.md
ISSUE_TEMPLATE.md
LICENSE
meson_options.txt
meson.build meson: use pkg-config var for scdoc path 2019-03-11 10:57:16 -04:00
README.bg.md
README.de.md
README.el.md
README.fr.md
README.it.md
README.ja.md
README.md
README.pt.md
README.ru.md
README.uk.md
sway.desktop Update language in sway.desktop & sway(1) 2019-03-11 10:56:20 -04:00

sway

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

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