You are not logged in.
Hello guys,
the default dmenu highlights the selected entry with a brighter text color where dmenu-xft displays selected entries with the same color than the others.
All I changed in dwm is
static const char *dmenucmd[] = { "dmenu_run", "-fn", font, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL };
to
static const char *dmenucmd[] = { "dmenu_run", "-fa", "Inconsolata-9", "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL };
Why does it make a difference?
orschiro
Offline
static const char *dmenucmd[] = { "dmenu_run", "-fa", "Inconsolata-9", "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL };
Shouldn't that be "-fn"?
Offline
I had the same problem when I tried dmenu-xft, which is why I still use regular dmenu.
Offline
Hello Jason,
as per man page the "-fn" variable should be the right one for xft fonts.
@Johannes,
any idea who has written the patch? Perhaps he could enhance it in this way to enable the highlighting.
Regards
Offline
as per man page the "-fn" variable should be the right one for xft fonts.
Agreed. It's just not what you have in your config.h (according to what you posted above - as per my highlighted quote)...
Offline