domsson / succade

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

Add option to specify the bar binary #18

Closed domsson closed 4 years ago

domsson commented 5 years ago

Currently, the bar binary is hardcoded as lemonbar. It somewhat makes sense, as succade produces output tailored for lemonbar in particular, but it isn't unthinkable that the binary might have a different name on some user's system. Also, someone might come up with a fork of lemonbar that has the same interface (or is at least backwards compatible), but has a different name entirely. For example, someone might port lemonbar to Wayland.

Hence, we should have a command line option to hand in the name of the bar binary. I suggest -b (bar or binary).

domsson commented 4 years ago

Should this really be a command line option, or rather an option in the configuration file? Blocks already have a bin option in their config files, we could do the same in succaderc.

domsson commented 4 years ago

Implemented with v1.0.0 - although the option is now named command, not bin.