Anomalocaridid / handlr-regex

Fork of handlr with support for regex
MIT License
129 stars 5 forks source link

feat: add option expand wildcards in `mimeapps.list` #79

Closed Anomalocaridid closed 2 months ago

Anomalocaridid commented 2 months ago

Adds config options to expand wildcards in mimeapps.list.

When expand_wildcards is set to true (false by default), wildcards like text/* will be expanded to all matching mimetypes rather than entered verbatim.

This doesn't automatically convert wildcards already in mimeapps.list and regardless of settings, handlr remove and handlr unset will prefer literal wildcards over their matching mimetypes if they are present.

Requested in #75