domsson / succade

Run, feed and style your Lemonbar with ease
Creative Commons Zero v1.0 Universal
55 stars 3 forks source link

Only update Lemonbar if contents have actually changed #10

Closed domsson closed 4 years ago

domsson commented 6 years ago

We're already remembering each block's result string. We should use this to check if the output of a block was different from the previous run. If all block's output happens to not have changed between two runs, we should not update Lemonbar. This should help to reduce CPU usage, both on succade as well as Lemonbar.

domsson commented 4 years ago

Implemented with v1.0.0.