diff options
author | Adrian Kummerlaender | 2018-06-26 20:41:12 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2018-06-26 20:41:12 +0200 |
commit | 525f7d874bcb18975bfef4db976677e770212756 (patch) | |
tree | 12dc9adc2e67984952c20913157bb2926930d1ac /gui/conf | |
parent | 85820915419ae129c5965dca9d3636ff7bca769b (diff) | |
download | nixos_home-525f7d874bcb18975bfef4db976677e770212756.tar nixos_home-525f7d874bcb18975bfef4db976677e770212756.tar.gz nixos_home-525f7d874bcb18975bfef4db976677e770212756.tar.bz2 nixos_home-525f7d874bcb18975bfef4db976677e770212756.tar.lz nixos_home-525f7d874bcb18975bfef4db976677e770212756.tar.xz nixos_home-525f7d874bcb18975bfef4db976677e770212756.tar.zst nixos_home-525f7d874bcb18975bfef4db976677e770212756.zip |
Drop down GTK3 file chooser dialog
Default floating placement was too large for screen.
Diffstat (limited to 'gui/conf')
-rw-r--r-- | gui/conf/xmonad.hs | 7 |
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 |