Go to file
KoffeinFlummi 3c124d9e7d Change gap behaviour to more closely match i3-gaps
Previously, when only using inner gaps, the gap between a window at the
edge of the output was only half the size of the gaps between views.

Additionally, the gaps between the actual windows was twice as wide as
it was on i3-gaps.
2015-08-20 08:47:51 +02:00
CMake Find a2x through CMake 2015-08-18 07:06:07 -04:00
include fixed some more bugs, moved layout_log into log.ch, restored focus_parent 2015-08-19 01:06:15 -07:00
sway Change gap behaviour to more closely match i3-gaps 2015-08-20 08:47:51 +02:00
.gitignore Initial commit 2015-08-04 21:02:46 -04:00
CMakeLists.txt added sway_assert function 2015-08-18 23:38:34 +02:00
config Fix comments in config file 2015-08-18 06:42:48 -04:00
LICENSE MIT license 2015-08-04 21:31:07 -04:00
README.md Improve README (more) 2015-08-18 16:18:15 -04:00
sway.1.txt disable tilde subscripting to fix manpage 2015-08-18 12:12:12 +02:00
sway.5.txt man page update 2015-08-19 13:10:58 -07:00

sway

"SirCmpwn's Wayland window manager" is a work in progress i3-compatible window manager for Wayland. Read the FAQ.

Rationale

I use i3 on xorg. Wayland is coming, and i3way still has zero lines of source code after two years.

Status

See "i3 feature support"

Installation

From Packages

sway is not supported by many distributions yet. Here's a list of packages available for you to install:

Compiling from Source

Install dependencies:

  • cmake
  • wlc
  • xwayland
  • asciidoc

Run these commands:

cmake .
make
sudo make 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 /etc/sway/config to ~/.config/sway/config. Run man 5 sway for information on the configuration.

Running

Run this from a tty (instead of starting x):

sway

If you run it from within x, it will spawn x windows instead of using your hardware directly (useful for development).