$OpenBSD: patch-libi3_get_config_path_c,v 1.1 2015/10/04 08:48:12 dcoppa Exp $
--- libi3/get_config_path.c.orig	Sun Oct  4 10:09:31 2015
+++ libi3/get_config_path.c	Sun Oct  4 10:09:58 2015
@@ -70,7 +70,7 @@ char *get_config_path(const char *override_configpath,
 
     /* 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, ":");
