3 ms·
It's definitely a tradeoff, but I decided to do it this way for ease of maintenance. Most of the settings are 0/1 or a one-line string, but a few are multi-lin
by forgotmypw17 4y ago
It's definitely a tradeoff, but I decided to do it this way for ease of maintenance.
Most of the settings are 0/1 or a one-line string, but a few are multi-line.
This also allows me to store templates under the same tree, which is where most of the code lives.
Because I use one call for getting and setting a config setting, I can probably rearchitect it in the future to e.g. a key-value store.
But for now, it just makes it so easy to maintain from the shell, and to create overlay themes, and so many other possibilities that I'd never dreamed of before.