zenity/notify.go

9 lines
183 B
Go
Raw Normal View History

2020-01-26 11:04:49 -05:00
package zenity
// Notify displays a notification.
2020-01-27 10:42:43 -05:00
//
// Valid options: Title, Icon.
2020-01-26 11:04:49 -05:00
func Notify(text string, options ...Option) error {
2021-03-04 07:42:30 -05:00
return notify(text, applyOptions(options))
2020-01-26 11:04:49 -05:00
}