From 2781b1da6e66826f971cc5b8499ff798a4e49abc Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Wed, 7 Apr 2021 16:54:41 -0700 Subject: [PATCH] account for different lid switches? --- bin/laptop-disp.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/laptop-disp.sh b/bin/laptop-disp.sh index a9f75e6..ea383ec 100755 --- a/bin/laptop-disp.sh +++ b/bin/laptop-disp.sh @@ -1,6 +1,6 @@ #!/bin/bash source $HOME/.config/sway/displays.sh -if grep -q open /proc/acpi/button/lid/LID/state; +if grep -q open /proc/acpi/button/lid/LID*/state; then swaymsg output $LAPTOP enable else