l 2 screenlock: use DISPLAY :0

This commit is contained in:
lassulus 2017-02-16 13:15:58 +01:00
parent 66cb7e01eb
commit 43d6c89dd6

View File

@ -5,7 +5,7 @@
before = [ "sleep.target" ];
wantedBy = [ "sleep.target" ];
environment = {
DISPLAY = ":${toString config.services.xserver.display}";
DISPLAY = ":0";
};
serviceConfig = {
SyslogIdentifier = "screenlock";