mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-22 12:25:38 +02:00
If the user did *not* configured a specific monitor, we prefer the primary monitor. However, if that monitor is disconnected, yambar would exit with: no matching monitor This patch changes this, to use the *last* connected monitor. It also improves the error message. Note: if the user did specify a monitor in the configuration, but perhaps misspelled it, we will *not* fallback to another monitor, but instead log an error saying that specific monitor could not be found. |
||
---|---|---|
.. | ||
backend.h | ||
bar.c | ||
bar.h | ||
meson.build | ||
private.h | ||
wayland.c | ||
wayland.h | ||
xcb.c | ||
xcb.h |