swayosd: use config.wayland.systemd.target
This commit is contained in:
parent
4cbc8a58ab
commit
51ba4aacec
1 changed files with 3 additions and 3 deletions
|
@ -56,8 +56,8 @@ in {
|
||||||
services.swayosd = {
|
services.swayosd = {
|
||||||
Unit = {
|
Unit = {
|
||||||
Description = "Volume/backlight OSD indicator";
|
Description = "Volume/backlight OSD indicator";
|
||||||
PartOf = [ "graphical-session.target" ];
|
PartOf = [ config.wayland.systemd.target ];
|
||||||
After = [ "graphical-session.target" ];
|
After = [ config.wayland.systemd.target ];
|
||||||
ConditionEnvironment = "WAYLAND_DISPLAY";
|
ConditionEnvironment = "WAYLAND_DISPLAY";
|
||||||
Documentation = "man:swayosd(1)";
|
Documentation = "man:swayosd(1)";
|
||||||
StartLimitBurst = 5;
|
StartLimitBurst = 5;
|
||||||
|
@ -76,7 +76,7 @@ in {
|
||||||
RestartSec = "2s";
|
RestartSec = "2s";
|
||||||
};
|
};
|
||||||
|
|
||||||
Install = { WantedBy = [ "graphical-session.target" ]; };
|
Install = { WantedBy = [ config.wayland.systemd.target ]; };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue