|
|
|
@ -41,7 +41,7 @@ static char *get_config_path() {
|
|
|
|
|
} else {
|
|
|
|
|
name = "/sway/config";
|
|
|
|
|
temp = malloc(strlen(xdg_config_home) + strlen(name) + 1);
|
|
|
|
|
strcpy(xdg_config_home, home);
|
|
|
|
|
strcpy(temp, xdg_config_home);
|
|
|
|
|
strcat(temp, name);
|
|
|
|
|
}
|
|
|
|
|
if (exists(temp)) {
|
|
|
|
@ -94,7 +94,7 @@ static char *get_config_path() {
|
|
|
|
|
} else {
|
|
|
|
|
name = "/i3/config";
|
|
|
|
|
temp = malloc(strlen(xdg_config_home) + strlen(name) + 1);
|
|
|
|
|
strcpy(xdg_config_home, home);
|
|
|
|
|
strcpy(temp, xdg_config_home);
|
|
|
|
|
strcat(temp, name);
|
|
|
|
|
}
|
|
|
|
|
if (exists(temp)) {
|
|
|
|
|