From bc77e56be75ad4a64b0bcbaf810fe89a7575349b Mon Sep 17 00:00:00 2001 From: Vladimir-csp Date: Thu, 14 Nov 2019 00:49:33 +0300 Subject: [PATCH 1/1] classes --- contrib/listen_lid.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/listen_lid.sh b/contrib/listen_lid.sh index de60f40..8de7eb6 100755 --- a/contrib/listen_lid.sh +++ b/contrib/listen_lid.sh @@ -4,7 +4,7 @@ # sudo gpasswd -a $USER input stdbuf -oL libinput debug-events | \ - egrep --line-buffered '^[[:space:]-]+event[0-9]+\s+SWITCH_TOGGLE\s' | \ + grep -E --line-buffered '^[[:space:]-]+event[0-9]+[[:space:]]+SWITCH_TOGGLE[[:space:]]' | \ while read line; do autorandr --change --default default done -- 2.39.2