aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-11-13 08:17:29 -0500
committerDrew DeVault <sir@cmpwn.com>2015-11-13 08:17:29 -0500
commit38b18d460a21c8395b3849b15ff7963e3d201f94 (patch)
tree7704a81db6a52c09c1e9e6e12d73a5b108d45596 /sway
parentf0ceb4e909bb0182d10ce09d34019497aa8d5715 (diff)
Revert "Try ~/.i3/config earlier than /etc/sway/config"
This reverts commit f0ceb4e909bb0182d10ce09d34019497aa8d5715.
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 044e802b..0b25ee60 100644
--- a/sway/config.c
+++ b/sway/config.c
@@ -137,9 +137,9 @@ static char *get_config_path(void) {
static const char *search_paths[] = {
"/.sway/config", // Prepend with $home
"/sway/config", // Prepend with $config
+ "/etc/sway/config",
"/.i3/config", // $home
"/i3/config", // $config
- "/etc/sway/config",
"/etc/i3/config"
};
for (i = 0; i < (int)(sizeof(search_paths) / sizeof(char *)); ++i) {