about summary refs log tree commit diff
path: root/src/XMonad/Custom/Log.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/XMonad/Custom/Log.hs')
-rw-r--r--src/XMonad/Custom/Log.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/XMonad/Custom/Log.hs b/src/XMonad/Custom/Log.hs
index 34934d9..b10fcdf 100644
--- a/src/XMonad/Custom/Log.hs
+++ b/src/XMonad/Custom/Log.hs
@@ -61,6 +61,7 @@ logHook = do
     currentWorkspaceOnTop
     ewmhDesktopsLogHook
     t <- getNamedPipe "xmobarTop"
+    b <- getNamedPipe "xmobarBot"
     c <- wsContainingCopies
     let copiesCurrent ws | ws `elem` c = xmobarColor yellow2 "" . xmobarFont 2 . wrap "*" "=" $ ws
                          | otherwise   = xmobarColor white2  "" . xmobarFont 2 . wrap "=" "=" $ ws
@@ -74,3 +75,6 @@ logHook = do
         , ppUrgent  = copiesUrgent
         , ppOutput  = safePrintToPipe t
         }
+    dynamicLogWithPP $ botBarPP
+        { ppOutput  = safePrintToPipe b
+        }

Consider giving Nix/NixOS a try! <3