mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 11:39:46 +01:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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