bindsym with laptop lid closing event
Is it somehow possible to catch the lid closing event of a notebook and use bindsym to run a command when the lid is closed?
edit: I tried xev
, because I thought it might catch some event, but without effect.
This might depend on your hardware and/or configuration whether "LID close" emits a keypress event at all. If xev doesn't show anything you will have to search elsewehere first.
Search this FAQ for "lid close", there should be a few things.