forked from external/yambar
Add layer option
Only applies to Wayland and the default is still bottom.
This commit is contained in:
parent
7e7c011126
commit
eb94c8cceb
8 changed files with 35 additions and 1 deletions
|
@ -17,12 +17,14 @@ struct bar {
|
|||
};
|
||||
|
||||
enum bar_location { BAR_TOP, BAR_BOTTOM };
|
||||
enum bar_layer { BAR_LAYER_TOP, BAR_LAYER_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_layer layer;
|
||||
enum bar_location location;
|
||||
int height;
|
||||
int left_spacing, right_spacing;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue