hayai/vendor/github.com/gen2brain/beeep
2024-12-21 17:26:50 +01:00
..
alert_darwin.go add vendor 2024-12-21 17:26:50 +01:00
alert_js.go add vendor 2024-12-21 17:26:50 +01:00
alert_unix.go add vendor 2024-12-21 17:26:50 +01:00
alert_unsupported.go add vendor 2024-12-21 17:26:50 +01:00
alert_windows.go add vendor 2024-12-21 17:26:50 +01:00
beeep.go add vendor 2024-12-21 17:26:50 +01:00
beep_darwin.go add vendor 2024-12-21 17:26:50 +01:00
beep_js.go add vendor 2024-12-21 17:26:50 +01:00
beep_unix.go add vendor 2024-12-21 17:26:50 +01:00
beep_unsupported.go add vendor 2024-12-21 17:26:50 +01:00
beep_windows.go add vendor 2024-12-21 17:26:50 +01:00
LICENSE add vendor 2024-12-21 17:26:50 +01:00
notify_darwin.go add vendor 2024-12-21 17:26:50 +01:00
notify_js.go add vendor 2024-12-21 17:26:50 +01:00
notify_unix_nodbus.go add vendor 2024-12-21 17:26:50 +01:00
notify_unix.go add vendor 2024-12-21 17:26:50 +01:00
notify_unsupported.go add vendor 2024-12-21 17:26:50 +01:00
notify_windows.go add vendor 2024-12-21 17:26:50 +01:00
README.md add vendor 2024-12-21 17:26:50 +01:00

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)
}