aboutsummaryrefslogtreecommitdiff
path: root/gui/conf/xmonad.hs
diff options
context:
space:
mode:
Diffstat (limited to 'gui/conf/xmonad.hs')
-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 3beedc7..9c65436 100644
--- a/gui/conf/xmonad.hs
+++ b/gui/conf/xmonad.hs
@@ -181,12 +181,14 @@ customEventHook = do
customManageHook host = composeOne
[ hasRole "GtkFileChooserDialog" -?> doRectFloat dropDown
+ , isParaviewDialog -?> doRectFloat dropDown
, isTelegramMediaViewer -?> doFullFloat
, isDialog -?> doCenterFloat
, transience
, pure True -?> insertPosition Below Newer <+> namedScratchpadManageHook (scratchpads host) ]
where
hasRole x = stringProperty "WM_WINDOW_ROLE" =? x
+ isParaviewDialog = (className =? "ParaView") <&&> isDialog
isTelegramMediaViewer = (className =? "TelegramDesktop") <&&> (title =? "Media viewer")
customLogHook = do