How to display once on a changing, primary monitor output? #1175
-
|
Hi! Thanks for your work on ironbar, looks great. I'm attempting to migrate from eww (it's sort of a languishing project) and there's one feature I can't figure out how to replicate: I switch between a single integrated laptop display and multiple monitors and I leverage the Is there any way to replicate this behavior in ironbar? I understand how to constraint a bar to one output but I'm unsure how to handle changing which output a bar should live on throughout the course of monitor changes. I suppose one method would be to actively change the configuration file based on reactivity to output events, but I wanted to check and see whether there were any more elegant alternatives to that. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Hey, there's no native feature for that at the moment. Potentially a more elegant solution if you want the bar to only show on one screen at a time, is to define two bars (one per screen) in the same config, and then use IPC to show/hide them. ironbar bar show bar-1
ironbar bar hide bar-2 |
Beta Was this translation helpful? Give feedback.
Hey, there's no native feature for that at the moment.
Potentially a more elegant solution if you want the bar to only show on one screen at a time, is to define two bars (one per screen) in the same config, and then use IPC to show/hide them.