summary refs log tree commit diff stats
path: root/system/autorandr/docked-close/block
diff options
context:
space:
mode:
authorAlan Pearce2019-10-15 19:27:02 +0200
committerAlan Pearce2019-10-16 19:27:33 +0200
commit4de959a979b253ecc846b01330b407468e9bedc0 (patch)
tree36863947a003495b0b3aef71b6dd553973fd9d5e /system/autorandr/docked-close/block
parentf54cbbbdb371148f89a7551f93158f0c552326da (diff)
downloadnixfiles-4de959a979b253ecc846b01330b407468e9bedc0.tar.lz
nixfiles-4de959a979b253ecc846b01330b407468e9bedc0.tar.zst
nixfiles-4de959a979b253ecc846b01330b407468e9bedc0.zip
Move autorandr to system
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