update readme with arch dependencies

This commit is contained in:
Raphael Robatsch 2021-11-05 21:29:59 +01:00
parent a6104020cb
commit ad8c9bc20c
2 changed files with 8 additions and 2 deletions

View File

@ -22,6 +22,11 @@ sudo apt install build-essential meson ninja-build \
libwayland-bin libwayland-client0 libwayland-cursor0 libwayland-dev \
libcairo2 libcairo2-dev \
libpango-1.0-0 libpango1.0-dev libpangocairo-1.0-0
# or
sudo pacman -S base-devel meson \
wayland-protocols cairo pango
```
## Configuration
@ -31,6 +36,7 @@ Copy `src/config.def.hpp` to `src/config.hpp`, and adjust if needed.
## Building
```
cp src/config.def.hpp src/config.hpp
meson setup build
ninja -C build
sudo ninja -C build install
@ -45,7 +51,7 @@ The following commands are supported:
* `status TEXT`: Updates the status bar
* `hide MONITOR` Hides somebar on the specified monitor
* `shows MONITOR` Shows somebar on the specified monitor
* `show MONITOR` Shows somebar on the specified monitor
* `toggle MONITOR` Toggles somebar on the specified monitor
MONITOR is an zxdg_output_v1 name, which can be determined e.g. using `weston-info`.

View File

@ -562,7 +562,7 @@ void cleanup() {
}
void die(const char* why) {
fprintf(stderr, "%s\n", why);
fprintf(stderr, "error: %s failed, aborting\n", why);
cleanup();
exit(1);
}