summaryrefslogtreecommitdiffhomepage
path: root/Commands.hs
diff options
context:
space:
mode:
authorAndrea Rossato <andrea.rossato@ing.unitn.it>2007-07-13 11:34:02 +0200
committerAndrea Rossato <andrea.rossato@ing.unitn.it>2007-07-13 11:34:02 +0200
commitfaaf430241277fecf73f9a8202583426c2e03458 (patch)
tree837491dbe87ea060846a41bb6fde29dd9d2d0168 /Commands.hs
parent20846e8dddb61eed64100b4f21b4b493b5005eac (diff)
downloadxmobar-faaf430241277fecf73f9a8202583426c2e03458.tar.gz
xmobar-faaf430241277fecf73f9a8202583426c2e03458.tar.bz2
Commands.hs: more code cleanup
darcs-hash:20070713093402-d6583-eff0382e0c9bb69bd7d45be1b4691bd50f55f776.gz
Diffstat (limited to 'Commands.hs')
-rw-r--r--Commands.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Commands.hs b/Commands.hs
index 459892b..6fcb343 100644
--- a/Commands.hs
+++ b/Commands.hs
@@ -1,4 +1,3 @@
-{-# OPTIONS -fglasgow-exts #-}
-----------------------------------------------------------------------------
-- |
-- Module : XMobar.Commands
@@ -56,7 +55,7 @@ instance Exec Command where
alias (Cpu _ _) = "cpu"
alias (Battery _ _) = "battery"
alias (Com p _ a _) | p /= "" = if a == "" then p else a
- | otherwise = ""
+ | otherwise = ""
rate (Weather _ _ r) = r
rate (Network _ _ r) = r
rate (Memory _ r) = r