summaryrefslogtreecommitdiffhomepage
path: root/XMobar.hs
diff options
context:
space:
mode:
authorAndrea Rossato <andrea.rossato@ing.unitn.it>2007-07-12 23:56:15 +0200
committerAndrea Rossato <andrea.rossato@ing.unitn.it>2007-07-12 23:56:15 +0200
commit20846e8dddb61eed64100b4f21b4b493b5005eac (patch)
tree602c5e36ec8bacf5c12082ff708a59e768fcc039 /XMobar.hs
parent1126dd15b8e25aa4d72cb8efc269abb2e1136481 (diff)
downloadxmobar-20846e8dddb61eed64100b4f21b4b493b5005eac.tar.gz
xmobar-20846e8dddb61eed64100b4f21b4b493b5005eac.tar.bz2
removed the Show instance requirement for plugins
darcs-hash:20070712215615-d6583-463ad3d9d1282fd1f129f34f405c66e0795962fd.gz
Diffstat (limited to 'XMobar.hs')
-rw-r--r--XMobar.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/XMobar.hs b/XMobar.hs
index 593c7cb..7da3bd3 100644
--- a/XMobar.hs
+++ b/XMobar.hs
@@ -181,7 +181,7 @@ execCommand c com =
runCommandLoop :: MVar String -> Config -> (Runnable,String,String) -> IO ()
runCommandLoop var conf c@(com,s,ss)
- | show com == "" =
+ | alias com == "" =
do modifyMVar_ var (\_ -> return $ "Could not parse the template")
tenthSeconds (refresh conf)
runCommandLoop var conf c