2hdddg / zenway

WIP sway bar alternative that is not really a bar but an overlay displayed on top of workspaces
MIT License
21 stars 1 forks source link

Improve error message if Sway socket not found #13

Open hholst80 opened 1 month ago

hholst80 commented 1 month ago
root@xps ~/z/build (main)# ./zenway
[2024-10-12 16:57:29.972] [info] Loading configuration at: /root/.config/zenway/config.lua
[2024-10-12 16:57:29.989] [info] Bound to global interface wl_compositor version 4. Max version 6. Built with version 6.
[2024-10-12 16:57:29.989] [info] Bound to global interface wl_shm version 1. Max version 1. Built with version 2.
[2024-10-12 16:57:29.989] [info] Bound to global interface zwlr_layer_shell_v1 version 3. Max version 4. Built with version 3.
[2024-10-12 16:57:29.989] [info] Creating keyboard
[2024-10-12 16:57:29.989] [info] Bound to global interface wl_seat version 5. Max version 9. Built with version 9.
[2024-10-12 16:57:29.989] [info] Bound to global interface wl_output version 4. Max version 4. Built with version 4.
[2024-10-12 16:57:29.994] [info] Keyboard layout received: English (intl., with AltGr dead keys)
[2024-10-12 16:57:29.995] [info] Adding output eDP-1
Assertion 'pthread_mutex_destroy(&m->mutex) == 0' failed at ../src/pulsecore/mutex-posix.c:85, function pa_mutex_free(). Aborting.
fish: Job 1, './zenway' terminated by signal SIGABRT (Abort)
root@xps ~/z/build (main) [SIGABRT]# 
hholst80 commented 1 month ago

Does it hard-depend on Sway? I am using river.

2hdddg commented 1 month ago

Only Sway supported so far. Experimented a bit with hyprland but far from ready. Never heard about river, you are welcome to add a compositor implementation for it, would be interesting to see what needs to change to add another one.

Should probably print a nicer error if sway is not present.

hholst80 commented 1 month ago

Sorry I was very quickly scanning over multiple options for replacing Waybar which depend list was just too extreme for my Linux from scratch installation. River is quite small window manager based on wlroots. I am not in a position right now to invest time to support it. I like the ideas put forward by your project here. For now I will use yambar it works without any bells or whistles.

Oh, https://codeberg.org/river/river