summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscreen-locker.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/screen-locker.sh b/screen-locker.sh
index d22c8ad..51b6110 100755
--- a/screen-locker.sh
+++ b/screen-locker.sh
@@ -4,9 +4,11 @@ if pidof i3lock &> /dev/null; then exit 1; fi
revert() {
xset dpms 0 0 0
+ logger "unlocking screen"
}
trap revert SIGHUP SIGINT SIGTERM EXIT
xset +dpms dpms 10 10 10
xset dpms force off
+logger "locking screen"
i3lock -n -c 000000