-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"--all" and "--any" flags don't work with --class #180
Comments
It's a bit confusing, I'm sorry. The In your first example, it says "Search for a window with all of the following properties: PID is 14224, name matches the search argument, the search argument is The argument "gvim" In your first command is an argument, as in The second command fails because The way xdotool implements search could be better, and I'm open to ideas about improvements. |
Just hit the same issue and not only is it confusing, it also limits ones possibilities greatly as the class, the instance (what xdotools refers to as classname I assume) and the title (what xdotools refers to as name) can be completely different. My suggestion would be to allow combined searches for each element rather than having it switch what will be searched for limiting what you can do. A search could than look something like this. xdotool search --class '^UXTerm$' --classname '^main-term-right$' --name "I don't need titles" I intentionally omitted I think i3 does a good job with how it handles "window searching" I hope I made any sense ':D |
The text was updated successfully, but these errors were encountered: