From d4cdd69b8037a6f9f0e7071bc84fb81e71bd00dd Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Sun, 5 Apr 2020 13:13:50 -0400 Subject: [PATCH] FIX format error --- bin/xmonad.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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