Starting wmfs with an alternate wmfs was possible with wmfs -C
otherWmfsrc but only $HOME/.config/wmfsrc was read when reloading wmfs. Now, if you start wmfs with -C and a different file, this file will be reloaded.
This commit is contained in:
parent
b7ded56ef9
commit
2d9baf78c5
@ -282,7 +282,8 @@ uicb_reload(uicb_t cmd)
|
||||
|
||||
for(; argv_global[0] && argv_global[0] == ' '; ++argv_global);
|
||||
|
||||
execlp(argv_global, argv_global, NULL);
|
||||
// add -C to always load the same config file
|
||||
execlp(argv_global, argv_global, "-C", conf.confpath, NULL);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user