mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
vanadium/xmonad: center float dialog and email composer
This commit is contained in:
parent
7decf821d7
commit
2840500790
1 changed files with 17 additions and 11 deletions
|
|
@ -85,6 +85,9 @@ isDiscord =
|
||||||
isEvolution :: Query Bool
|
isEvolution :: Query Bool
|
||||||
isEvolution = className ~? "gnome.Evolution"
|
isEvolution = className ~? "gnome.Evolution"
|
||||||
|
|
||||||
|
isEvolutionComposer :: Query Bool
|
||||||
|
isEvolutionComposer = isEvolution <&&> title =? "Compose Message"
|
||||||
|
|
||||||
isFirefox :: Query Bool
|
isFirefox :: Query Bool
|
||||||
isFirefox = className =? "firefox"
|
isFirefox = className =? "firefox"
|
||||||
|
|
||||||
|
|
@ -136,17 +139,20 @@ myActivateHook =
|
||||||
|
|
||||||
myManageHook :: ManageHook
|
myManageHook :: ManageHook
|
||||||
myManageHook =
|
myManageHook =
|
||||||
composeOne
|
composeAll
|
||||||
[ 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
|
, isFirefox --> insertPosition Master Newer
|
||||||
, isKitty -?> insertPosition Below Newer
|
, isKitty --> insertPosition Below Newer
|
||||||
, isNautilus <||> isSioyek -?> insertPosition End Older
|
, isNautilus <||> isSioyek --> insertPosition End Older
|
||||||
|
|
||||||
|
, isDialog --> doF copyToAll <> customFloating centeredFloat
|
||||||
|
, isEvolutionComposer --> customFloating centeredFloat
|
||||||
]
|
]
|
||||||
<> namedScratchpadManageHook myScratchpads
|
<> namedScratchpadManageHook myScratchpads
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue