fnott: use config.wayland.systemd.target

Also add missing `ConditionEnvironment`.
This commit is contained in:
Thiago Kenji Okada 2024-12-31 10:27:09 +00:00 committed by Robert Helgesson
parent 656ae5aba2
commit 14cb0c8cfa
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED
2 changed files with 5 additions and 3 deletions

View file

@ -88,8 +88,9 @@ in {
Unit = {
Description = "Fnott notification daemon";
Documentation = "man:fnott(1)";
After = [ "graphical-session-pre.target" ];
PartOf = [ "graphical-session.target" ];
After = [ config.wayland.systemd.target ];
PartOf = [ config.wayland.systemd.target ];
ConditionEnvironment = "WAYLAND_DISPLAY";
};
Service = {