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:
parent
693840c01b
commit
07dc7c0821
1 changed files with 1 additions and 6 deletions
|
@ -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" ];
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue