diff options
author | Roman Joost <roman@bromeco.de> | 2015-03-13 11:11:11 +1000 |
---|---|---|
committer | Roman Joost <roman@bromeco.de> | 2015-05-01 11:31:17 +1000 |
commit | 1c3d0e5ab315d5e6e52eb044da2b088df8acfcb2 (patch) | |
tree | 1f2c117fad384717f4f970938d7625ee1d3724e2 /xmobar.cabal | |
parent | d4634e681a123d57a76312b1b65f44172e44266c (diff) | |
download | xmobar-1c3d0e5ab315d5e6e52eb044da2b088df8acfcb2.tar.gz xmobar-1c3d0e5ab315d5e6e52eb044da2b088df8acfcb2.tar.bz2 |
uvmeter: new plugin showing UV data (Australia)
This patch adds a new optional plugin showing UV data for Australian
users. The data is aquired by simple HTTP request from the Australian
Radiation Protection and Nuclear Safety Agencies XML data feed.
The uvmeter plugin can be configured ovserving multiple different
station across the country. The alias now defaults to 'uv <stationid>'.
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 |