You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I just discovered your software, it seems a really nice tool, congrats !
I've noticed that if there is a syntax error in config.json, then lwsm overwrites it with its default value when restoring a config. This behavior seems to me annoying because you can loose your own config (eg the mapping you have defined in WM_CLASS_AND_EXECUTABLE_FILE_MAP) if you didn't save/version it before.
I would propose to:
add a print in a terminal when this case happens
stop the restore or at least save the current config.json to config_20210320_120034.json and then resume the restore
Best regards,
Victor
The text was updated successfully, but these errors were encountered:
vnadot
changed the title
do not overwrite config.json if json syntax error when restoring
do not overwrite config.json while restoring if json syntax error
Mar 20, 2022
Hi,
I just discovered your software, it seems a really nice tool, congrats !
I've noticed that if there is a syntax error in
config.json
, thenlwsm
overwrites it with its default value when restoring a config. This behavior seems to me annoying because you can loose your own config (eg the mapping you have defined inWM_CLASS_AND_EXECUTABLE_FILE_MAP
) if you didn't save/version it before.I would propose to:
restore
or at least save the currentconfig.json
to config_20210320_120034.json and then resume therestore
Best regards,
Victor
The text was updated successfully, but these errors were encountered: