aboutsummaryrefslogtreecommitdiff
path: root/files/usr/local/libexec/lid-close.laptop
diff options
context:
space:
mode:
Diffstat (limited to 'files/usr/local/libexec/lid-close.laptop')
-rw-r--r--files/usr/local/libexec/lid-close.laptop4
1 files changed, 4 insertions, 0 deletions
diff --git a/files/usr/local/libexec/lid-close.laptop b/files/usr/local/libexec/lid-close.laptop
new file mode 100644
index 0000000..acbd93e
--- /dev/null
+++ b/files/usr/local/libexec/lid-close.laptop
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+/usr/bin/pkill -USR1 xidle
+/usr/sbin/acpiconf -s3