Closed cassidyjames closed 10 months ago
- Backgrounding
There is:
org.freedesktop.impl.portal.Background.GetAppState
: for getting running applications status (if have at least one window open, if on background and if is on foreground)org.freedesktop.impl.portal.Background.RunningApplicationsChanged
: that is emitted by the portal itself when there's a change on the running applications.But I don't think they will be usefull since we can't get the number of windows open neither the title of them, only the app id.
However, there's the org.gnome.Shell.Introspect
interface that is used to provide the Background portal in the Gtk Backend, and looks like the org.gnome.Shell.Introspect.GetWindows
method give us sufficient information to implement the "running apps and windows" part of the dock.