From 730152e699349e37eaefbbc4561f281c366e0e34 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Sun, 6 Mar 2022 00:12:01 -0500 Subject: [PATCH] refactor(qtile): expand out default float rules Primarily for the purpose of editing them later --- users/infinidoge/config/qtile/config.py | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/users/infinidoge/config/qtile/config.py b/users/infinidoge/config/qtile/config.py index a6c4775..e53185c 100644 --- a/users/infinidoge/config/qtile/config.py +++ b/users/infinidoge/config/qtile/config.py @@ -646,7 +646,23 @@ mouse = [ floating_layout = layout.Floating( float_rules=[ # Run the utility of `xprop` to see the wm class and name of an X client. - *layout.Floating.default_float_rules, + # Section taken from Default Float Rules + Match(wm_type="utility"), + Match(wm_type="notification"), + Match(wm_type="toolbar"), + Match(wm_type="splash"), + Match(wm_type="dialog"), + Match(wm_class="file_progress"), + Match(wm_class="confirm"), + Match(wm_class="dialog"), + Match(wm_class="download"), + Match(wm_class="error"), + Match(wm_class="notification"), + Match(wm_class="splash"), + Match(wm_class="toolbar"), + Match(func=lambda c: c.has_fixed_size()), + Match(func=lambda c: c.has_fixed_ratio()), + # End section Match(wm_class="confirmreset"), # gitk Match(wm_class="makebranch"), # gitk Match(wm_class="maketag"), # gitk