X.H.DynamicLog: Fix xmobarProp example

In [1] we changed the return type to not be an IO action and hence this
example can't work, even with an otherwise correct configuration.

[1]: 168cb6a6c3a774bc05032536e37b982cd6b4d7cc (Removed unnecessary IO)
This commit is contained in:
slotThe 2021-11-06 11:34:04 +01:00
parent 3bc06447d2
commit feee11a0ba

View File

@ -243,7 +243,7 @@ dynamicLogXinerama = withWindowSet $ io . putStrLn . pprWindowSetXinerama
-- | Run xmonad with a property-based xmobar status bar set to some nice -- | Run xmonad with a property-based xmobar status bar set to some nice
-- defaults. -- defaults.
-- --
-- > main = xmonad =<< xmobarProp myConfig -- > main = xmonad $ xmobarProp myConfig
-- > -- >
-- > myConfig = def { ... } -- > myConfig = def { ... }
-- --