You are not logged in.
Hi.
I'm using awesome as my window manager with dmenu. But dmenu by default looks like dwm (font and colors).
So is there a way to customize dmenu's font and colors to match my awesome configuration?
I looked the dwm's config.h file and saw a dmenu entry line:
{ MODKEY, XK_p, spawn,
"exe=`dmenu_path | dmenu -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"'"
" -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'` && exec $exe" },
So it seems that it's possible to configure dmenu through the menu entry, but my attempts failed. When I tried to replace FONT -nb with FONT -nu (with is a small font), awesome "crashed" (keybindings didn't work anymore).
So any help is welcome.
Verner
Offline
Perhaps this will be of a help:
1. Entry from my .awesomerc:
key {
modkey = {"Mod4"}
key = "d"
command = "spawn"
arg = "exe=`dmenu_path | dmenu -nb '#000000' -nf '#ffffff' -fn 'terminus-8' -b` && exec $exe"
}
2. Little script to bind dmenu to the keys in Pekwm:
#!/bin/bash
exe=`dmenu_path | dmenu -b -nb black -nf darkgrey -sf black -sb darkgrey` && eval "exec $exe"
Kind regards,
tami
"Possession means worries and luggage bags one has to drag along." Little My
Offline
thanks, with a little bit tweaking that worked.
only getting the right font is a little bit tricky but i'll figure it out somehow...
but great thanks.
Verner
Offline
For font selection, you can use xfontsel.
Offline