ydotool icon indicating copy to clipboard operation
ydotool copied to clipboard

Getting Active Window

Open Sachin-Bhat opened this issue 1 year ago • 1 comments

Thank you for creating this tool! I was using xdotool to get active window along with maim to take screenshots of an active window. After moving to wayland, it seemed like ydotool was a good alternative. Though it works differently from xdotool, is there a possibility of getting the active window in ydotool using dbus or otherwise. I understand each compositor has different solutions to get an active window. I wonder if it is possible to create a multi-integration like implementation for this for the compositors that support this.

Cheers, Sachin

Sachin-Bhat avatar Jun 08 '24 14:06 Sachin-Bhat

+1. I need to know how to get active window with ydotool to implement an emoji picker im working on

relma2 avatar Dec 22 '24 20:12 relma2