I made a simple script and timer for a friend to automatically switch between light and dark theme on Plasma. In case anybody needs this.
I am a bit unsure. If you place the correct files in that .config dir, the services will just run? Nothing else required?
Yes, systemd has ability to run user services. For every logged in user there is one daemon socket that user can access to run services without ever rising privileges. They can run in background automatically as soon as you log in (at least one user session must be opened) or alternatively you can enable lingering for your account that assures it’s always up, so your user services can start on boot without you even logging in. It gets units from couple of directories - system packages can install user services in /usr/lib/systemd, custom global user services can go to /usr/local/lib/systemd for any individual user, theres also /etc/systemd and ~/.config/systemd for unit files of particular user.
Thanks, yes I am doing that for 2 projects.
They download the Thunderbird and Firefox arkenfox/equivalent user.js script and change them a bit.
The TB one is pretty clean and already uses it, the FF one is pretty messy and doesnt yet use it.
https://github.com/boredsquirrel/thunderbird-hardening-automation
You still need to activate the service units it seems, I will look into that.
I fail to understand why can’t you just add
systemctl --user enable --now thunderbird-hardening-overwrite.service
after doing
daemon-reload
.
No, you have to activate it, see 5.
Very cool!