summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrea Rossato <andrea.rossato@ing.unitn.it>2007-06-26 20:07:14 +0200
committerAndrea Rossato <andrea.rossato@ing.unitn.it>2007-06-26 20:07:14 +0200
commit553acd94b2ad73b3eb0fa4c1120e4e1f0dc47da3 (patch)
treee6023e40a53f38285026a8b3518a8b5fa821c490
parenta4d9750e6e676f020fe5a95d291272b161671e03 (diff)
downloadxmobar-553acd94b2ad73b3eb0fa4c1120e4e1f0dc47da3.tar.gz
xmobar-553acd94b2ad73b3eb0fa4c1120e4e1f0dc47da3.tar.bz2
added cabal and config reference to the weather monitor
darcs-hash:20070626180714-d6583-2a820e4455c5da5648b3633dccfe075dafb4b33e.gz
-rw-r--r--xmobar.cabal5
-rw-r--r--xmobar.config-sample4
2 files changed, 7 insertions, 2 deletions
diff --git a/xmobar.cabal b/xmobar.cabal
index 0fa9b53..3d3179a 100644
--- a/xmobar.cabal
+++ b/xmobar.cabal
@@ -33,3 +33,8 @@ executable: xmb-net
main-is: Monitors/Net.hs
ghc-options: -funbox-strict-fields -O2 -fasm -Wall -optl-Wl,-s
ghc-prof-options: -prof -auto-all
+
+executable: xmb-weather
+main-is: Monitors/Weather.hs
+ghc-options: -funbox-strict-fields -O2 -fasm -Wall -optl-Wl,-s
+ghc-prof-options: -prof -auto-all
diff --git a/xmobar.config-sample b/xmobar.config-sample
index ad333bc..ffef6e4 100644
--- a/xmobar.config-sample
+++ b/xmobar.config-sample
@@ -7,7 +7,7 @@ Config { fonts = "-misc-fixed-*-*-*-*-10-*-*-*-*-*-*-*"
, hight = 15
, align = "right"
, refresh = 10
- , commands = [("xmb-net", 10, ["eth1"])]
+ , commands = [("xmb-weather", 36000, ["EGXD"]), ("xmb-net", 10, ["eth1"])]
, sepChar = "%"
- , template = "%xmb-cpu% %xmb-mem% %xmb-net% <fc=#ee9a00>%date%</fc>"
+ , template = "%xmb-cpu% %xmb-mem% %xmb-net% | %xmb-weather% | <fc=#ee9a00>%date%</fc>"
}