xfocus
is a minimal X11 utility to find and focus on windows by their name. It recursively searches the window hierarchy and focuses on the first matching window.
Clone the repository and compile the program:
git clone https://github.com/iehgit/xfocus.git
cd xfocus
make
Run the program with the target window name as an argument:
./xfocus "xfce4-panel"
- X11 development libraries (
libx11-dev
on Debian-based systems).
This project is licensed under the MIT License. See LICENSE for details.