diff options
author | Adrian Kummerlaender | 2018-10-11 19:43:34 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2018-10-11 19:43:34 +0200 |
commit | e408b94e762d995accaa062b5d9d54e0c567d18c (patch) | |
tree | bdb5963562cadfa97c61f17d13344cf9c6b12ac8 | |
parent | fdaf18836251ca633729dfbbbe617f6322182afd (diff) | |
download | nixos_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
-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 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 |