mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 22:59:15 +00:00
vanadium/xmonad: ignore digikam pop ups
This commit is contained in:
parent
6bebe18fcb
commit
ae721808c0
1 changed files with 6 additions and 0 deletions
|
|
@ -125,6 +125,11 @@ isMinder = className =? "Minder" <&&> (not <$> title ~? "Pick a Color")
|
||||||
isKitty :: Query Bool
|
isKitty :: Query Bool
|
||||||
isKitty = className =? "kitty"
|
isKitty = className =? "kitty"
|
||||||
|
|
||||||
|
isUtility :: Query Bool
|
||||||
|
isUtility =
|
||||||
|
-- Useful to ignore stuff like digikam pop ups
|
||||||
|
isInProperty "_NET_WM_WINDOW_TYPE" "_NET_WM_WINDOW_TYPE_UTILITY"
|
||||||
|
|
||||||
myActivateHook :: ManageHook
|
myActivateHook :: ManageHook
|
||||||
myActivateHook =
|
myActivateHook =
|
||||||
-- Ignore activate request
|
-- Ignore activate request
|
||||||
|
|
@ -151,6 +156,7 @@ myManageHook =
|
||||||
, isKitty --> insertPosition Below Newer
|
, isKitty --> insertPosition Below Newer
|
||||||
, isNautilus <||> isSioyek --> insertPosition End Older
|
, isNautilus <||> isSioyek --> insertPosition End Older
|
||||||
|
|
||||||
|
, isUtility --> doIgnore
|
||||||
, isDialog --> doF copyToAll <> customFloating centeredFloat
|
, isDialog --> doF copyToAll <> customFloating centeredFloat
|
||||||
, isEvolutionComposer --> customFloating centeredFloat
|
, isEvolutionComposer --> customFloating centeredFloat
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue