gBar
gBar copied to clipboard
Custom icon for tray items
Also, being able to choose a custom icon for tray items like Discord would be nice.
Originally posted by @ThatOneCalculator in https://github.com/scorpion-26/gBar/issues/56#issuecomment-1821931781
Working on it.
gBar now respects which icon theme is used by the system. Some items still don't use them though (most notably discord). For those the icon needs to be manually set with SNIIconName
.
Nice! Could you also make it possible to set it to a fonticon/text (given that's what I use for all the other icons)?
You can either directly download the icon as svg (if supported, e.g. for material icons you can) or extract it from the font directly. Then you can paste them into ~/.local/share/icons/
or /usr/share/icons/
with a unique name and then use that as SNIIconName
. Or you can convert them to png using e.g. gimp and use that.