lidwatch

Util to watch LID switching.

Build and install

sh cargo install lidwatch

Use

sh lidwatch /dev/input/<lid event> <command to be executed when LID is closed>