3 ms·
The main problem I have with modern desktop environments is the lack of scriptable automation... I really hope they build something like this. Although I could
by sandreas 3y ago
The main problem I have with modern desktop environments is the lack of scriptable automation... I really hope they build something like this.
Although I could just save all dotfiles, configs and extensions via file backup, I always struggle to create a script based setup.
I would love to maintain a list of extension names, settings etc and have something like:
gnome-extension install --config-file my-extension-config.txt
kde-plugin install --config my-plugin-config.txt
gsettings set --config-file my-settings.txt
just a little more reliable... Maybe a hard problem, but I think this would be great.
Export settings would also be great.
gsettings export --to my-settings.txt
:-)
- stijnveken 3y agoIt's probably overkill for what you are trying to do. But I have been using home-manager [0] as a way to quickly restore my working environment. [0] https://nix-community.github.io/home-manager/ https://nix-community.github.io/home-manager/
- sandreas 3y agoI'm planning to go NixOS as soon as possible. That is exactly what I would like to have - a fully working environment with one set of config files.
- deleted 3y ago[deleted]
- micimize 3y agoWhat level are you interested in scripting? In KDE Plasma you can interact with the desktop UI via JS: https://develop.kde.org/docs/plasma/scripting/ https://develop.kde.org/docs/plasma/scripting/ And then for something more sophisticated there are extensions like https://github.com/Bismuth-Forge/bismuth https://github.com/Bismuth-Forge/bismuth. It does all feel a little disorganized/wild-west-y compared to say, a .vimrc with a list of plugins and bindings, which is something that makes a system like Nix (or a fully containerized DE of some kind) appealing
- sandreas 3y ago> It does all feel a little disorganized/wild-west-y compared to say That is exactly what I'm missing. NixOS is pretty high in my todo list.