From f0ceb4e909bb0182d10ce09d34019497aa8d5715 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 13 Nov 2015 08:09:30 -0500 Subject: [PATCH] Try ~/.i3/config earlier than /etc/sway/config And ~/.config/i3/config, of course. --- sway/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sway/config.c b/sway/config.c index 0b25ee601..044e802bc 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) {