hypridle: Use After graphical-session.target instead of pre target
Before this, hypridle was running before graphical-session.target was started so it was missing the WAYLAND_DISPLAY var & could not start successfully. This PR adds a constraint to make hypridle start after the compositor, making sure WAYLAND_DISPLAY is available.
This commit is contained in:
parent
2fb5c1e0a1
commit
b37f702907
|
@ -79,7 +79,7 @@ in {
|
|||
Unit = {
|
||||
ConditionEnvironment = "WAYLAND_DISPLAY";
|
||||
Description = "hypridle";
|
||||
After = [ "graphical-session-pre.target" ];
|
||||
After = [ "graphical-session.target" ];
|
||||
PartOf = [ "graphical-session.target" ];
|
||||
X-Restart-Triggers =
|
||||
[ "${config.xdg.configFile."hypr/hypridle.conf".source}" ];
|
||||
|
|
Loading…
Reference in a new issue