diff --git a/sleepy.sh b/sleepy.sh index 0c263a0..9a17de3 100755 --- a/sleepy.sh +++ b/sleepy.sh @@ -15,6 +15,7 @@ acpi_listen | { if [ ! -z "$(acpi -a | grep off-line)" ]; then if [ "${event}" = "button/lid LID close" ]; then + slock & sleep 1 zzz fi fi