summaryrefslogtreecommitdiffhomepage
path: root/xmobar.cabal
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2015-05-04 14:31:55 +0200
committerjao <jao@gnu.org>2015-05-04 14:31:55 +0200
commit557f2de66a20e5364adad9bbdd3cd5944766233f (patch)
tree1f2c117fad384717f4f970938d7625ee1d3724e2 /xmobar.cabal
parentda17f6c3aa5be180110d59ac250dd41b91809ad6 (diff)
parent1c3d0e5ab315d5e6e52eb044da2b088df8acfcb2 (diff)
downloadxmobar-557f2de66a20e5364adad9bbdd3cd5944766233f.tar.gz
xmobar-557f2de66a20e5364adad9bbdd3cd5944766233f.tar.bz2
Merge branch 'master' of https://github.com/romanofski/xmobar
Diffstat (limited to 'xmobar.cabal')
-rw-r--r--xmobar.cabal10
1 files changed, 9 insertions, 1 deletions
diff --git a/xmobar.cabal b/xmobar.cabal
index 5694f12..d066cfe 100644
--- a/xmobar.cabal
+++ b/xmobar.cabal
@@ -74,6 +74,10 @@ flag with_threaded
description: Use threaded runtime.
default: False
+flag with_uvmeter
+ description: UVMeter only useful to australians.
+ default: False
+
executable xmobar
hs-source-dirs: src
main-is: Main.hs
@@ -93,7 +97,8 @@ executable xmobar
Plugins.Monitors.Swap, Plugins.Monitors.Thermal,
Plugins.Monitors.ThermalZone, Plugins.Monitors.Top,
Plugins.Monitors.Uptime, Plugins.Monitors.Weather,
- Plugins.Monitors.Bright, Plugins.Monitors.CatInt
+ Plugins.Monitors.Bright, Plugins.Monitors.CatInt,
+ Plugins.Monitors.UVMeter
ghc-prof-options: -prof -auto-all
ghc-options: -funbox-strict-fields -Wall -fno-warn-unused-do-bind
@@ -176,3 +181,6 @@ executable xmobar
extra-libraries: Xpm
other-modules: XPMFile
cpp-options: -DXPM
+
+ if flag(with_uvmeter)
+ cpp-options: -DUVMETER