Add 'myHandleEventHook'

master
Hektor Misplon 2024-03-30 16:21:22 +01:00
parent d2bf1ed9bd
commit f98b19f0b1
Signed by: hektor
GPG Key ID: 5151AF79E723F21C
1 changed files with 6 additions and 1 deletions

View File

@ -135,6 +135,11 @@ myLayoutHook =
ratio = 1 / 2 ratio = 1 / 2
delta = 4 / 100 delta = 4 / 100
myHandleEventHook =
onXPropertyChange "WM_NAME" myDynamicManageHook
<> handleEventHook def
<> Hacks.windowedFullscreenFixEventHook
-- }}} -- }}}
-- Main config {{{ -- Main config {{{
@ -159,7 +164,7 @@ myConfig =
startupHook = myStartupHook, startupHook = myStartupHook,
manageHook = myManageHook <+> manageHook def, manageHook = myManageHook <+> manageHook def,
layoutHook = avoidStruts myLayoutHook, layoutHook = avoidStruts myLayoutHook,
handleEventHook = onXPropertyChange "WM_NAME" myDynamicManageHook <> handleEventHook def <> Hacks.windowedFullscreenFixEventHook handleEventHook = myHandleEventHook
} }
`removeKeysP` myRemoveKeys `removeKeysP` myRemoveKeys
`additionalKeysP` myKeys `additionalKeysP` myKeys