Debian Codegraph @

/

0 files · 0 symbols
README (full)

beeep

Build Status Go Reference Go Report Card

beeep provides a cross-platform library for sending desktop notifications, alerts and beeps.

Installation

go get -u github.com/gen2brain/beeep

Build tags

  • nodbus - disable godbus/dbus and use only notify-send

Examples

err := beeep.Beep(beeep.DefaultFreq, beeep.DefaultDuration)
if err != nil {
    panic(err)
}
err := beeep.Notify("Title", "Message body", "assets/information.png")
if err != nil {
    panic(err)
}
err := beeep.Alert("Title", "Message body", "assets/warning.png")
if err != nil {
    panic(err)
}
dir .github/
dir assets/
dir debian/
file LICENSE
file README.md
file alert_darwin.go
file alert_js.go
file alert_test.go
file alert_unix.go
file alert_unsupported.go
file alert_windows.go
file beeep.go
file beep_darwin.go
file beep_js.go
file beep_test.go
file beep_unix.go
file beep_unsupported.go
file beep_windows.go
file example_test.go
file go.mod
file go.sum
file notify_darwin.go
file notify_js.go
file notify_test.go
file notify_unix.go
file notify_unix_nodbus.go
file notify_unsupported.go
file notify_windows.go