aboutsummaryrefslogtreecommitdiffstats
path: root/sway
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2015-11-13 08:09:30 -0500
committerLibravatar Drew DeVault <sir@cmpwn.com>2015-11-13 08:09:30 -0500
commitf0ceb4e909bb0182d10ce09d34019497aa8d5715 (patch)
treefce740348501e7514496c78fd160bdc59ef6c68f /sway
parentFix man page installs (diff)
downloadsway-f0ceb4e909bb0182d10ce09d34019497aa8d5715.tar.gz
sway-f0ceb4e909bb0182d10ce09d34019497aa8d5715.tar.zst
sway-f0ceb4e909bb0182d10ce09d34019497aa8d5715.zip
Try ~/.i3/config earlier than /etc/sway/config
And ~/.config/i3/config, of course.
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 0b25ee60..044e802b 100644
--- a/sway/config.c
+++ b/sway/config.c
@@ -137,9 +137,9 @@ static char *get_config_path(void) {
137 static const char *search_paths[] = { 137 static const char *search_paths[] = {
138 "/.sway/config", // Prepend with $home 138 "/.sway/config", // Prepend with $home
139 "/sway/config", // Prepend with $config 139 "/sway/config", // Prepend with $config
140 "/etc/sway/config",
141 "/.i3/config", // $home 140 "/.i3/config", // $home
142 "/i3/config", // $config 141 "/i3/config", // $config
142 "/etc/sway/config",
143 "/etc/i3/config" 143 "/etc/i3/config"
144 }; 144 };
145 for (i = 0; i < (int)(sizeof(search_paths) / sizeof(char *)); ++i) { 145 for (i = 0; i < (int)(sizeof(search_paths) / sizeof(char *)); ++i) {