Closed julientechdev closed 5 years ago
A simpler approach could be to use GSettings KeyFile backend.
I never tested it (and still I am using i3 ;-) ) but it should either be as simple as exporting G_SETTINGS_BACKEND=keyfile
or require a small change in Germinal to explicitly request that backend (based on whatever condition feels best).
I see two "simple" possibilities here:
I'd be ok with those two, but I won't ever do hot reloading of configuration based on the filesystem. It's just not reliable.
Actually the first one should be quite easy to implement, will do it later
Currently Germinal is configured via Gsettings and it works well with instantaneous changes of the config.
But for those of us not running the GNOME stack (sway in my case but any tiling wm is the same) and/or managing our dotfiles via git so it can be easily shared accross machines, a simple config file in $XDG_CONFIG_HOME/Germinal/config would be awesome.
The logic could be: Use Gsettings if no config file is present, override if present.