summaryrefslogtreecommitdiff
path: root/etc/systemd/system/betterlockscreen@.service
diff options
context:
space:
mode:
Diffstat (limited to 'etc/systemd/system/betterlockscreen@.service')
-rw-r--r--etc/systemd/system/betterlockscreen@.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/systemd/system/betterlockscreen@.service b/etc/systemd/system/betterlockscreen@.service
index 012789a..99af0e0 100644
--- a/etc/systemd/system/betterlockscreen@.service
+++ b/etc/systemd/system/betterlockscreen@.service
@@ -7,9 +7,9 @@ Before=suspend.target
User=%I
Type=simple
Environment=DISPLAY=:0
+ExecStartPre=/usr/bin/xset dpms force suspend
ExecStart=/usr/bin/betterlockscreen --lock dimblur
TimeoutSec=infinity
-ExecStartPost=/usr/bin/sleep 1
[Install]
WantedBy=sleep.target