From e408b94e762d995accaa062b5d9d54e0c567d18c Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Thu, 11 Oct 2018 19:43:34 +0200 Subject: Handle ParaView dialogs in XMonad --- gui/conf/xmonad.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gui/conf/xmonad.hs') 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 -- cgit v1.2.3