2 Description=Runs autorandr whenever the lid state changes
6 ExecStart=sh -c "stdbuf -oL libinput debug-events | egrep --line-buffered '^[[:space:]-]+event[0-9]+\\s+SWITCH_TOGGLE\\s' | while read line; do autorandr --batch --change --default default; done"
9 SyslogIdentifier=autorandr
12 WantedBy=multi-user.target