users/xmonad: add new classname for pinentry

This commit is contained in:
Dmitriy Pleshevskiy 2022-10-21 12:09:18 +03:00
parent 284d44eebc
commit 5ce2bda966
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215

View file

@ -241,6 +241,7 @@ myManageHook = manageApps
where
role = stringProperty "WM_WINDOW_ROLE"
isPopup = role =? "pop-up"
isPinentry = anyOf [className =? "Gcr-promter", className =? "Pinentry"]
anyOf :: [Query Bool] -> Query Bool
anyOf = foldl (<||>) (pure False)
tileBelow = insertPosition Below Newer
@ -262,7 +263,7 @@ myManageHook = manageApps
anyOf
[ isPopup,
isDialog,
className =? "Gcr-prompter"
isPinentry
]
-?> doCenterFloat,
pure True -?> tileBelow