mirror of
https://github.com/zoriya/home-manager.git
synced 2026-06-07 04:05:26 +00: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:
@@ -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}" ];
|
||||
|
||||
Reference in New Issue
Block a user