News for hackers. Stuff that matters.
Re:Show HN: Figure out when you closed your MacBook lid by jvinet on Monday March 23, 2015 @02:30AM (#9249716)
If you're on Linux, you can accomplish this with dbus.

https://github.com/jvinet/dotfiles/blob/master/bin/doorman.p...

Re:Show HN: Figure out when you closed your MacBook lid by hobarrera on Monday March 23, 2015 @10:18AM (#9251011)
What else do you need running for this? I don't see anyone exposing "org.freedesktop.login1.Manager".

Or how does this get called?