How do I use an exclude regex in i3 config
By being a Perl based regular expression, I was wondering if there is any extra command to do the opposite of a matching criteria (as PCRE actually do not provide an easy solution for that - thus applications such as grep offer -v option for example).
I basically want to force floating mode for all Pidgin chat windows, besides the main window. The reason for it is simple: I never leave finished chat windows opened, and I want them to call more attention.
# the main window has the title: "Buddy List", and any other chat
# windows has the contact nickname/name on it
for_window [class="^Pidgin$" title="^XXXXXXX$"] floating enable
By forcing an exclude match criteria on "Buddy List", I reckon a contact with this name would fall in the same rule, then being left as tiled window, but this is unlikely, and IMO, acceptable.
If such setting is not possible, would it be worth it to implement it? Something like having the same options implemented with a preceding "v" for invert-match:
for_window [class="^Pidgin$" vtitle="^Buddy List$"] floating enable