Actions.GroupNavigation: document isOnAnyVisibleWS

This commit is contained in:
Alex Hirzel 2019-02-27 22:59:48 -05:00
parent 51bc32ea75
commit 52890f6007

View File

@ -16,12 +16,15 @@
-- query. -- query.
-- --
-- Also provides a method for jumping back to the most recently used -- 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 module XMonad.Actions.GroupNavigation ( -- * Usage
-- $usage -- $usage
-- * Utilities
-- $utilities
Direction (..) Direction (..)
, nextMatch , nextMatch
, nextMatchOrDo , nextMatchOrDo
@ -219,6 +222,14 @@ findM cond xs = findM' cond (viewl xs)
else findM qry 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 :: Query Bool
isOnAnyVisibleWS = do isOnAnyVisibleWS = do
w <- ask w <- ask