diff --git a/bin/xmonad.hs b/bin/xmonad.hs index 2f038cd..8ed7bf5 100644 --- a/bin/xmonad.hs +++ b/bin/xmonad.hs @@ -247,7 +247,8 @@ myLoghook h = withWindowSet $ io . hPutStrLn h . myWindowSetXinerama myWindowSetXinerama :: LayoutClass layout a1 => W.StackSet String (layout a1) a2 ScreenId ScreenDetail -> String -myWindowSetXinerama ws = unwords [onScreen, offScreen, sep, layout, nWindows] +myWindowSetXinerama ws = + unwords $ filter (not . null) [onScreen, offScreen, sep, layout, nWindows] where onScreen = xmobarColor hilightFgColor hilightBgColor $ pad