aboutsummaryrefslogtreecommitdiff
path: root/gui/conf
diff options
context:
space:
mode:
authorAdrian Kummerlaender2020-04-22 15:10:12 +0200
committerAdrian Kummerlaender2020-04-22 15:10:12 +0200
commitde4b8442cf8fec321374b24e8f5b2b7996664ec5 (patch)
treed725ab3df1227e4ff88199474b9df59fc266c19f /gui/conf
parentfdf74ed8fe1c494c49d0b0a61024ccfb04ca63b5 (diff)
downloadnixos_home-de4b8442cf8fec321374b24e8f5b2b7996664ec5.tar
nixos_home-de4b8442cf8fec321374b24e8f5b2b7996664ec5.tar.gz
nixos_home-de4b8442cf8fec321374b24e8f5b2b7996664ec5.tar.bz2
nixos_home-de4b8442cf8fec321374b24e8f5b2b7996664ec5.tar.lz
nixos_home-de4b8442cf8fec321374b24e8f5b2b7996664ec5.tar.xz
nixos_home-de4b8442cf8fec321374b24e8f5b2b7996664ec5.tar.zst
nixos_home-de4b8442cf8fec321374b24e8f5b2b7996664ec5.zip
Restore password prompt to center float after update to 20.03
Diffstat (limited to 'gui/conf')
-rw-r--r--gui/conf/xmonad.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/conf/xmonad.hs b/gui/conf/xmonad.hs
index bd05d0f..7a9f7bb 100644
--- a/gui/conf/xmonad.hs
+++ b/gui/conf/xmonad.hs
@@ -265,11 +265,13 @@ customManageHook host = manageMonitor (hudMonitor host) <+> composeOne
, isParaviewDialog -?> doRectFloat $ hideScreenBorder host dropDown
, isTelegramMediaViewer -?> doFullFloat
, isDialog -?> doCenterFloat
+ , isPrompter -?> doCenterFloat
, transience
, pure True -?> insertPosition Below Newer <+> namedScratchpadManageHook (scratchpads host) ]
where
hasRole x = stringProperty "WM_WINDOW_ROLE" =? x
isParaviewDialog = (className =? "ParaView") <&&> isDialog
+ isPrompter = (className =? "Gcr-prompter")
isTelegramMediaViewer = (className =? "TelegramDesktop") <&&> (title =? "Media viewer")
customLogHook = do