Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Systemd watcher doesn't seem to work #412

Closed
qaristote opened this issue Aug 4, 2023 · 1 comment
Closed

Systemd watcher doesn't seem to work #412

qaristote opened this issue Aug 4, 2023 · 1 comment

Comments

@qaristote
Copy link
Contributor

I've got an issue similar to the one described by #294 (comment), only it also affects system units and not just user units.

When I try using the systemd module, for instance with

barista.Add(systemd.UserService("emacs"))

the module gets displayed properly on startup but does not get updated: stopping or starting the service doesn't change what the bar displays, and I need to restart i3 for the bar to show the new service status. This happens both with user services and system services.

I only have this problem with the systemd module: the clock, volume, etc. all get updated properly otherwise. Hence I believe this is not a problem with i3 or the rendering of the bar, but with the subscription to the watcher.

Any idea why this happens or how I could debug this further ?

@qaristote
Copy link
Contributor Author

qaristote commented Aug 5, 2023

Nevermind I looked at it again and I'm only seeing this for user units so this is the same issue as #294 (comment), so I'll close this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant