notification

Desktop notifications


Keywords
notifications, desktop, dbus, desktop-notification, freedesktop, freedesktop-notifications, linux, notification, xdg
License
MIT
Install
nimble install notification

Documentation

notify

Easily send desktop notifications.

Supported OS

  • Linux/BSD (requires libdbus)

Installation

nimble install notify

Example

import notify

var n = initNotification(
  summary = "hello",
  body = "world",
  icon = "help-faq")

n.add Hint(kind: hkUrgency, urgency: Critical)

let handle = n.notify