Skip to content

Commit 80ae77e

Browse files
authored
kdeconnect: trigger indicator service after generic tray.target (#6711)
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`.
1 parent 5966fc8 commit 80ae77e

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

modules/services/kdeconnect.nix

+1-6
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,7 @@ in {
6868
systemd.user.services.kdeconnect-indicator = {
6969
Unit = {
7070
Description = "kdeconnect-indicator";
71-
After = [
72-
"graphical-session.target"
73-
"polybar.service"
74-
"taffybar.service"
75-
"stalonetray.service"
76-
];
71+
After = [ "graphical-session.target" "tray.target" ];
7772
PartOf = [ "graphical-session.target" ];
7873
Requires = [ "tray.target" ];
7974
};

0 commit comments

Comments
 (0)