Skip to content

Commit

Permalink
fixup! X.H.EwmhDesktops: Improve interface for custom workspace sorti…
Browse files Browse the repository at this point in the history
…ng, filtering and renaming
  • Loading branch information
liskin committed Oct 20, 2021
1 parent 78c73ec commit f7e4d44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion XMonad/Hooks/EwmhDesktops.hs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ setEwmhWorkspaceSort f = XC.modifyDef $ \c -> c{ workspaceSort = f }
-- > import Data.Char
-- >
-- > myRename :: String -> WindowSpace -> String
-- > myRename s = pure (map toUpper s)
-- > myRename s _w = map toUpper s
-- >
-- > main = xmonad $ … . addEwmhWorkspaceRename (pure myRename) . ewmh . … $ def{…}
--
Expand Down

0 comments on commit f7e4d44

Please sign in to comment.