aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorAdrian Kummerlaender2018-10-11 19:43:34 +0200
committerAdrian Kummerlaender2018-10-11 19:43:34 +0200
commite408b94e762d995accaa062b5d9d54e0c567d18c (patch)
treebdb5963562cadfa97c61f17d13344cf9c6b12ac8 /gui
parentfdaf18836251ca633729dfbbbe617f6322182afd (diff)
downloadnixos_home-e408b94e762d995accaa062b5d9d54e0c567d18c.tar
nixos_home-e408b94e762d995accaa062b5d9d54e0c567d18c.tar.gz
nixos_home-e408b94e762d995accaa062b5d9d54e0c567d18c.tar.bz2
nixos_home-e408b94e762d995accaa062b5d9d54e0c567d18c.tar.lz
nixos_home-e408b94e762d995accaa062b5d9d54e0c567d18c.tar.xz
nixos_home-e408b94e762d995accaa062b5d9d54e0c567d18c.tar.zst
nixos_home-e408b94e762d995accaa062b5d9d54e0c567d18c.zip
Handle ParaView dialogs in XMonad
Diffstat (limited to 'gui')
-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