2015-08-08 23:39:55 +00:00
|
|
|
# sway
|
|
|
|
|
|
|
|
"**S**irCmpwn's **Way**land window manager"
|
|
|
|
|
2015-08-16 14:04:51 +00:00
|
|
|
sway is a **work in progress** i3-compatible window manager for
|
2015-08-08 23:39:55 +00:00
|
|
|
[Wayland](http://wayland.freedesktop.org/).
|
|
|
|
|
2015-08-10 12:31:53 +00:00
|
|
|
![](https://sr.ht/qxGE.png)
|
2015-08-08 23:39:55 +00:00
|
|
|
|
2015-08-11 18:08:56 +00:00
|
|
|
Chat on #sway on irc.freenode.net
|
|
|
|
|
2015-08-08 23:39:55 +00:00
|
|
|
## 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
|
|
|
|
|
2015-08-10 01:22:14 +00:00
|
|
|
[See "i3 feature support"](https://github.com/SirCmpwn/sway/issues/2)
|
2015-08-08 23:39:55 +00:00
|
|
|
|
2015-08-16 14:21:04 +00:00
|
|
|
## Installation
|
|
|
|
|
|
|
|
### Arch Linux
|
|
|
|
|
2015-08-16 14:28:36 +00:00
|
|
|
Install [aur/sway-git](https://aur.archlinux.org/packages/sway-git/).
|
2015-08-16 14:21:04 +00:00
|
|
|
|
|
|
|
### Manual
|
2015-08-08 23:39:55 +00:00
|
|
|
|
|
|
|
Dependencies:
|
|
|
|
|
|
|
|
* cmake
|
|
|
|
* [wlc](https://github.com/Cloudef/wlc)
|
2015-08-16 14:04:51 +00:00
|
|
|
* xwayland
|
2015-08-08 23:39:55 +00:00
|
|
|
|
2015-08-16 14:07:56 +00:00
|
|
|
Compiling:
|
|
|
|
|
2015-08-08 23:39:55 +00:00
|
|
|
cmake .
|
|
|
|
make
|
|
|
|
# sudo make install
|
|
|
|
|
2015-08-16 14:08:29 +00:00
|
|
|
Binary shows up in `./bin` (or `/usr/local/bin` if you `make install`).
|
2015-08-08 23:39:55 +00:00
|
|
|
|
|
|
|
## Configuration
|
|
|
|
|
2015-08-16 14:04:51 +00:00
|
|
|
mkdir ~/.config/sway
|
|
|
|
cp ~/.config/i3/config ~/.config/sway/
|
2015-08-08 23:39:55 +00:00
|
|
|
|
2015-08-17 20:49:54 +00:00
|
|
|
Or if you don't already use i3:
|
|
|
|
|
|
|
|
mkdir ~/.config/sway
|
|
|
|
cp /etc/sway/config ~/.config/sway/
|
|
|
|
|
|
|
|
Edit to your liking.
|
|
|
|
|
2015-08-08 23:39:55 +00:00
|
|
|
[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.
|