Skip to content

How to use custom theme icons with pasystray ? #162

@Jubijub

Description

@Jubijub

pasystray version 0.8.0, from Arch package

My theme config :

[Settings]
gtk-theme-name = Catppuccin-Macchiato
gtk-icon-theme-name=Papirus-Dark
gtk-cursor-theme-name = Catppuccin-Macchiato-Dark

I have been trying to change the systray icons without success.

From the code I gather that the program is looking for icons named :

static icon_set_t volume_icon_names = {
[ICON_IDX_MUTED] = "audio-volume-muted",
[ICON_IDX_LOW] = "audio-volume-low",
[ICON_IDX_MEDIUM] = "audio-volume-medium",
[ICON_IDX_HIGH] = "audio-volume-high"

and that it's looking for icon size 48x48 :

gtk_image_set_from_icon_name(image, icon_name, GTK_ICON_SIZE_DIALOG);

I tried to supply my icons in ./local/share/icons/Papirus-Dark/48x48/status/ , both in svg and png, and pasystray still displays that black volume icon. I also tried to play with -symbolic suffix, it didn't work either.

Can you confirm which icon name shall be used, and if pasystray honours the GTK theme ?
thanks !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions