-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
swaybar doesn't handle new configuration at runtime. #347
Comments
Related - you can't change your wallpaper at runtime. We need to kill and restart the sway subprocesses. |
If we store the pids of swaybar and swaybg somewhere then it would be easy to kill and restart them on reload. My idea would be to store them in an output container since each swaybg/swaybar process "belong" to a single output as far as I can tell. What do you think of this approach? |
I like that approach. |
Ok, cool, I will try to work on that tomorrow then. |
This works by tracking the pids of the child processes in the related output container and terminating the processes and spawning new ones on a config reload. Should solve: swaywm#347
This works by tracking the pids of the child processes in the related output container and terminating the processes and spawning new ones on a config reload. Should solve: swaywm#347
This works by tracking the pids of the child processes in the related output container and terminating the processes and spawning new ones on a config reload. Should solve: swaywm#347
Fixed in #358 |
If you edit the config and reload it while sway is running the bar doesn't update with the new bar configuration.
The text was updated successfully, but these errors were encountered: