I like this idea, but I would change it a bit (to also solve the state thing mentioned in this thread:
Yo have different folders for different configuration sets (one for each configuration) and a folder called current.
You change values in the configuration folders (e.g. one for home, one for work). If you finished, you do an "echo home > config_in_use" or something like that and the values of this folder are copied to current.
current is no symlink to solve the problem, if something crashes between changing and applying. So the current state could always be read from folder current.
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds