refactor(qtile): expand out default float rules

Primarily for the purpose of editing them later
This commit is contained in:
Infinidoge 2022-03-06 00:12:01 -05:00
parent 843e5798a0
commit 730152e699

View file

@ -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