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 = className ~? "gnome.Evolution"
|
||||
|
||||
isEvolutionComposer :: Query Bool
|
||||
isEvolutionComposer = isEvolution <&&> title =? "Compose Message"
|
||||
|
||||
isFirefox :: Query Bool
|
||||
isFirefox = className =? "firefox"
|
||||
|
||||
|
|
@ -136,17 +139,20 @@ myActivateHook =
|
|||
|
||||
myManageHook :: ManageHook
|
||||
myManageHook =
|
||||
composeOne
|
||||
[ isNautilusPreviewer -?> 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
|
||||
composeAll
|
||||
[ isNautilusPreviewer --> 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
|
||||
|
||||
, isDialog --> doF copyToAll <> customFloating centeredFloat
|
||||
, isEvolutionComposer --> customFloating centeredFloat
|
||||
]
|
||||
<> namedScratchpadManageHook myScratchpads
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue