diff --git a/Home.md b/Home.md index 838c7f2..5441110 100644 --- a/Home.md +++ b/Home.md @@ -92,7 +92,7 @@ However, when reloading sway while using clamshell mode, the displays may reset ``` #!/usr/bin/bash -if cat /proc/acpi/button/lid/LID/state | grep -q open; then +if grep -q open /proc/acpi/button/lid/LID/state; then swaymsg output enable else swaymsg output disable