How do I get the active window on Gnome Wayland?

The two previous answers are outdated, this is the current state of querying appnames and titles of windows in (Gnome) Wayland. A Gnome-specific JavaScript API which can be accessed over DBus The wlr-foreign-toplevel-management Wayland protocol (unfortunately not implemented by Gnome) The Gnome-specific API will likely break between Gnome versions, but it works. It is heavily … Read more

tech