Skip to content

Commit

Permalink
(wip) TODOs for dropping workspaceNamesRenameWS
Browse files Browse the repository at this point in the history
  • Loading branch information
liskin committed Mar 23, 2021
1 parent 86e17d6 commit 8f331d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,8 @@
- Added `workspaceNamesRenameWS` which makes workspace names visible
to external pagers and tools like `wmctrl` or `arbtt`.

TODO: drop this

* `XMonad.Util.PureX`

- Added `focusWindow` and `focusNth` which don't refresh (and thus
Expand Down
2 changes: 2 additions & 0 deletions XMonad/Actions/WorkspaceNames.hs
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@ workspaceNamePrompt conf job = do
--
-- Usage:
-- > ewmh' def{ workspaceRename = workspaceNamesRenameWS }
--
-- TODO: drop this, change EwmhConfig to use getWorkspaceNames directly
workspaceNamesRenameWS :: X (WindowSpace -> WindowSpace)
workspaceNamesRenameWS =
getWorkspaceNames ":" <&> \names ws -> ws{ W.tag = names (W.tag ws) ws }

0 comments on commit 8f331d4

Please sign in to comment.