aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 13bce8fe21c8733afaa10426515109aa77877c94 (plain)
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
48
49
50
51
52
53
54
55
# sway

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

sway is a **work in progress** i3-compatible window manager for
[Wayland](http://wayland.freedesktop.org/).

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

Chat on #sway on irc.freenode.net

## 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

[See "i3 feature support"](https://github.com/SirCmpwn/sway/issues/2)

## Installation

### Arch Linux

Install [aur/wlc-git](https://aur.archlinux.org/packages/wlc-git/) and [aur/sway-git](https://aur.archlinux.org/packages/sway-git/).

### Manual

Dependencies:

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

Compiling:

    cmake .
    make
    # sudo make install

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

## Configuration

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

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