summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2022-10-09 21:42:27 -0500
committerzachir <zachir@librem.one>2022-10-09 21:42:27 -0500
commit04534444cbf29f58b79d76399e03d35ba8e2ad31 (patch)
treec5e0a70417d6bf5419c388d7f879773033091e37
parentd533bb0f8a3cacede4de566274921c64b6d60ca1 (diff)
update qtile config (use regex instead of generic match)
-rw-r--r--qtile/config.py8
1 files 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)