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