aboutsummaryrefslogtreecommitdiffstats
path: root/sway
diff options
context:
space:
mode:
authorLibravatar Yacine Hmito <yacine.hmito@gmail.com>2015-12-01 01:23:16 +0100
committerLibravatar Yacine Hmito <yacine.hmito@gmail.com>2015-12-01 19:41:44 +0100
commitf3f77f9ff1912a2b05304ba8a5278f42e16b6c1b (patch)
treedc64bfc3a3fe77cf607c2251f61caa3cb6cdc4a1 /sway
parentCan customize config fallback directory (diff)
downloadsway-f3f77f9ff1912a2b05304ba8a5278f42e16b6c1b.tar.gz
sway-f3f77f9ff1912a2b05304ba8a5278f42e16b6c1b.tar.zst
sway-f3f77f9ff1912a2b05304ba8a5278f42e16b6c1b.zip
FALLBACK_CONFIG_DIR did not work. Fixed.
- Flag was ignored. Now it's taken into account. - Missing trailing slashes in path now behaves properly.
Diffstat (limited to 'sway')
-rw-r--r--sway/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/config.c b/sway/config.c
index dac3e8f8..6a1d172b 100644
--- a/sway/config.c
+++ b/sway/config.c
@@ -136,7 +136,7 @@ static char *get_config_path(void) {
136 "$XDG_CONFIG_HOME/sway/config", 136 "$XDG_CONFIG_HOME/sway/config",
137 "$HOME/.i3/config", 137 "$HOME/.i3/config",
138 "$XDG_CONFIG_HOME/i3/config", 138 "$XDG_CONFIG_HOME/i3/config",
139 FALLBACK_CONFIG_DIR "config", 139 FALLBACK_CONFIG_DIR "/config",
140 "/etc/i3/config", 140 "/etc/i3/config",
141 }; 141 };
142 142