summaryrefslogtreecommitdiffstats
path: root/lass/2configs
diff options
context:
space:
mode:
authorlassulus <lass@lassul.us>2017-02-16 13:15:58 +0100
committerlassulus <lass@lassul.us>2017-02-16 13:15:58 +0100
commit43d6c89dd68a6c2cda969d716ff381bd47c0545d (patch)
treea15588221efd4c5eb980f564de0ed62d37f68da2 /lass/2configs
parent66cb7e01eb9b7bf9d4348b31fa38492270fa8ec0 (diff)
l 2 screenlock: use DISPLAY :0
Diffstat (limited to 'lass/2configs')
-rw-r--r--lass/2configs/screenlock.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lass/2configs/screenlock.nix b/lass/2configs/screenlock.nix
index 237127f69..b5bc4ee2a 100644
--- a/lass/2configs/screenlock.nix
+++ b/lass/2configs/screenlock.nix
@@ -5,7 +5,7 @@
before = [ "sleep.target" ];
wantedBy = [ "sleep.target" ];
environment = {
- DISPLAY = ":${toString config.services.xserver.display}";
+ DISPLAY = ":0";
};
serviceConfig = {
SyslogIdentifier = "screenlock";