13 lines
516 B
Plaintext
13 lines
516 B
Plaintext
$OpenBSD: patch-src_config_c,v 1.6 2011/12/01 16:00:01 dcoppa Exp $
|
|
--- src/config.c.orig Wed Nov 30 16:44:46 2011
|
|
+++ src/config.c Wed Nov 30 16:45:07 2011
|
|
@@ -210,7 +210,7 @@ static char *get_config_path(const char *override_conf
|
|
|
|
/* 4: check for $XDG_CONFIG_DIRS/i3/config */
|
|
if ((xdg_config_dirs = getenv("XDG_CONFIG_DIRS")) == NULL)
|
|
- xdg_config_dirs = "/etc/xdg";
|
|
+ xdg_config_dirs = "${SYSCONFDIR}/xdg";
|
|
|
|
char *buf = sstrdup(xdg_config_dirs);
|
|
char *tok = strtok(buf, ":");
|