l 2 screenlock: use DISPLAY :0
This commit is contained in:
parent
66cb7e01eb
commit
43d6c89dd6
|
@ -5,7 +5,7 @@
|
|||
before = [ "sleep.target" ];
|
||||
wantedBy = [ "sleep.target" ];
|
||||
environment = {
|
||||
DISPLAY = ":${toString config.services.xserver.display}";
|
||||
DISPLAY = ":0";
|
||||
};
|
||||
serviceConfig = {
|
||||
SyslogIdentifier = "screenlock";
|
||||
|
|
Loading…
Reference in a new issue