summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTomas Janousek <tomi@nomi.cz>2022-02-20 19:56:21 +0000
committerTomas Janousek <tomi@nomi.cz>2022-02-20 19:57:31 +0000
commitefa9e4c541695e725d39da001592c9613acc4cae (patch)
tree634bca3d5abc87b419289bf665eede10a082608e
parent7cca823651a4a33e0c99d4062a382704f7904572 (diff)
downloadxmobar-efa9e4c541695e725d39da001592c9613acc4cae.tar.gz
xmobar-efa9e4c541695e725d39da001592c9613acc4cae.tar.bz2
Documentation: Note the need for threaded RTS with QueueReader & xmonad
Related: https://github.com/jaor/xmobar/issues/571
-rw-r--r--doc/window-managers.org9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/window-managers.org b/doc/window-managers.org
index 5c5b083..e45784c 100644
--- a/doc/window-managers.org
+++ b/doc/window-managers.org
@@ -210,6 +210,15 @@ choice.
logWorkspacesToQueue q =
dynamicLogWithPP def { ppOutput = STM.atomically . STM.writeTQueue q }
#+end_src
+
+ Note that xmonad uses blocking Xlib calls in its event loop and isn't
+ normally compiled with
+ [[https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/using-concurrent.html][the threaded RTS]]
+ so an xmobar thread running inside xmonad will suffer from delayed
+ updates. It is thus necessary to enable =-threaded= when compiling
+ xmonad configuration (=xmonad.hs=), e.g. by using a custom
+ =~/.xmonad/build= script.
+
*** Example for using the DBus IPC interface with XMonad
Bind the key which should {,un}map xmobar to a dummy value. This is