From f98b19f0b13234beff83dc286126e4aad7492170 Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Sat, 30 Mar 2024 16:21:22 +0100 Subject: [PATCH] Add 'myHandleEventHook' --- .xmonad/xmonad.hs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.xmonad/xmonad.hs b/.xmonad/xmonad.hs index 76d495c..ed48ed1 100644 --- a/.xmonad/xmonad.hs +++ b/.xmonad/xmonad.hs @@ -135,6 +135,11 @@ myLayoutHook = ratio = 1 / 2 delta = 4 / 100 +myHandleEventHook = + onXPropertyChange "WM_NAME" myDynamicManageHook + <> handleEventHook def + <> Hacks.windowedFullscreenFixEventHook + -- }}} -- Main config {{{ @@ -159,7 +164,7 @@ myConfig = startupHook = myStartupHook, manageHook = myManageHook <+> manageHook def, layoutHook = avoidStruts myLayoutHook, - handleEventHook = onXPropertyChange "WM_NAME" myDynamicManageHook <> handleEventHook def <> Hacks.windowedFullscreenFixEventHook + handleEventHook = myHandleEventHook } `removeKeysP` myRemoveKeys `additionalKeysP` myKeys