diff options
author | jao <jao@gnu.org> | 2015-05-04 14:31:55 +0200 |
---|---|---|
committer | jao <jao@gnu.org> | 2015-05-04 14:31:55 +0200 |
commit | 557f2de66a20e5364adad9bbdd3cd5944766233f (patch) | |
tree | 1f2c117fad384717f4f970938d7625ee1d3724e2 /xmobar.cabal | |
parent | da17f6c3aa5be180110d59ac250dd41b91809ad6 (diff) | |
parent | 1c3d0e5ab315d5e6e52eb044da2b088df8acfcb2 (diff) | |
download | xmobar-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.cabal | 10 |
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 |