|
|
@ -153,8 +153,8 @@ static char *get_config_path(void) {
|
|
|
|
"$XDG_CONFIG_HOME/sway/config",
|
|
|
|
"$XDG_CONFIG_HOME/sway/config",
|
|
|
|
"$HOME/.i3/config",
|
|
|
|
"$HOME/.i3/config",
|
|
|
|
"$XDG_CONFIG_HOME/i3/config",
|
|
|
|
"$XDG_CONFIG_HOME/i3/config",
|
|
|
|
FALLBACK_CONFIG_DIR "/config",
|
|
|
|
"${CMAKE_INSTALL_FULL_SYSCONFDIR}/sway/config",
|
|
|
|
"/etc/i3/config",
|
|
|
|
"${CMAKE_INSTALL_FULL_SYSCONFDIR}/i3/config",
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
if (!getenv("XDG_CONFIG_HOME")) {
|
|
|
|
if (!getenv("XDG_CONFIG_HOME")) {
|
|
|
|