[Help] Accessing Active Notifications for Notifications LED Ring Project

I’m working on a project to create an LED ring that lights up based on my active notifications in KDE Plasma. I’m wondering if there’s a way to access the current list of active notifications without having to dive into the KDE source code.

Is there an existing API or method for grabbing this info? Any tips would be greatly appreciated!

jsh ,

I have no clue how helpful this is because I was just looking stuff up, but the Arch wiki has an article on notifications that could help point you in the right direction if you haven’t looked at it already.

wiki.archlinux.org/title/Desktop_notifications#No…

NobreHD OP ,
@NobreHD@lemmy.kde.social avatar

Yeah, I didn’t look at it before, but it also don’t seem to have any useful information except:

(…) KDE Plasma use their own implementations to display notifications, and it cannot be replaced.

NobreHD OP , (edited )
@NobreHD@lemmy.kde.social avatar

Actually, nevermind. With it, I learned that the notifications uses DBus, which you can eavesdrop and get the notifications that way. Thanks, Josh

kloud ,
@kloud@ioc.exchange avatar

@NobreHD
If it helps, I made a similar thing, but for my rgb keyboard :ablobowo:
https://github.com/dgudim/keyboard_vis

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • [email protected]
  • All magazines