Skip to content

Commit

Permalink
Actions.GroupNavigation: document isOnAnyVisibleWS
Browse files Browse the repository at this point in the history
  • Loading branch information
alhirzel committed Feb 28, 2019
1 parent 51bc32e commit 52890f6
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion XMonad/Actions/GroupNavigation.hs
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,15 @@
-- query.
--
-- Also provides a method for jumping back to the most recently used
-- window in any given group.
-- window in any given group, and predefined groups.
--
----------------------------------------------------------------------

module XMonad.Actions.GroupNavigation ( -- * Usage
-- $usage

-- * Utilities
-- $utilities
Direction (..)
, nextMatch
, nextMatchOrDo
Expand Down Expand Up @@ -219,6 +222,14 @@ findM cond xs = findM' cond (viewl xs)
else findM qry xs'


-- $utilities
-- #utilities#
-- Below are handy queries for use with 'nextMatch', 'nextMatchOrDo',
-- and 'nextMatchWithThis'.

-- | A query that matches all windows on visible workspaces. This is
-- useful for configurations with multiple screens, and matches even
-- invisible windows.
isOnAnyVisibleWS :: Query Bool
isOnAnyVisibleWS = do
w <- ask
Expand Down

0 comments on commit 52890f6

Please sign in to comment.