Open 0xN1nja opened 5 months ago
Indeed, I have a script that manually configures this by calling eww on loop to spawn each bar, and it is a janky solution at best. I would like to be able to have an option as like "on all monitors" built into a window definition but yeah.
I can recursively render polybar on multiple monitors like this:
But I'm not sure how to render the eww bar in the same way for each monitor.
So far, I've tried this:
Firstly, I created a
bar-external
component for thebar
:Then I'm rendering it like this:
But this approach isn't flexible, and it's also not correct; because the bar is being exactly mirrored on the other monitor. When I hover over the power menu, I expect it to open on my first monitor's bar, but it also opens on the second one (
bar-external
):I want to recursively do it, so that if I connect "n" number of monitors, the bar gets rendered on all of them.
So how can I achieve this? Is there any official method for rendering components on multiple monitors that I might be missing somewhere?