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