Useless cat

qoheniac 2021-02-16 15:43:43 +01:00
parent 90022eb6d1
commit bd1bfe582f

@ -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 <LAPTOP> enable
else
swaymsg output <LAPTOP> disable