Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added notify_openbsd.go to the notification library so that notifications will be available on OpenBSD systems as well #298

Merged
merged 1 commit into from
Aug 2, 2021

Conversation

negatethis
Copy link
Contributor

I use gomuks on a laptop running OpenBSD with notify-send, but I noticed that the SendNotification function was using the lib/notification/notify_unsupported.go library instead of the lib/notification/notify_linux.go library, which should work fine for OpenBSD, minus the reliance on paplay, which is not available in base on OpenBSD.

I created lib/notification/notify_openbsd.go using notify_linux.go as a template. It's the same thing, essentially, minus any notification sounds since OpenBSD has no way to play .ogg files in base and I don't want to create extra dependencies.

…ions will be available on OpenBSD systems as well
@tulir tulir merged commit a0b3cae into tulir:master Aug 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants