mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-20 01:25:39 +02:00
Config changes for fixed-width and LR
This commit is contained in:
parent
134ae847dc
commit
0b6a38fa8f
6 changed files with 219 additions and 68 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue