diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-11-13 08:09:30 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-11-13 08:09:30 -0500 |
commit | f0ceb4e909bb0182d10ce09d34019497aa8d5715 (patch) | |
tree | fce740348501e7514496c78fd160bdc59ef6c68f /sway/config.c | |
parent | 5c3f40111a3c5ddfdd66bfda153c7962db674ed0 (diff) |
Try ~/.i3/config earlier than /etc/sway/config
And ~/.config/i3/config, of course.
Diffstat (limited to 'sway/config.c')
-rw-r--r-- | sway/config.c | 2 |
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) { 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) { |