bismuth icon indicating copy to clipboard operation
bismuth copied to clipboard

[FEATURE]: Partial Regular Expression Support to match Window Classes (X11?)

Open b1scu1t opened this issue 3 years ago • 2 comments
trafficstars

Summary

As Bismuth/Krohnkite supports partial Regex to match 'Window Titles' in the Window Rules configuration, can that functionality be ~~'copy-pasted'~~ applied to the Window Classes field too?

A clear and concise description of what you want to happen

You see...Wine applications HATE all forms of window tiling, so I'm trying to whip-up a rule that catches ALL Windows/Wine applications to have them float or be ignored by default. All Windows/Wine applications have the '.exe' suffix in the 'Window Class' attribute, so I'm trying to match all of them with a '*.exe' regular expression.

A clear and concise description of any alternative solutions or features you've considered.

I've considered matching Wine apps via the Window Title attribute, but the window titles for Wine applications do not have information that makes it clear that they are. For example: MS Word's class name is 'winword**.exe**', but the title is just 'Word'.

Additional info

Operating System: openSUSE Leap 15.3 KDE Plasma Version: 5.23.5 KDE Frameworks Version: 5.90.0 Qt Version: 5.15.2 Kernel Version: 5.3.18-59.37-default (64-bit) Graphics Platform: X11 Processors: 4 × Intel® Core™ i5-3320M CPU @ 2.60GHz Memory: 7.6 GiB of RAM Graphics Processor: Mesa DRI Intel® HD Graphics 4000

b1scu1t avatar Jan 17 '22 01:01 b1scu1t

+1

dcunited001 avatar Jul 13 '22 16:07 dcunited001

+1

rauldipeas avatar Jun 23 '23 10:06 rauldipeas