domsson / succade

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

Move block binaries/scripts out of the config directory #13

Closed domsson closed 5 years ago

domsson commented 5 years ago

As pointed out by a user, the actual block binaries and/or scripts should not reside in the config directory. I don't think this is actually required even now, as long as the scripts are in PATH, succade should be able to run them. Apart from that, can we currently specify the path to the bin/script in the config files? If not, we should have that option. In other words, decouple bin/script and config file, effectively making the blocks just a config file. It is then up to the user where the bin/script actually is. Let's look into this.

domsson commented 5 years ago

A quick glance at the code reveals that we need to slightly change the logic behind initializing and running blocks. Also, we need to add a config option to specify the binary to use, I suggest bin. This should not be too much work.