forked from quickshell/quickshell
service/notifications: add notifications service
This commit is contained in:
parent
79cbfba48a
commit
d630cc7f76
15 changed files with 1249 additions and 0 deletions
46
src/services/notifications/org.freedesktop.Notifications.xml
Normal file
46
src/services/notifications/org.freedesktop.Notifications.xml
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
<node>
|
||||
<interface name="org.freedesktop.Notifications">
|
||||
<method name="GetCapabilities">
|
||||
<arg name="capabilities" type="as" direction="out"/>
|
||||
</method>
|
||||
|
||||
<method name="Notify">
|
||||
<arg name="appName" type="s" direction="in"/>
|
||||
<arg name="replacesId" type="u" direction="in"/>
|
||||
<arg name="appIcon" type="s" direction="in"/>
|
||||
<arg name="summary" type="s" direction="in"/>
|
||||
<arg name="body" type="s" direction="in"/>
|
||||
<arg name="actions" type="as" direction="in"/>
|
||||
<arg name="hints" type="a{sv}" direction="in"/>
|
||||
<arg name="expireTimeout" type="i" direction="in"/>
|
||||
<arg name="id" type="u" direction="out"/>
|
||||
<annotation name="org.qtproject.QtDBus.QtTypeName.In6" value="QVariantMap"/>
|
||||
</method>
|
||||
|
||||
<method name="CloseNotification">
|
||||
<arg name="id" type="u" direction="in"/>
|
||||
</method>
|
||||
|
||||
<method name="GetServerInformation">
|
||||
<arg name="name" type="s" direction="out"/>
|
||||
<arg name="vendor" type="s" direction="out"/>
|
||||
<arg name="version" type="s" direction="out"/>
|
||||
<arg name="specVersion" type="s" direction="out"/>
|
||||
</method>
|
||||
|
||||
<signal name="NotificationClosed">
|
||||
<arg name="id" type="u" direction="out"/>
|
||||
<arg name="reason" type="u" direction="out"/>
|
||||
</signal>
|
||||
|
||||
<signal name="ActionInvoked">
|
||||
<arg name="id" type="u" direction="out"/>
|
||||
<arg name="actionKey" type="s" direction="out"/>
|
||||
</signal>
|
||||
|
||||
<signal name="ActivationToken">
|
||||
<arg name="id" type="u" direction="out"/>
|
||||
<arg name="activationToken" type="s" direction="out"/>
|
||||
</signal>
|
||||
</interface>
|
||||
</node>
|
||||
Loading…
Add table
Add a link
Reference in a new issue