diff options
author | Daniel Schüssler <933504+DanielSchuessler@users.noreply.github.com> | 2018-08-25 23:57:07 +0200 |
---|---|---|
committer | Daniel Schüssler <933504+DanielSchuessler@users.noreply.github.com> | 2018-10-06 19:52:44 +0200 |
commit | 6d20569d5b9b7f7f408d9e05ee9aee370f9e58dc (patch) | |
tree | 38c23b7c7d8f41f6ad620238ada55c14ea7e68ca /src/Plugins/Monitors.hs | |
parent | a6b2dfc9c9b76fd6a9ec22d71d03b27d9b7689bb (diff) | |
download | xmobar-6d20569d5b9b7f7f408d9e05ee9aee370f9e58dc.tar.gz xmobar-6d20569d5b9b7f7f408d9e05ee9aee370f9e58dc.tar.bz2 |
Add event-based refreshing for Volume plugin (--monitor option)
This uses alsactl monitor for push/event-based updating instead of
polling.
Diffstat (limited to 'src/Plugins/Monitors.hs')
-rw-r--r-- | src/Plugins/Monitors.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Plugins/Monitors.hs b/src/Plugins/Monitors.hs index 873130e..2fe7cc2 100644 --- a/src/Plugins/Monitors.hs +++ b/src/Plugins/Monitors.hs @@ -183,7 +183,7 @@ instance Exec Monitors where start (AutoMPD a) = runMBD a mpdConfig runMPD mpdWait mpdReady #endif #ifdef ALSA - start (Volume m c a r) = runM a volumeConfig (runVolume m c) r + start (Volume m c a r) = startVolume m c a r #endif #ifdef MPRIS start (Mpris1 s a r) = runM a mprisConfig (runMPRIS1 s) r |