Skip to content

Get icon_data. #1090

@dharmx

Description

@dharmx

Issue description

How do I get the icon_data through a script. For example, Discord sends the profile picture in byte format and Spotify sends the album art in byte format. I am making a notification manager so I was wondering if getting these hints would be possible or not and if so how? Also, the dunstctl history part also doesn't have them. The icon data path is empty!

However, upon monitoring the DBUS interface(?) I do see that the icon data is being returned. Note that the notifications itself work fine! The images do show when I am pinged from Discord. I just want the icon bytes so I can parse it in my script.

bytes

Installation info

Version: Dunst - A customizable and lightweight notification-daemon v1.8.1-60-g3bba0b0
Install type: From AUR from here
Window manager: BSPWM

Minimal dunstrc
# Dunstrc here
# Not applicable.

Please, ask if you need any additional info.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions