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