Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shared modules across bars #368

Open
Alexays opened this issue Jun 5, 2019 · 3 comments
Open

Shared modules across bars #368

Alexays opened this issue Jun 5, 2019 · 3 comments
Labels
enhancement New feature or request
Milestone

Comments

@Alexays
Copy link
Owner

Alexays commented Jun 5, 2019

Some modules doesn't need to be duplicate across bars.
e.g. cpu, memory, idle_inhibitor, brightness, clock, ...
Pb: module config can be different across bars.

Will fix #296

@Alexays Alexays added the enhancement New feature or request label Jun 5, 2019
@Alexays Alexays added this to the 0.8.0 milestone Jun 5, 2019
@b10n
Copy link

b10n commented Jan 11, 2022

Custom modules do not (always) need to be duplicated across bars. I noticed that Waybar 0.9.9 creates a subprocess for each bar. Could this be made configurable?
Perhaps a separate issue is that a subprocess becomes a zombie when a bar is no longer shown, for instance when the output configuration changes.

@pocek
Copy link

pocek commented Jan 21, 2022

#1276 addresses custom modules. Edit: Except it doesn't work the way I had hoped for. The execs are still not shared across bars.

@lilydjwg
Copy link
Contributor

I don't want share clock widgets, because I want it to show seconds on ordinary displays but not on e-ink ones (Constantly changing content is annoying there).

There may also be some other cases sharing is not desired, e.g. different sizes (big monitors vs small ones) or colors (dark theme is terrible for e-ink displays). So sharing (and with which) should be configurable, e.g. define widgets without referring to an output, and then put their ids into each output's configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants