From 52477514130061f2321ff7ec2c83bd36036319c9 Mon Sep 17 00:00:00 2001 From: Justine Smithies Date: Sat, 2 Sep 2023 14:00:54 +0100 Subject: Added a rule to automatically float a window if it has a parent --- .config/qtile/layouts.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.config/qtile/layouts.py') 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 ], ) -- cgit v1.2.3