X.A.Prefix: Update X.H.DynamicLog references

This commit is contained in:
Yecine Megdiche 2021-10-19 07:54:50 +02:00
parent a5b335469a
commit 53adf02b38

View File

@ -195,7 +195,12 @@ isPrefixNumeric _ = False
-- > myPrinter :: PP -- > myPrinter :: PP
-- > myPrinter = def { ppExtras = [ppFormatPrefix] } -- > myPrinter = def { ppExtras = [ppFormatPrefix] }
-- --
-- And then in your 'logHook' configuration -- And then add to your status bar using "XMonad.Hooks.StatusBar":
--
-- > mySB = statusBarProp "xmobar" myPrinter
-- > main = xmonad $ withEasySB mySB defToggleStrutsKey def
--
-- Or, directly in your 'logHook' configuration
-- --
-- > logHook = dynamicLogWithPP myPrinter -- > logHook = dynamicLogWithPP myPrinter
ppFormatPrefix :: X (Maybe String) ppFormatPrefix :: X (Maybe String)