aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: 9d303ef14f0d403be6d56c97ae6f21cb45892001 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# sway

"**S**irCmpwn's **Way**land window manager"

sway is an i3-compatible window manager for
[Wayland](http://wayland.freedesktop.org/).

![](https://sr.ht/7DsT.png)

## Rationale

I use i3 on xorg. Wayland is coming, and [i3way](http://i3way.org/) still has
zero lines of source code after two years.

## Status

Not really usable yet.

## Compile / Install

Dependencies:

* cmake
* [wlc](https://github.com/Cloudef/wlc)
* xkb

Notably missing: weston is not required.

    cmake .
    make
    # sudo make install

Binary shows up in `./bin` (or `/usr/bin` if you `make install`).

## Configuration

    mkdir ~/.sway
    cp ~/.i3/config ~/.sway/config

[See also](http://i3wm.org/docs/)

## Running

    sway

If you run this while xorg is running, it'll run inside of an x window (useful
for testing). Otherwise, it'll run wayland properly.