Skip to content

Commit

Permalink
Added reference to "XMonad.Util.Loggers"
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMC47 committed May 11, 2021
1 parent 0f61711 commit 644f993
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions XMonad/Hooks/StatusBar.hs
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,9 @@ statusBarPipe cmd xpp = do
-- property, their content will be the same. If you want to use property-based
-- logging with multiple bars, they should read from different properties.
--
-- "XMonad.Util.Loggers" includes loggers that can be bound to specific screens,
-- like 'logCurrentOnScreen', that might be useful with multiple screens.
--
-- Long-time xmonad users will note that the above config is equivalent to
-- the following less robust and more verbose configuration that they might
-- find in their old configs:
Expand Down
4 changes: 3 additions & 1 deletion XMonad/Hooks/StatusBar/PP.hs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ data PP = PP { ppCurrent :: WorkspaceId -> String
, ppWsSep :: String
-- ^ separator to use between workspace tags
, ppTitle :: String -> String
-- ^ window title format for the focused window
-- ^ window title format for the focused window. To display
-- the titles of all windows—even unfocused ones—check
-- 'XMonad.Util.Loggers.logTitles'.
, ppTitleSanitize :: String -> String
-- ^ escape / sanitizes input to 'ppTitle'
, ppLayout :: String -> String
Expand Down

0 comments on commit 644f993

Please sign in to comment.