about summary refs log tree commit diff
path: root/src/XMonad/Custom/Event.hs
blob: 926614ba1a1f23349580aacd398b1868996e03f6 (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
25
26
27
28
29
30
-----------------------------------------------------------------------------
-- |
-- Module      :  XMonad.Custom.Event
-- Copyright   :  (c) azahi 2018
-- License     :  BSD3-style (see LICENSE)
--
-- Maintainer  :  azahi@teknik.io
-- Stability   :  unstable
-- Portability :  unportable
--
-- Custom target for layouts, sublayouts and everything in between.
--
------------------------------------------------------------------------

module XMonad.Custom.Event
    ( handleEventHook'
    ) where

import           Data.Monoid
import           XMonad
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
                           ]

Consider giving Nix/NixOS a try! <3