Add layer option

Only applies to Wayland and the default is still bottom.
This commit is contained in:
Nulo 2021-08-25 13:20:33 -03:00 committed by Daniel Eklöf
parent 7e7c011126
commit eb94c8cceb
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
8 changed files with 35 additions and 1 deletions

View file

@ -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;