SwayOSD icon indicating copy to clipboard operation
SwayOSD copied to clipboard

Reloading styles without restarting app

Open ChrisW-B opened this issue 4 months ago • 2 comments

Hey, I was hoping to use SwayOSD with matugen, but I can't find a good way to reload CSS after updating the ~/.config/swayosd/style.css file. It seems like it's possible to run swayosd-server -s ~/.config/swayosd/style.css and then killing that process and the theme will reload, but it would be nice to have a cleaner way.

Let me know if there's a way I can help out! (Or if there's something I'm missing)

Thanks for the great tool!

ChrisW-B avatar Aug 17 '25 23:08 ChrisW-B

if you're using systemd, you could modify the service to add the css file to reloadTriggers

hollymlem avatar Aug 28 '25 23:08 hollymlem

@oliviafloof rip, I'm not, but that would be a really helpful suggestion were I not a weird void linux user. Hopefully it's useful to someone else!

ChrisW-B avatar Aug 29 '25 15:08 ChrisW-B