christophgysin / pasystray

PulseAudio system tray
GNU Lesser General Public License v2.1
444 stars 43 forks source link

Question: GTK Icons #149

Closed YanDoroshenko closed 2 years ago

YanDoroshenko commented 2 years ago

Hello, Which GTK icons are used for various volume levels? I tried switching multiple icon themes, renaming icons, going through the code (I'm not very good in C++), but wasn't able to figure it out. Thanks.

YanDoroshenko commented 2 years ago

Found it 10 seconds after creating the issue. For someone else trying to figure it out: ui.c:

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"
};

static icon_set_t mic_icon_names = {
    [ICON_IDX_MUTED] = "microphone-sensitivity-muted",
    [ICON_IDX_LOW] = "microphone-sensitivity-low",
    [ICON_IDX_MEDIUM] = "microphone-sensitivity-medium",
    [ICON_IDX_HIGH] = "microphone-sensitivity-high"
};