l sreenlock: get DISPLAY from xserver.display
This commit is contained in:
parent
aab2624a60
commit
4c6a578673
@ -23,7 +23,7 @@ let
|
||||
before = [ "sleep.target" ];
|
||||
wantedBy = [ "sleep.target" ];
|
||||
environment = {
|
||||
DISPLAY = ":0";
|
||||
DISPLAY = ":${toString config.services.xserver.display}";
|
||||
};
|
||||
serviceConfig = {
|
||||
SyslogIdentifier = "screenlock";
|
||||
|
Loading…
Reference in New Issue
Block a user