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