On Wed, Dec 08, 2021 at 01:24:29AM -0800, Vincent Girčs wrote:
> for instance, some software i use can have title that can change when 
> switching layer/tab etc.
> so this: Match(wm_class='app_class', title='settings') can work some time 
> until the application change title with 'settings (layer abc)' where 'abc' 
> is set by the user in the app, which makes it unpredictable in the qtile 
> config.
> 
> is there then something i could do to set the title with something like 
> ['settings' in title] instead of raw title name?

According to the documentation[1] match support re.compile() so this might work

  Match(wm_class='app_class', title=re.compile('settings.*'))



[1] https://docs.qtile.org/en/latest/manual/config/groups.html#match

-- 
Kai Stian Olstad

-- 
You received this message because you are subscribed to the Google Groups 
"qtile-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qtile-dev/20211208143721.4hlcwpvzj73wmobu%40olstad.com.

Reply via email to