summaryrefslogtreecommitdiffhomepage
path: root/xmobar.cabal
diff options
context:
space:
mode:
authorDaniel Schüssler <933504+DanielSchuessler@users.noreply.github.com>2018-08-26 17:29:43 +0200
committerDaniel Schüssler <933504+DanielSchuessler@users.noreply.github.com>2018-10-06 19:53:10 +0200
commit31fa44e9aa4ba4d3db8688d785b766fd5e7cf8f1 (patch)
tree66c08503533c347b1917655bbd65911e4dff2616 /xmobar.cabal
parent9050163edf67f2f510c47a482b9c156f94e89275 (diff)
downloadxmobar-31fa44e9aa4ba4d3db8688d785b766fd5e7cf8f1.tar.gz
xmobar-31fa44e9aa4ba4d3db8688d785b766fd5e7cf8f1.tar.bz2
Turn the --monitor option to `Volume` into a new plugin `Alsa` instead
See #360.
Diffstat (limited to 'xmobar.cabal')
-rw-r--r--xmobar.cabal12
1 files changed, 9 insertions, 3 deletions
diff --git a/xmobar.cabal b/xmobar.cabal
index 6306677..1a3684c 100644
--- a/xmobar.cabal
+++ b/xmobar.cabal
@@ -45,7 +45,8 @@ test-suite XmobarTest
Plugins.Monitors.ThermalZone, Plugins.Monitors.Top,
Plugins.Monitors.Uptime,
Plugins.Monitors.Bright, Plugins.Monitors.CatInt,
- Plugins.Monitors.VolumeSpec
+ Plugins.Monitors.CommonSpec
+
build-depends:
base >= 4.9.1.0 && < 4.13,
hspec == 2.*,
@@ -69,8 +70,11 @@ test-suite XmobarTest
if flag(with_alsa) || flag(all_extensions)
build-depends: alsa-mixer > 0.2.0.2
- build-depends: alsa-core == 0.5.*
+ build-depends: alsa-core == 0.5.*,
+ process >= 1.4.3.0
other-modules: Plugins.Monitors.Volume
+ Plugins.Monitors.Alsa
+ Plugins.Monitors.AlsaSpec
cpp-options: -DALSA
source-repository head
@@ -229,8 +233,10 @@ executable xmobar
if flag(with_alsa) || flag(all_extensions)
build-depends: alsa-mixer > 0.2.0.2
- build-depends: alsa-core == 0.5.*
+ build-depends: alsa-core == 0.5.*,
+ process >= 1.4.3.0
other-modules: Plugins.Monitors.Volume
+ Plugins.Monitors.Alsa
cpp-options: -DALSA
if flag(with_datezone) || flag(all_extensions)