domsson / succade

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

Support new Lemonbar feature: option -a dropped #50

Closed domsson closed 3 years ago

domsson commented 3 years ago

As per this commit, the number of clickable areas is allocated dynamically and Lemonbar hence doesn't support the -a option anymore. Once this feature finds its way into repos, we should remove the areas option from succade as well. And until then, we need to make sure that succade does not set the -a option in case it isn't given in the config, so that we can run both versions of Lemonbar just fine.

domsson commented 3 years ago

Implemented with commit 87d66ff - if there is no areas option in the config, the value will internally be set to 0, which then leads to succade not including the -a option for Lemonbar at all. Backwards compatible, supports both version of Lemonbar, can later be dropped entirely.