mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-19 17:25:38 +02:00
bar: allow user to specify _which_ monitor to place the bar on
If not specified, the primary monitor will be used.
This commit is contained in:
parent
ef04097bef
commit
f26892d938
5 changed files with 35 additions and 5 deletions
1
bar.h
1
bar.h
|
@ -17,6 +17,7 @@ struct bar {
|
|||
enum bar_location { BAR_TOP, BAR_BOTTOM };
|
||||
|
||||
struct bar_config {
|
||||
const char *monitor;
|
||||
enum bar_location location;
|
||||
int height;
|
||||
int left_spacing, right_spacing;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue