Hi,
I'm using wofi on Sway + Arch Linux and no icons are showing up when I run wofi --show run --allow-images
. I have multiple icon sets in /usr/share/icons
but I'm starting to wonder if that's what wofi uses. How am I supposed to set this up? Thanks.
Icons won't show up on run mode, there's no information on what icon to use for what binaries. You'll need to use drun or build your own run script using dmenu mode with some of the more advanced options with wofi.
For example, you can use the format
img:/path/to/image.png:text:image.png
to put an image next to the the text "image.png" in wofi, using dmenu mode.
As ~cloudninja pointed out executables do not contain any icon information, icons for applications are provided by their corresponding desktop files. Desktop files can be shown in wofi through the use of drun mode,
--show drun
, which will show icons if--allow-images
is specified however run will never show icons.