Correct .json to .jsonc
This commit is contained in:
parent
c65ec9e14f
commit
99918205ed
|
@ -207,13 +207,13 @@ std::tuple<const std::string, const std::string> waybar::Client::getConfigs(
|
||||||
const std::string &config, const std::string &style) const {
|
const std::string &config, const std::string &style) const {
|
||||||
auto config_file = config.empty() ? getValidPath({
|
auto config_file = config.empty() ? getValidPath({
|
||||||
"$XDG_CONFIG_HOME/waybar/config",
|
"$XDG_CONFIG_HOME/waybar/config",
|
||||||
"$XDG_CONFIG_HOME/waybar/config.json",
|
"$XDG_CONFIG_HOME/waybar/config.jsonc",
|
||||||
"$HOME/.config/waybar/config",
|
"$HOME/.config/waybar/config",
|
||||||
"$HOME/.config/waybar/config.json",
|
"$HOME/.config/waybar/config.jsonc",
|
||||||
"$HOME/waybar/config",
|
"$HOME/waybar/config",
|
||||||
"$HOME/waybar/config.json",
|
"$HOME/waybar/config.jsonc",
|
||||||
"/etc/xdg/waybar/config",
|
"/etc/xdg/waybar/config",
|
||||||
"/etc/xdg/waybar/config.json",
|
"/etc/xdg/waybar/config.jsonc",
|
||||||
SYSCONFDIR "/xdg/waybar/config",
|
SYSCONFDIR "/xdg/waybar/config",
|
||||||
"./resources/config",
|
"./resources/config",
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue