vars1ty / HybridBar

A status bar focused on wlroots Wayland compositors
MIT License
191 stars 9 forks source link

how to get hybrid-bar on multiple monitors? #49

Open minsoehan opened 7 months ago

minsoehan commented 7 months ago

According to FAQ, I can specify monitor like hybrid - > monitor (i32). What is i32? Is it 0 or 1 or 2 or like that? I set it integer and name as well. It does not work. "hybrid": { "namespace": "hybrid-bar", "monitor": "1", ... } it does not work. How can I get hybrid-bar on all monitors?

vars1ty commented 7 months ago

i32 is just a signed 32-bit integer, you can't define it the way you did, as that's a string.

To have it on all monitors, you have to make a config for each separate monitor, and then override the loaded config via the HYBRID_CONFIG environment variable. Do so for each monitor until all monitors have a bar present, as there is currently no support for putting the bar on all monitors by default.