-- | -- Module : XMonad.Custom.Event -- Description : Event hooks and stuff -- Copyright : (c) Azat Bahawi 2018-2022 -- SPDX-License-Identifier : GPL-3.0-or-later -- Maintainer : azat@bahawi.net -- Stability : experimental -- Portability : non-portable -- module XMonad.Custom.Event ( ngHandleEventHook ) where import Data.Monoid ( All ) import XMonad ( Event , X ) import XMonad.Custom.Scratchpads ( scratchpads ) import XMonad.Util.Loggers.NamedScratchpad ( nspTrackHook ) ngHandleEventHook :: Event -> X All ngHandleEventHook = mconcat [nspTrackHook scratchpads]