Waybar icon indicating copy to clipboard operation
Waybar copied to clipboard

Add support for reading the config path from env

Open leophys opened this issue 2 years ago • 0 comments

Please, have mercy. I am a mere go dev, and this is my first attempt at C++. I wanted to add support to reading the config path from an environment variable.

This PR adds support to reading the config base path from the environment variable WAYBAR_CONFIG_DIR. If it is set, but no configuration is found there, it falls back to the previous mechanism of using the default paths, without erroring.

leophys avatar Jun 25 '22 10:06 leophys

Hi @Alexays! I am sorry for nudging you. Do you have the chance to review this PR?

Thanks again :)

leophys avatar Aug 26 '22 16:08 leophys

Sorry for the delay, lgtm :)

Alexays avatar Sep 05 '22 08:09 Alexays

Nice, thanks!

leophys avatar Sep 05 '22 09:09 leophys