1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-31 04:04:32 +00:00

kdeconnect: trigger indicator service after generic tray.target

Each of `polybar.service`, `stalonetray.service` and `taffybar.service`
contains `WantedBy=tray.target`. So we can use a single `tray.target` in
`kdeconnect-indicator.service`'s `After=`.

This also makes the applet service tray implementation agnostic, so long
as it integrates with `tray.target`.
This commit is contained in:
Alex Epelde 2025-03-26 14:46:51 -04:00
parent 693840c01b
commit 07dc7c0821

View file

@ -68,12 +68,7 @@ in {
systemd.user.services.kdeconnect-indicator = {
Unit = {
Description = "kdeconnect-indicator";
After = [
"graphical-session.target"
"polybar.service"
"taffybar.service"
"stalonetray.service"
];
After = [ "graphical-session.target" "tray.target" ];
PartOf = [ "graphical-session.target" ];
Requires = [ "tray.target" ];
};