feat: add $HOME to valid path

This commit is contained in:
Alexis 2018-12-03 20:12:34 +01:00
parent 812a7a9861
commit 2ec34e4adb

View File

@ -15,12 +15,14 @@ waybar::Client::Client(int argc, char* argv[])
config_file = getValidPath({
"$XDG_CONFIG_HOME/waybar/config",
"$HOME/.config/waybar/config",
"$HOME/waybar/config",
"/etc/xdg/waybar/config",
"./resources/config",
});
css_file = getValidPath({
"$XDG_CONFIG_HOME/waybar/style.css",
"$HOME/.config/waybar/style.css",
"$HOME/waybar/style.css",
"/etc/xdg/waybar/style.css",
"./resources/style.css",