From 553acd94b2ad73b3eb0fa4c1120e4e1f0dc47da3 Mon Sep 17 00:00:00 2001 From: Andrea Rossato Date: Tue, 26 Jun 2007 20:07:14 +0200 Subject: added cabal and config reference to the weather monitor darcs-hash:20070626180714-d6583-2a820e4455c5da5648b3633dccfe075dafb4b33e.gz --- xmobar.cabal | 5 +++++ xmobar.config-sample | 4 ++-- 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% %date%" + , template = "%xmb-cpu% %xmb-mem% %xmb-net% | %xmb-weather% | %date%" } -- cgit v1.2.3