mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-16 08:15:40 +02:00
bar: allow explicit backend selection
This commit is contained in:
parent
586cb8a0dd
commit
473802cab8
3 changed files with 53 additions and 18 deletions
|
@ -15,8 +15,11 @@ struct bar {
|
|||
};
|
||||
|
||||
enum bar_location { BAR_TOP, BAR_BOTTOM };
|
||||
enum bar_backend { BAR_BACKEND_AUTO, BAR_BACKEND_XCB, BAR_BACKEND_WAYLAND };
|
||||
|
||||
struct bar_config {
|
||||
enum bar_backend backend;
|
||||
|
||||
const char *monitor;
|
||||
enum bar_location location;
|
||||
int height;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue