mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
feat: add $HOME to valid path
This commit is contained in:
parent
812a7a9861
commit
2ec34e4adb
@ -15,12 +15,14 @@ waybar::Client::Client(int argc, char* argv[])
|
|||||||
|
|
||||||
config_file = getValidPath({
|
config_file = getValidPath({
|
||||||
"$XDG_CONFIG_HOME/waybar/config",
|
"$XDG_CONFIG_HOME/waybar/config",
|
||||||
|
"$HOME/.config/waybar/config",
|
||||||
"$HOME/waybar/config",
|
"$HOME/waybar/config",
|
||||||
"/etc/xdg/waybar/config",
|
"/etc/xdg/waybar/config",
|
||||||
"./resources/config",
|
"./resources/config",
|
||||||
});
|
});
|
||||||
css_file = getValidPath({
|
css_file = getValidPath({
|
||||||
"$XDG_CONFIG_HOME/waybar/style.css",
|
"$XDG_CONFIG_HOME/waybar/style.css",
|
||||||
|
"$HOME/.config/waybar/style.css",
|
||||||
"$HOME/waybar/style.css",
|
"$HOME/waybar/style.css",
|
||||||
"/etc/xdg/waybar/style.css",
|
"/etc/xdg/waybar/style.css",
|
||||||
"./resources/style.css",
|
"./resources/style.css",
|
||||||
|
Loading…
Reference in New Issue
Block a user