xdotool getactivewindow getwindowpid
I tried this. But it's not working on Wayland. As far as i know. There is no focus window concept on Wayland. So can I get it from Mutter or GNOME-Shell?
xdotool getactivewindow getwindowpid
I tried this. But it's not working on Wayland. As far as i know. There is no focus window concept on Wayland. So can I get it from Mutter or GNOME-Shell?