diff options
author | Justine Smithies <justine@smithies.me.uk> | 2023-09-02 14:00:54 +0100 |
---|---|---|
committer | Justine Smithies <justine@smithies.me.uk> | 2023-09-02 14:00:54 +0100 |
commit | 52477514130061f2321ff7ec2c83bd36036319c9 (patch) | |
tree | 7f8bf5f1829653081bbfbbed4ee6ee32ae2c508c /.config/qtile | |
parent | 544f5384c32c77cb764598db785c82645abeb353 (diff) |
Added a rule to automatically float a window if it has a parent
Diffstat (limited to '.config/qtile')
-rw-r--r-- | .config/qtile/layouts.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.config/qtile/layouts.py b/.config/qtile/layouts.py index 94c8b6b..52eeb64 100644 --- a/.config/qtile/layouts.py +++ b/.config/qtile/layouts.py @@ -36,7 +36,7 @@ floating_layout = layout.Floating( Match(wm_type='splash'), Match(wm_type='dialog'), Match(wm_class='gimp-2.99'), - Match(wm_class='Firefox'), + # Match(wm_class='Firefox'), Match(wm_class='file_progress'), Match(wm_class='confirm'), Match(wm_class='dialog'), @@ -52,5 +52,6 @@ floating_layout = layout.Floating( Match(wm_class='ssh-askpass'), # ssh-askpass Match(title='branchdialog'), # gitk Match(title='pinentry'), # GPG key password entry + Match(func=lambda c: c.is_transient_for()), # automatically float a window if it has a parent ], ) |