Commit Graph

12 Commits

Author SHA1 Message Date
Tulir Asokan
05790c156d Run sound command in goroutine so notification shows up at the same time 2021-09-19 20:52:20 -04:00
Tulir Asokan
531a58ce4a Check if notify-send is available before using notifications 2021-09-19 20:51:19 -04:00
Tulir Asokan
580393f218 Re-add paplay as an option and make audio files configurable 2021-09-19 20:51:08 -04:00
Tulir Asokan
5b70a6f1e5 Use osascript parameters for notification fallback on macOS 2021-09-19 20:51:03 -04:00
Maxim Karasev
86a9789013 Add generic notify_unix.go
Notification sound playback no longer depends on PulseAudio, so it
should run on any Unix-like operating system with libnotify and
vorbis-tools.
2021-09-18 21:22:01 +03:00
negatethis
43de1c87e1 Added notify_openbsd.go to the notification library so that notifications will be available on OpenBSD systems as well 2021-06-14 12:12:58 -05:00
Tulir Asokan
0943374892 Update copyright year 2020-04-19 18:10:14 +03:00
Tulir Asokan
4b7f7b081b Maybe fix windows 2019-03-28 23:35:50 +02:00
Tulir Asokan
cc63a197c6 Change more things 2019-03-26 22:09:10 +02:00
Tulir Asokan
bf2a5e9b34 Update license and sort imports 2019-01-23 00:26:51 +02:00
Tulir Asokan
b1dc965a4a Gofmt 2018-04-19 11:10:34 +03:00
Tulir Asokan
c0705b02a0 Move notification package to lib/ and add open package 2018-04-11 15:05:42 +03:00