From 1db7a0b42164eaac3d0091124477b5fd914a1ca0 Mon Sep 17 00:00:00 2001 From: OdiousImp2604 <74424076+OdiousImp2604@users.noreply.github.com> Date: Fri, 24 Dec 2021 14:14:34 +0000 Subject: [PATCH] Update clamshell.sh --- .config/sway/scripts/clamshell.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/sway/scripts/clamshell.sh b/.config/sway/scripts/clamshell.sh index 1404d36..36b5146 100644 --- a/.config/sway/scripts/clamshell.sh +++ b/.config/sway/scripts/clamshell.sh @@ -1,5 +1,5 @@ #!/usr/bin/bash -if cat /proc/acpi/button/lid/LID/state | grep -q open; then +if cat /proc/acpi/button/lid/*/state | grep -q open; then swaymsg output enable else swaymsg output disable