Skip to content

notify is a go dbus implementation for delivering desktop notifications over dbus

License

Notifications You must be signed in to change notification settings

axioncloud/notify

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

notify

GoDoc CircleCI

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:

Quick intro

See example: main.go.

Clone repo and go to examples folder:

go run main.go

TODO

  • Add callback support aka dbus signals.
  • Tests. I am very interested in any ideas for writing some (useful) tests for this.

See also

The Gnome notification spec https://developer.gnome.org/notification-spec/.

Contributors

Thanks to user emersion for great ideas on receiving signals.

License

GPLv3

About

notify is a go dbus implementation for delivering desktop notifications over dbus

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%