Notify is a go library for interacting with the dbus notification service defined by freedesktop.org: https://developer.gnome.org/notification-spec/
It can deliver notifications to desktop using dbus communication, ala how libnotify does it. It has so far only been tested on gnome and gnome-shell 3.16/3.18/3.22 in Arch Linux.
Please note notify
is still in a very early change and no APIs are locked until a 1.0 is released.
More testers are very welcome =)
Depends on:
See example: main.go.
Clone repo and go to examples folder:
go run main.go
- Add callback support aka dbus signals.
- Tests. I am very interested in any ideas for writing some (useful) tests for this.
The Gnome notification spec https://developer.gnome.org/notification-spec/.
Thanks to user emersion for great ideas on receiving signals.
GPLv3