aboutsummaryrefslogtreecommitdiff
path: root/sway/config.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2016-01-21 15:15:50 -0500
committerDrew DeVault <sir@cmpwn.com>2016-01-21 15:15:50 -0500
commit72f297fc713c55fc17a0f41614a33ad2942d0979 (patch)
tree4252d87c803f6be90a627cbcc60b0919481ed900 /sway/config.c
parentd969a1dec0be697f6fe4bea52ea5559e768ef18f (diff)
parentc487cf71a5cb5617053868a3db1f4a473ff99921 (diff)
Merge pull request #456 from gpyh/fix-config-dir
Fix issue #455
Diffstat (limited to 'sway/config.c')
-rw-r--r--sway/config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/config.c b/sway/config.c
index d8e1e938..c4614521 100644
--- a/sway/config.c
+++ b/sway/config.c
@@ -197,8 +197,8 @@ static char *get_config_path(void) {
"$XDG_CONFIG_HOME/sway/config",
"$HOME/.i3/config",
"$XDG_CONFIG_HOME/i3/config",
- "${CMAKE_INSTALL_FULL_SYSCONFDIR}/sway/config",
- "${CMAKE_INSTALL_FULL_SYSCONFDIR}/i3/config",
+ SYSCONFDIR "/sway/config",
+ SYSCONFDIR "/i3/config",
};
if (!getenv("XDG_CONFIG_HOME")) {