aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--swaynag/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/swaynag/config.c b/swaynag/config.c
index b4c22443..e5e940c7 100644
--- a/swaynag/config.c
+++ b/swaynag/config.c
@@ -305,7 +305,7 @@ char *swaynag_get_config_path(void) {
305 }; 305 };
306 306
307 char *config_home = getenv("XDG_CONFIG_HOME"); 307 char *config_home = getenv("XDG_CONFIG_HOME");
308 if (!config_home || *config_home) { 308 if (!config_home || config_home[0] == '\0') {
309 config_paths[1] = "$HOME/.config/swaynag/config"; 309 config_paths[1] = "$HOME/.config/swaynag/config";
310 } 310 }
311 311