diff options
author | Adrian Kummerlaender | 2020-04-22 15:10:12 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2020-04-22 15:10:12 +0200 |
commit | de4b8442cf8fec321374b24e8f5b2b7996664ec5 (patch) | |
tree | d725ab3df1227e4ff88199474b9df59fc266c19f /gui | |
parent | fdf74ed8fe1c494c49d0b0a61024ccfb04ca63b5 (diff) | |
download | nixos_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')
-rw-r--r-- | gui/conf/xmonad.hs | 2 |
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 |