From: Vladimir-csp Date: Wed, 13 Nov 2019 21:49:33 +0000 (+0300) Subject: classes X-Git-Tag: 1.9~1^2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=bc77e56be75ad4a64b0bcbaf810fe89a7575349b;hp=4ed7fa9b24df994211bf399a67680189cd234a0a;p=deb_pkgs%2Fautorandr.git classes --- 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