diff options
-rw-r--r-- | xmobar.cabal | 5 | ||||
-rw-r--r-- | 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% <fc=#ee9a00>%date%</fc>" + , template = "%xmb-cpu% %xmb-mem% %xmb-net% | %xmb-weather% | <fc=#ee9a00>%date%</fc>" } |