Zren / plasma-hud

Provides a way to run menubar commands in KDE Plasma through rofi, much like the Unity 7 Heads-Up Display (HUD).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Show Icons

Zren opened this issue · comments

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.

We need to parse the icon theme from kdeglobals, as it defaults to Adwaita icons.

2019-09-28___00-25-04