Add case sensitive search option
First, thank you for creating this tool. Upgrading past Fedora 39 meant Wayland, and the loss of xdotool was impactful for me.
A feature request would be a --case-sensitive option for use with search --name <regex>. Web browsers put a lot of text in the titles, and case sensitive searches would make it easier to avoid false-positives for some of my searches.
To give a bit more context, I want to be able to raise a set of windows or to raise a browser window which may be on any of several different tabs, so I'm using kdotool from a wmfg script (window manager foreground) like this:
#!/bin/bash
for term in "$@"; do
kdotool search --name "$term"
done | sort -u | xargs -n 1 kdotool windowactivate
In the mean time, I'll try to refine my regexes to key off things other than case.
I'm in the same boat, I'm writing a general script where you input commands which then gets minimized via a loop on launch and you never know about window title capitalization which could lead to quite a long loop (although I have set up a timeout feature).
Hi, I am working on a fork of this tool and implemented this feature... https://github.com/tvidal-net/kdotool/releases/tag/v0.2.2-SNAPSHOT