Top 7.0% forks on proxy.golang.org
proxy.golang.org : github.com/goulash/notify
Package notify provides tray notifications via D-Bus freedesktop.org notifications. WARNING: You are free to use this package, however please note that the API is likely to be unstable till all the functionality is implemented, and there is a lot missing! There is not much you need to do use this package, just start sending notifications: The defaults are a timeout of 3 seconds for notifications and a normal urgency, with everything being empty. You are free to change these via Init, SetName, SetTimeout, SetIconPath, and SetUrgency. Alternatively, you can create your own Notification template, via New. The notify package has been developed according to https://developer.gnome.org/notification-spec, although there is a lot of functionality missing. There is some markup that you can use in the summary and body parts of a notification: I have tried to implement this in the Go philosophy, please let me know if I can improve it somehow. This is a simple example for how to use the notify package.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/goulash/notify
License: MIT
Latest release: almost 5 years ago
First release: almost 5 years ago
Namespace: github.com/goulash
Stars: 2 on GitHub
Forks: 1 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 18 days ago