aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to 'gui')
-rw-r--r--gui/conf/xmonad.hs7
1 files changed, 5 insertions, 2 deletions
diff --git a/gui/conf/xmonad.hs b/gui/conf/xmonad.hs
index 634b9cf..620696a 100644
--- a/gui/conf/xmonad.hs
+++ b/gui/conf/xmonad.hs
@@ -130,9 +130,12 @@ customEventHook = do
fullscreenEventHook
customManageHook = composeOne
- [ transience
- , isDialog -?> doCenterFloat
+ [ hasRole "GtkFileChooserDialog" -?> doRectFloat dropDown
+ , isDialog -?> doCenterFloat
+ , transience
, pure True -?> insertPosition Below Newer <+> namedScratchpadManageHook scratchpads ]
+ where
+ hasRole x = stringProperty "WM_WINDOW_ROLE" =? x
customLogHook = do
historyHook