$OpenBSD: patch-libi3_get_config_path_c,v 1.2 2016/11/13 20:46:23 dcoppa Exp $
--- libi3/get_config_path.c.orig	Tue Nov  8 19:54:01 2016
+++ libi3/get_config_path.c	Thu Nov 10 18:04:35 2016
@@ -71,7 +71,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, ":");
