/** * dbus.js - Async D-Bus proxy for the Strata daemon. * * Uses Gio.DBusProxy.makeProxyWrapper to generate a typed proxy class. * All method calls should use the *Async variants (return Promises) to avoid * blocking the GNOME Shell compositor main loop. */ import Gio from 'gi://Gio'; const STRATA_IFACE_XML = ` `; export const StrataProxy = Gio.DBusProxy.makeProxyWrapper(STRATA_IFACE_XML); export const BUS_NAME = 'dev.edu4rdshl.Strata'; export const OBJECT_PATH = '/dev/edu4rdshl/Strata';