diff options
Diffstat (limited to 'src/signals.md')
-rw-r--r-- | src/signals.md | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/signals.md b/src/signals.md new file mode 100644 index 0000000..0111596 --- /dev/null +++ b/src/signals.md @@ -0,0 +1,32 @@ +# Signals + +ignore this, I'm just dumb and can't follow where signals go or get emitted from + +## Notification + +* resolved(reason) - by daemon/proxy +* dismissed() - by user with `.dismiss()` +* invoked(action) - by user with `.invoke()` + +## Deamon + +non-spec, used by user +* notified(id) - by outside through dbus with `.Notify()` +* resolved(id, reason) - by `Notification.dismiss()` or outside with `.CloseNotification` + +spec, not used by user +* notification_closed(id, reason) - sideeffect of `resolved` +* action_invoked(id, action) - by `Notification.invoke()` + +## Proxy + +mirrors Daemon +* notified(id) +* resolved(id, reason) + +creates `Notification` objects through daemon's json strings +and hooks them up to call daemon's signals and vice versa + +## Notifd + +acts as a bridge between Proxy/Daemon, everything else is internal only |