diff options
author | Thomas Tuegel <ttuegel@gmail.com> | 2011-01-13 10:34:09 -0600 |
---|---|---|
committer | Thomas Tuegel <ttuegel@gmail.com> | 2011-01-13 10:36:41 -0600 |
commit | e3c9b33170f1064077aa8578342369657b9e059c (patch) | |
tree | 8478ba072b620a8da621828ce117139458c216d5 /xmobar.cabal | |
parent | bfbbe753e83efa25bc3408e61fe86c6223e6c695 (diff) | |
download | xmobar-e3c9b33170f1064077aa8578342369657b9e059c.tar.gz xmobar-e3c9b33170f1064077aa8578342369657b9e059c.tar.bz2 |
Added volume monitor based on alsa-mixer.
Diffstat (limited to 'xmobar.cabal')
-rw-r--r-- | xmobar.cabal | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/xmobar.cabal b/xmobar.cabal index e5ee507..0eac0fa 100644 --- a/xmobar.cabal +++ b/xmobar.cabal @@ -53,6 +53,10 @@ flag all_extensions description: Includes all optional extensions. default: False +flag with_alsa + description: Use alsa-mixer to get the volume from soundcards. + default: False + executable xmobar hs-source-dirs: src main-is: Main.hs @@ -109,3 +113,7 @@ executable xmobar build-depends: libmpd >= 0.5 other-modules: Plugins.Monitors.MPD cpp-options: -DLIBMPD + + if flag(with_alsa) || flag(all_extensions) + build-depends: alsa-mixer + cpp-options: -DALSA |