summaryrefslogtreecommitdiffhomepage
path: root/doc/window-managers.org
diff options
context:
space:
mode:
Diffstat (limited to 'doc/window-managers.org')
-rw-r--r--doc/window-managers.org3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/window-managers.org b/doc/window-managers.org
index 6403e37..5c5b083 100644
--- a/doc/window-managers.org
+++ b/doc/window-managers.org
@@ -200,8 +200,9 @@ choice.
#+begin_src haskell
main :: IO ()
main = do
+ initThreads
q <- STM.newTQueueIO @String
- bar <- forkIO $ xmobar myConf
+ bar <- forkOS $ xmobar myConf
{ commands = Run (QueueReader q id "XMonadLog") : commands myConf }
xmonad $ def { logHook = logWorkspacesToQueue q }