@hackage mute-unmute0.2.0.0

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

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.