mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
vanadium/xmonad: use composeOne for non overlapping rules
This commit is contained in:
parent
a27f5ffefe
commit
1409a5e064
1 changed files with 9 additions and 11 deletions
|
|
@ -133,17 +133,15 @@ myActivateHook =
|
||||||
|
|
||||||
myManageHook :: ManageHook
|
myManageHook :: ManageHook
|
||||||
myManageHook =
|
myManageHook =
|
||||||
composeAll
|
composeOne
|
||||||
[ isNautilusPreviewer --> customFloating centeredFloat
|
[ isNautilusPreviewer -?> customFloating centeredFloat
|
||||||
, isFeh --> doF copyToAll <> customFloating buttomRightFloat
|
, isFeh -?> doF copyToAll <> customFloating buttomRightFloat
|
||||||
, isMinder --> customFloating centeredFloat
|
, isMinder -?> customFloating centeredFloat
|
||||||
, isFirefoxPip --> doF copyToAll <> customFloating buttomRightFloat
|
, isFirefoxPip -?> doF copyToAll <> customFloating buttomRightFloat
|
||||||
, isDiscord --> doShift chatWS
|
, isDiscord -?> doShift chatWS
|
||||||
, isEvolution --> doShift chatWS
|
, isEvolution -?> doShift chatWS
|
||||||
, isSignal --> doShift chatWS
|
, isSignal -?> doShift chatWS
|
||||||
]
|
, isFirefox -?> insertPosition Master Newer
|
||||||
<> composeOne
|
|
||||||
[ isFirefox -?> insertPosition Master Newer
|
|
||||||
, isKitty -?> insertPosition Below Newer
|
, isKitty -?> insertPosition Below Newer
|
||||||
, isNautilus <||> isSioyek -?> insertPosition End Older
|
, isNautilus <||> isSioyek -?> insertPosition End Older
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue