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 Jun 4, 2021
1 parent 1589f87 commit b176837
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 @@ -467,6 +467,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 @@ -181,6 +181,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 b176837

Please sign in to comment.