-- | -- Module : XMonad.Custom.Event -- Copyright : (c) 2018-2020 Azat Bahawi -- License : BSD3-style (see LICENSE) -- Maintainer : Azat Bahawi -- Stability : unstable -- Portability : unportable -- module XMonad.Custom.Event ( handleEventHook ) where import Data.Monoid import XMonad hiding ( handleEventHook ) import XMonad.Custom.Scratchpads import XMonad.Hooks.EwmhDesktops import XMonad.Hooks.ManageDocks import XMonad.Util.Loggers.NamedScratchpad handleEventHook :: Event -> X All handleEventHook = mconcat [ nspTrackHook scratchpads , docksEventHook , fullscreenEventHook ]