You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: "Main display" option for bar mode monitor setting #24
When switching between laptop display + monitor and laptop display only, openmeters likes to stick itself to the laptop display, even when the monitor is attached and the primary display.
Sorry for the inactivity, I've been busy lately. This seems doable, and I have a similar setup so I'd be able to test it relatively well. I'll see if I can get something working today.
Alright, I got off of work not too long ago and got something working that I think satisfies your needs, but I'm not sure. I added a new "Automatic" option within the "Monitor" picker lets the compositor choose the bar's output whenever OpenMeters recreates it after monitor changes. However, named monitors are preferred, and their default behavior has been improved: if disconnected, OpenMeters stays running on a fallback output and automatically returns when that monitor reconnects.
In short, you should be able to keep your external monitor selected within the picker. When unplugged, OpenMeters will fall back to your laptop's internal display, and when plugged in once more it will return. I'm in the middle of testing currently, but things should be ready for upstream in a couple minutes.
Activity
httpsworldview commentedon Aug 27, 2026
Sorry for the inactivity, I've been busy lately. This seems doable, and I have a similar setup so I'd be able to test it relatively well. I'll see if I can get something working today.
httpsworldview commentedon Aug 28, 2026
Alright, I got off of work not too long ago and got something working that I think satisfies your needs, but I'm not sure. I added a new "Automatic" option within the "Monitor" picker lets the compositor choose the bar's output whenever OpenMeters recreates it after monitor changes. However, named monitors are preferred, and their default behavior has been improved: if disconnected, OpenMeters stays running on a fallback output and automatically returns when that monitor reconnects.
In short, you should be able to keep your external monitor selected within the picker. When unplugged, OpenMeters will fall back to your laptop's internal display, and when plugged in once more it will return. I'm in the middle of testing currently, but things should be ready for upstream in a couple minutes.
edwloef commentedon Aug 28, 2026
That sounds perfect, thanks!
httpsworldview commentedon Aug 28, 2026
Sorry, still ironing out some gripes I have with my code. I'll have something pushed before I go to sleep.
httpsworldview commentedon Aug 28, 2026
Please let me know if 073158c is sufficient.
edwloef commentedon Aug 28, 2026
Yup, that works :)