From ad8c9bc20cd11a59d4a3f641c4d4abced5ea4917 Mon Sep 17 00:00:00 2001 From: Raphael Robatsch Date: Fri, 5 Nov 2021 21:29:59 +0100 Subject: [PATCH] update readme with arch dependencies --- README.md | 8 +++++++- src/main.cpp | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 550a19a..53f5257 100644 --- a/README.md +++ b/README.md @@ -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`. diff --git a/src/main.cpp b/src/main.cpp index 6678ee8..19a7dd0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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); }