domsson / succade

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

The `bin` config option should not be mandatory #22

Closed domsson closed 4 years ago

domsson commented 4 years ago

Currently, every block config needs to specify the bin option. However, if the block name is actually the same as the binary to run (this requires the binary to be in the search path, of course), then this option isn't technically required. In other words, if bin isn't specified, we should fall back to setting bin to the block's name.

This is especially important because having bin be mandatory breaks backwards compatibility with versions before the changes introduced with 9d5d7da.

domsson commented 4 years ago

Implemented with v1.0.0 - note, however, that bin has been renamed to command.