mirror of
https://github.com/swaywm/sway.git
synced 2024-11-17 21:49:16 +00:00
Revert "Try ~/.i3/config earlier than /etc/sway/config"
This reverts commit f0ceb4e909
.
This commit is contained in:
parent
f0ceb4e909
commit
38b18d460a
|
@ -137,9 +137,9 @@ static char *get_config_path(void) {
|
||||||
static const char *search_paths[] = {
|
static const char *search_paths[] = {
|
||||||
"/.sway/config", // Prepend with $home
|
"/.sway/config", // Prepend with $home
|
||||||
"/sway/config", // Prepend with $config
|
"/sway/config", // Prepend with $config
|
||||||
|
"/etc/sway/config",
|
||||||
"/.i3/config", // $home
|
"/.i3/config", // $home
|
||||||
"/i3/config", // $config
|
"/i3/config", // $config
|
||||||
"/etc/sway/config",
|
|
||||||
"/etc/i3/config"
|
"/etc/i3/config"
|
||||||
};
|
};
|
||||||
for (i = 0; i < (int)(sizeof(search_paths) / sizeof(char *)); ++i) {
|
for (i = 0; i < (int)(sizeof(search_paths) / sizeof(char *)); ++i) {
|
||||||
|
|
Loading…
Reference in a new issue