mirror of
https://github.com/nix-community/home-manager
synced 2024-11-25 22:20:29 +00:00
swayidle: wait for WAYLAND_DISPLAY
To avoid this kind of message: swayidle[181123]: - [Line 1054] Unable to connect to the compositor. If your compositor is running, check or set the WAYLAND_DISPLAY environment variable.
This commit is contained in:
parent
62da78e1f8
commit
9b53a10f4c
1 changed files with 1 additions and 0 deletions
|
@ -118,6 +118,7 @@ in {
|
|||
Unit = {
|
||||
Description = "Idle manager for Wayland";
|
||||
Documentation = "man:swayidle(1)";
|
||||
ConditionEnvironment = "WAYLAND_DISPLAY";
|
||||
PartOf = [ "graphical-session.target" ];
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue