From 04534444cbf29f58b79d76399e03d35ba8e2ad31 Mon Sep 17 00:00:00 2001 From: zachir Date: Sun, 9 Oct 2022 21:42:27 -0500 Subject: update qtile config (use regex instead of generic match) --- qtile/config.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/qtile/config.py b/qtile/config.py index 4b13459..b95f62f 100644 --- a/qtile/config.py +++ b/qtile/config.py @@ -28,6 +28,8 @@ import os import subprocess import psutil +import re + from typing import List # noqa: F401 from libqtile import bar, hook, layout, qtile, widget @@ -509,14 +511,16 @@ floating_layout = layout.Floating(float_rules=[ Match(title='Browse FX'), # REAPER Match(title='Ardour - Preferences'), # ardour Match(wm_instance_class='import'), # ardour - Match(wm_class='ardour-6.9.0'), # ardour - #Match(wm_class="lin-vst-servertrack.exe.so"), #linvst + Match(wm_class=re.compile('ardour-6\.9\.0')), # ardour + Match(wm_class=re.compile("lin-vst-servertrack\.exe\.so")), #linvst Match(title='Edit Text on the Schematic:'), # LTspiceXVII Match(wm_class='confirmreset'), # gitk Match(wm_class='makebranch'), # gitk Match(wm_class='maketag'), # gitk Match(title='branchdialog'), # gitk Match(wm_class='ssh-askpass'), # ssh-askpass + Match(title=re.compile('Edit Guide.*')), # kdenlive + Match(title=re.compile('Steam - News.*')), # SteamZZ Match(title='Create Snapshot'), # timeshift-gtk Match(title='pinentry'), # GPG key password entry ], border_focus=barcolor_gray8, border_normal=barcolor_black) -- cgit v1.2.3