add screen lock to suspend on lid close
This commit is contained in:
parent
9ef6ded3c1
commit
f2ab754729
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue