David Anthony <[email protected]> wrote:

> Hello,
> 
> Is there a program which can check the current status of a laptop lid 
> (open/closed)?

the lid show in in sensors

sysctl | grep 'lid ' finds it

hw.sensors.acpibtn0.indicator0=On (lid open)

This specific name can vary between machines

Reply via email to