Skip to content

notify

notify

The notify verb — send a one-shot desktop notification.

Loaded only when terok-clearance-hub notify is the invoked verb: the COMMAND node is reached via the lazy source reference on a CommandDef in terok_clearance.commands, so no other verb pays for this module's dbus_fast handler path.

COMMAND = CommandDef(name='notify', help='Send a one-shot desktop notification', handler=_handle_notify, args=(ArgDef(name='summary', help='Notification title'), ArgDef(name='body', nargs='?', default='', help='Notification body text'), ArgDef(name='-t/--timeout', dest='timeout', type=int, default=(-1), help='Expiration timeout in milliseconds (-1 = server default)'))) module-attribute