X.H.EwmhDesktops. run 'logHook' for activated window.

- By default window activation does nothing.
- `activateLogHook` may be used for running some 'ManageHook' for
activated window.
- `activated` predicate may be used for checking was window activated or
not.
This commit is contained in:
sgf
2020-10-15 16:55:45 +03:00
parent b2e16d3bf1
commit 45052b984d
4 changed files with 91 additions and 4 deletions

View File

@@ -30,7 +30,8 @@ main = do
{ modMask = mod4Mask -- Use the "Win" key for the mod key
, manageHook = myManageHook <+> manageHook desktopConfig
, layoutHook = desktopLayoutModifiers $ myLayouts
, logHook = dynamicLogString def >>= xmonadPropLog
, logHook = (dynamicLogString def >>= xmonadPropLog)
<+> logHook desktopConfig
}
`additionalKeysP` -- Add some extra key bindings: