From bd1bfe582fc2403078606cc5214b65b29145a5a9 Mon Sep 17 00:00:00 2001 From: qoheniac <29815186+qoheniac@users.noreply.github.com> Date: Tue, 16 Feb 2021 15:43:43 +0100 Subject: [PATCH] Useless cat --- Home.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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