oda: lock screen on suspend

This commit is contained in:
Meutel 2017-11-22 20:01:58 +01:00
parent 8335c3a010
commit 2ccd89db18
1 changed files with 5 additions and 0 deletions

5
suspend__oda.armorique.lan Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh
# /etc/apm/suspend
# lock screen on suspend
doas -u meutel env DISPLAY=:0 XAUTHORITY=/home/meutel/.Xauthority xlock -mode blank &
logger /etc/apm/suspend lock screen $?