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

Use standard dbus interface for notifications #7

Open
peterhoeg opened this issue Jul 22, 2022 · 0 comments
Open

Use standard dbus interface for notifications #7

peterhoeg opened this issue Jul 22, 2022 · 0 comments

Comments

@peterhoeg
Copy link
Contributor

Further to #5, would it be possible to use the standard DBus notification interface?

A bit of background. I wrote a small tool to handle reminders in .ics files synced from O365 and needed a mechanism to notify. I thought "no problem, I'll use libdbus as it allows me to also read the do-not-disturb status before actually sending the notification and I can then just send them directly" but I then discovered, that when you simply use the org.freesktop.Notifications interface, the do-not-disturb bit is handled automatically for you.

I understand that you might want to use libnotify to abstract away the details of the various platforms on which you run, but maybe there is a way to have it simply use the dbus interface so the desktop environment will handle it like any other application doing notifications.

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

No branches or pull requests

1 participant