summary refs log tree commit diff stats
path: root/system/autorandr/docked-close/block
diff options
context:
space:
mode:
Diffstat (limited to 'system/autorandr/docked-close/block')
-rwxr-xr-xsystem/autorandr/docked-close/block3
1 files changed, 3 insertions, 0 deletions
diff --git a/system/autorandr/docked-close/block b/system/autorandr/docked-close/block
new file mode 100755
index 00000000..782c3a74
--- /dev/null
+++ b/system/autorandr/docked-close/block
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec grep -vq close /proc/acpi/button/lid/LID/state
\ No newline at end of file