Extend manageHook
parent
668b4c7e27
commit
db4714086d
|
@ -55,6 +55,9 @@ myStartupHook = do
|
||||||
, (SCUpperLeft, prevWS)
|
, (SCUpperLeft, prevWS)
|
||||||
]
|
]
|
||||||
|
|
||||||
|
myManageHook = composeAll
|
||||||
|
[ className =? "Zathura" --> doShift "ε" ]
|
||||||
|
|
||||||
myConfig = def
|
myConfig = def
|
||||||
{
|
{
|
||||||
terminal = "alacritty"
|
terminal = "alacritty"
|
||||||
|
@ -70,6 +73,7 @@ myConfig = def
|
||||||
|
|
||||||
-- Hooks
|
-- Hooks
|
||||||
, startupHook = myStartupHook
|
, startupHook = myStartupHook
|
||||||
|
, manageHook = myManageHook <+> manageHook def
|
||||||
, layoutHook = screenCornerLayoutHook $ avoidStruts myLayout
|
, layoutHook = screenCornerLayoutHook $ avoidStruts myLayout
|
||||||
, handleEventHook = handleEventHook def <> Hacks.windowedFullscreenFixEventHook <+> screenCornerEventHook
|
, handleEventHook = handleEventHook def <> Hacks.windowedFullscreenFixEventHook <+> screenCornerEventHook
|
||||||
} `additionalKeysP` myKeysP
|
} `additionalKeysP` myKeysP
|
||||||
|
|
Loading…
Reference in New Issue