Try ~/.i3/config earlier than /etc/sway/config

And ~/.config/i3/config, of course.
master
Drew DeVault 9 years ago
parent 5c3f40111a
commit f0ceb4e909

@ -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) {

Loading…
Cancel
Save