3 if [ "x" = "x${DBUS_SESSION_BUS_ADDRESS}" ]; then
4 DBUS_SESSION_BUS_ADDRESS:=unix:path=/run/user/$UID/bus
8 dbus-send --session --dest=org.AGL.afm.user --print-reply /org/AGL/afm/user org.AGL.afm.user.$1 "string:$2"
19 send install '{"wgt":"'"$f"'","force":true}'
24 send uninstall "\"$i\""
63 usage: $(basename $0) command [arg]
68 runnables list the runnable widgets installed
71 install wgt install the wgt file
74 uninstall id remove the installed widget of id
77 detail id print detail about the installed widget of id
80 runners list the running instance
83 start id start an instance of the widget of id
86 kill rid terminate the running instance rid
89 pause rid stop the running instance rid
92 continue rid continue the previously rid
95 status rid get status of the running instance rid
101 echo "unknown command $1" >&2