Merge pull request #1600 from leophys/master

Add support for reading the config path from env
This commit is contained in:
Alex
2022-09-05 10:56:01 +02:00
committed by GitHub
2 changed files with 29 additions and 5 deletions

View File

@ -14,6 +14,7 @@ namespace waybar {
class Config {
public:
static const std::vector<std::string> CONFIG_DIRS;
static const char *CONFIG_PATH_ENV;
/* Try to find any of provided names in the supported set of config directories */
static std::optional<std::string> findConfigPath(