diff options
Diffstat (limited to '.config/qtile/defaults.py')
-rw-r--r-- | .config/qtile/defaults.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.config/qtile/defaults.py b/.config/qtile/defaults.py index eafba13..1345f32 100644 --- a/.config/qtile/defaults.py +++ b/.config/qtile/defaults.py @@ -40,6 +40,10 @@ colors = [ groups = [Group(i) for i in "一二三四五六七八九十"] # groups = [Group(i) for i in ""] +center_floating_windows_by_class = [ + "arandr", "blueman-manager", "pavucontrol" +] + default_border_width=3 layouts = [ @@ -65,6 +69,9 @@ floating_layout = layout.Floating( border_width=default_border_width, border_normal=colors[0][4], border_focus=colors[0][5], + float_rules = [ + *[Match(wm_class=x) for x in center_floating_windows_by_class], + ], ) widget_defaults = dict( |