Add fuzzy search option
This adds an option --fuzzy or -f to match the keys in the config in a fuzzy way. Makes it possible to for instance change browser icons when it's open on a Youtube tab.
Hi @Zinston, can you please explain the issue?
Also, notice you removed ignorecase for the standard behaviour
Hi @CastixGitHub, good catch about the ignorecase, I'll fix it. I wanted to use this to change the icon in some cases when the title of the window changes. For instance, if I use Whatsapp in the browser, the icon changes to the Whatsapp icon. This gets trickier with things like Youtube, when the page title includes Youtube but also the title of the video. So I made this option to just match loose keywords in the title and I thought I'd share it.
Ok, did you check the title transform available from this fork? https://github.com/i3-workspace-names-daemon/i3-workspace-names-daemon/blob/master/README.md#193
I think your issue should be covered by that, otherwise, could you add tests?