Config changes for fixed-width and LR

This commit is contained in:
Kyle Gunger 2023-01-16 18:05:06 -05:00
parent 134ae847dc
commit 0b6a38fa8f
6 changed files with 219 additions and 68 deletions

View file

@ -17,7 +17,7 @@ struct bar {
const char *(*output_name)(const struct bar *bar);
};
enum bar_location { BAR_TOP, BAR_BOTTOM };
enum bar_location { BAR_TOP, BAR_BOTTOM, BAR_LEFT, BAR_RIGHT };
enum bar_layer { BAR_LAYER_TOP, BAR_LAYER_BOTTOM };
enum bar_backend { BAR_BACKEND_AUTO, BAR_BACKEND_XCB, BAR_BACKEND_WAYLAND };
@ -31,6 +31,9 @@ struct bar_config {
int height;
int left_spacing, right_spacing;
int left_margin, right_margin;
int width;
int top_spacing, bottom_spacing;
int top_margin, bottom_margin;
int trackpad_sensitivity;
pixman_color_t background;