Show Icons
Zren opened this issue · comments
Chris Holland commented
It's possible to show icons in drun. dmenu also has the option of showing icons, but it's a little more complicated. The result does not include the icon, so we need to build 2 dict()
s. The first with the label+icon
string to pass to rofi, and another with just the label
to lookup the action_id
when we get menu_result
.
- https://github.com/davatorium/rofi/blob/8d9e403659cfda0adc12f003a207be032972c68c/source/dialogs/script.c#L78
- davatorium/rofi#840 (comment)
We need to parse the icon theme from kdeglobals
, as it defaults to Adwaita
icons.