SwayOSD
SwayOSD copied to clipboard
Use sweep_write when changing brightness
This change uses https://docs.rs/blight/latest/blight/struct.Device.html#method.sweep_write for adjusting brightness as well as reusing the Device. This should resolve #12.
I'll look at this later tonight. Don't be afraid to ping me if I forget :)
Thanks for your patience