about summary refs log tree commit diff
path: root/src/XMonad/Custom/Log.hs
diff options
context:
space:
mode:
authorAzat Bahawi <azahi@teknik.io>2020-07-26 16:57:46 +0300
committerAzat Bahawi <azahi@teknik.io>2020-07-26 16:57:46 +0300
commitb0e3b4402bb46f8fad14f6c06106677968d28554 (patch)
tree270b98c118651eed78bd09e640b7da23fd8e038d /src/XMonad/Custom/Log.hs
parentSync submodules (diff)
Revert xmobar behaviour
Diffstat (limited to '')
-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