mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-20 09:35:38 +02:00
Fixes for size setting and config
+ height is optional + width is optional + make location enum into bitmask
This commit is contained in:
parent
033f21a1f2
commit
37b5b02fc4
6 changed files with 51 additions and 74 deletions
|
@ -17,7 +17,7 @@ struct bar {
|
|||
const char *(*output_name)(const struct bar *bar);
|
||||
};
|
||||
|
||||
enum bar_location { BAR_TOP, BAR_BOTTOM, BAR_LEFT, BAR_RIGHT };
|
||||
enum bar_location { BAR_TOP = 0b1, BAR_BOTTOM = 0b10, BAR_LEFT = 0b100, BAR_RIGHT = 0b1000 };
|
||||
enum bar_layer { BAR_LAYER_TOP, BAR_LAYER_BOTTOM };
|
||||
enum bar_backend { BAR_BACKEND_AUTO, BAR_BACKEND_XCB, BAR_BACKEND_WAYLAND };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue