mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
vanadium/xmonad: fix overlapping manage hooks
This commit is contained in:
parent
412480f14c
commit
c72ef76b20
1 changed files with 9 additions and 6 deletions
|
|
@ -159,19 +159,22 @@ myManageHook =
|
|||
, isPavucontrol --> customFloating centeredFloat
|
||||
, isFeh --> doF copyToAll <> customFloating buttomRightFloat
|
||||
, isMinder --> customFloating centeredFloat
|
||||
, isFirefoxPip --> doF copyToAll <> customFloating buttomRightFloat
|
||||
, isDiscord --> doShift chatWS
|
||||
, isEvolution --> doShift chatWS
|
||||
, isSignal --> doShift chatWS
|
||||
, isFirefox --> insertPosition Master Newer
|
||||
, isKitty --> insertPosition Below Newer
|
||||
, isNautilus <||> isSioyek --> insertPosition End Older
|
||||
|
||||
, isUtility --> doIgnore
|
||||
, isDialog --> customFloating centeredFloat
|
||||
, isEvolutionComposer --> customFloating centeredFloat
|
||||
]
|
||||
<> namedScratchpadManageHook myScratchpads
|
||||
-- Note: some rules here are overlapping, the first one will take the precedence (composeOne)
|
||||
-- e.g. firefoxpip is a utility window
|
||||
<> composeOne
|
||||
[ isFirefoxPip -?> doF copyToAll <> customFloating buttomRightFloat
|
||||
, isUtility -?> doIgnore
|
||||
, isDialog -?> customFloating centeredFloat
|
||||
, isEvolutionComposer -?> customFloating centeredFloat
|
||||
]
|
||||
<> namedScratchpadManageHook myScratchpads
|
||||
|
||||
-- TODO: is there a way to always open certain sites in new windows in firefox?
|
||||
-- TODO: stop full screen when move happens
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue