blob: 4e5a59850c77602e3eba5db0ae8d31ad61d98237 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
-- |
-- 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]
|