swaync: use config.wayland.systemd.target
This commit is contained in:
parent
d3c500a8f8
commit
4cbc8a58ab
2 changed files with 4 additions and 4 deletions
|
@ -95,8 +95,8 @@ in {
|
||||||
Unit = {
|
Unit = {
|
||||||
Description = "Swaync notification daemon";
|
Description = "Swaync notification daemon";
|
||||||
Documentation = "https://github.com/ErikReider/SwayNotificationCenter";
|
Documentation = "https://github.com/ErikReider/SwayNotificationCenter";
|
||||||
PartOf = [ "graphical-session.target" ];
|
PartOf = [ config.wayland.systemd.target ];
|
||||||
After = [ "graphical-session-pre.target" ];
|
After = [ config.wayland.systemd.target ];
|
||||||
ConditionEnvironment = "WAYLAND_DISPLAY";
|
ConditionEnvironment = "WAYLAND_DISPLAY";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -107,7 +107,7 @@ in {
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
};
|
};
|
||||||
|
|
||||||
Install.WantedBy = [ "graphical-session.target" ];
|
Install.WantedBy = [ config.wayland.systemd.target ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
Type=dbus
|
Type=dbus
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
After=graphical-session-pre.target
|
After=graphical-session.target
|
||||||
ConditionEnvironment=WAYLAND_DISPLAY
|
ConditionEnvironment=WAYLAND_DISPLAY
|
||||||
Description=Swaync notification daemon
|
Description=Swaync notification daemon
|
||||||
Documentation=https://github.com/ErikReider/SwayNotificationCenter
|
Documentation=https://github.com/ErikReider/SwayNotificationCenter
|
||||||
|
|
Loading…
Reference in a new issue