domsson / succade

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

Option to specify configuration file #20

Closed domsson closed 4 years ago

domsson commented 4 years ago

Currently, succade is hardwired to load its configuration file from CONFIG_DIR/succade/succaderc, but we should have a -c command line argument that allows us to specify a config file. This would come in handy for testing as well.

domsson commented 4 years ago

If I'm not missing anything, implementing this should also enable us to have multiple bars (by starting multiple instances of succade, each with a different config file). This might not be the best way of achieving it (we can't optimize for blocks that are shared between multiple bars, etc etc), but it sure would be an easy way (implementation-wise) and it is better than nothing.

domsson commented 4 years ago

Implemented with v1.0.0 - there is now a -c command line argument.