docs: update readme

- clarify design goals
- mention scdoc dependency
- improve build command example
This commit is contained in:
Isaac Freund 2020-06-16 17:39:46 +02:00
parent 74f0423c08
commit 56212eb302
No known key found for this signature in database
GPG key ID: 86DED400DDFD7A11

View file

@ -12,10 +12,11 @@ and missing features. If you run into a bug don't hesitate to
- Simplicity and minimalism, river should not overstep the bounds of a - Simplicity and minimalism, river should not overstep the bounds of a
window manger. window manger.
- Dynamic window management based on a stack of views and tags like dwm. - Window management based on a stack of views and tags.
- Scriptable configuration and control through a separate binary, - Dynamic layouts generated by external, user-written executables. (A default
`riverctl`, like bspwm. This works using the custom `rivertile` layout generator is provided.)
[river-control](protocol/river-control-unstable-v1.xml) protocol. - Scriptable configuration and control through a custom wayland protocol and
separate `riverctl` binary implementing this protocol.
## Building ## Building
@ -29,13 +30,15 @@ installed:
- xkbcommon - xkbcommon
- pixman - pixman
- pkg-config - pkg-config
- scdoc (optional, but required for man page generation)
*Note: NixOS users should refer to the *Note: NixOS users should refer to the
[Building on NixOS wiki page](https://github.com/ifreund/river/wiki/Building-on-NixOS)* [Building on NixOS wiki page](https://github.com/ifreund/river/wiki/Building-on-NixOS)*
Then run, for example, Then run, for example,
``` ```
sudo zig build -Drelease-safe=true --prefix /usr/local install zig build -Drelease-safe=true
sudo zig build --prefix /usr/local install
``` ```
to build and install the `river` and `riverctl` binaries to to build and install the `river` and `riverctl` binaries to
`/usr/local/bin`. To enable experimental Xwayland support pass the `/usr/local/bin`. To enable experimental Xwayland support pass the