Extend manageHook

master
Hektor Misplon 2022-09-24 16:18:24 +02:00
parent 668b4c7e27
commit db4714086d
1 changed files with 4 additions and 0 deletions

View File

@ -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