Repository navigation
Widgets on cloned/replacement bars can't reach their own service #13392
elMestre
started this conversation in
Suggestions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Setup: Omarchy 4.0.4, 3440x1440 ultrawide + 1920x1080 monitor in portrait.
Problem
The stock bar can't be configured per monitor (that request is #7669), so to show the bar only on my ultrawide I cloned
omarchy.barand filteredQuickshell.screensby monitor model.A cloned bar is third-party, so
pluginShellForBarEntrygives its widgets a facade without_serviceLookup. Any widget that reads its own service throughbar.shell.serviceFor(<own id>)getsnull. For example,agx.screen-timealways shows "no activity yet" even though its service keeps tracking.Suggestion
Let widgets on replacement bars reach their own service. It keeps the current guarantee that a bar can't grab another plugin's service. In
pluginShellForBarEntry:I'm running this locally and
agx.screen-timeworks again on my cloned bar.All reactions