mute-unmute

Watches your screensaver and (un)mutes music when you (un)lock the screen.

http://github.com/Tener/mute-unmute

Latest on Hackage:0.2.0.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

GPL-3.0-only licensed by Krzysztof Skrzętnicki
Maintained by [email protected]

This simple program will watch for the activation of screensaver in via it's DBus API. Current version works for Gnome (tested on: 2.30.0) and KDE (tested on: 4.5.0). Additionally it will only work for ALSA (usage of alsactl command), but this be simple to fix if needed. It could also serve as an example of simple program that works with DBus in Haskell.