We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ed7fa9 commit bc77e56Copy full SHA for bc77e56
contrib/listen_lid.sh
@@ -4,7 +4,7 @@
4
# sudo gpasswd -a $USER input
5
6
stdbuf -oL libinput debug-events | \
7
- egrep --line-buffered '^[[:space:]-]+event[0-9]+\s+SWITCH_TOGGLE\s' | \
+ grep -E --line-buffered '^[[:space:]-]+event[0-9]+[[:space:]]+SWITCH_TOGGLE[[:space:]]' | \
8
while read line; do
9
autorandr --change --default default
10
done
0 commit comments