summaryrefslogtreecommitdiffhomepage
path: root/Main.hs
diff options
context:
space:
mode:
authorSpencer Janssen <sjanssen@cse.unl.edu>2007-07-18 00:51:31 +0200
committerSpencer Janssen <sjanssen@cse.unl.edu>2007-07-18 00:51:31 +0200
commit7235e59441c94580e99d50774629579fe54c6b1a (patch)
tree667827be6a990e50970c3f80ea6024e973aedf6d /Main.hs
parente6c22f3308f3f5ed8fd573cde0a9f85a5ce20cae (diff)
downloadxmobar-7235e59441c94580e99d50774629579fe54c6b1a.tar.gz
xmobar-7235e59441c94580e99d50774629579fe54c6b1a.tar.bz2
Use asynchronous exceptions to obviate the need for forkOS and threaded
darcs-hash:20070717225131-a5988-1f5e0cb3c8373b5eb6f7e87496110409380ded23.gz
Diffstat (limited to 'Main.hs')
-rw-r--r--Main.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Main.hs b/Main.hs
index c83b1f5..55e5487 100644
--- a/Main.hs
+++ b/Main.hs
@@ -37,7 +37,8 @@ main =
cl <- parseTemplate config (template config)
var <- execCommands config cl
(d,w) <- createWin config
- runXbar config var d w eventLoop
+ eventLoop config var d w
+ return ()
-- | Reads the configuration files or quits with an error
readConfig :: FilePath -> IO Config