121
121
int setDefault(const char *basename, const char *config) {
124
const char *conf = strJoin(confDir, "/", basename, NULL);
125
const char *confNew = strJoin(getenv("HOME"), "/.icewm/", basename, ".new.tmp", NULL);
126
const char *conf = strJoin(getenv("HOME"), "/.icewm/", basename, NULL);
127
127
int fd = open(confNew, O_RDWR | O_TEXT | O_CREAT | O_TRUNC | O_EXCL, 0666);