Feature request: Apply window rules via matching regular expression patterns #60
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Many window managers allow for you to apply a window rule for all windows which match a specific regular expression pattern. Currently, komorebi appears to apply rules based on the string equality of the window class name, executable name or title text.
By adding regex support for window rule defenitions, the window manager would be able to apply rules for a variety of windows without having an excessive amount of definitions. Additionally, the use of regular expression wildcards allows for powerful application of window rules:
If possible, it may also be useful to pass multiple combinations of rule matches into a single
komorebic.exe float-rule
command:This would allow the user to combine a number of regular expressions based on various window attributes. The above example would apply a floating rule to all jetbrains windows which contain the title "Welcome to ..."
The text was updated successfully, but these errors were encountered: