Topic: dmenu with xft support

http://omploader.org/tMmJicg

Check out the font in the dmenu at the bottom of the screen!

Go here and download the two sources at the bottom of the page.  Extract the tar.gz and then place the .diff into dmenu-4.0 directory.  Apply the patch with:

 patch -p1 < dmenu-4.0-xft.diff

Then run make and copy dmenu into /usr/bin

Here's my .config/dmenu/dmenu-bind.sh

#!/bin/bash
exe=`dmenu_path | dmenu -b -fa 'monofur' -nb 'black' -nf 'white' -sb 'dodgerblue2' -sf 'white' ` && eval "exec $exe"
<'(((><  I am not ashamed of the gospel, because it is the  ><)))'>
<'(((><  power of God, the salvation of everyone who believes.  ><)))'>

EeePC 900a : #! 9.04 : Atom 1.60 GHz : 1 GB RAM : 4 GB SSD

Re: dmenu with xft support

Nice find, I will have to have a play with this. Thank you for sharing! smile

Re: dmenu with xft support

thx for the tips , dmenu style could now fit to #! custom style... nice shot smile

Re: dmenu with xft support

I found out that the patch I've linked to doesn't support changing the selected text foreground color. sad  So I dug around through the code and came up with a new patch, based off the old one, that will change the foreground color.  Unfortunately I'm not a C programmer, and the new dmenu.c compiles with some warnings, but it is, at least, working for me.

I've uploaded the new patch here.

Please be gentle, I'm sure this is very ugly and barely works.  I encourage someone who knows what they are doing to fix this.

edit:  here's a new screenshot
http://omploader.org/tMmJyYQ

Last edited by hailukahh (2009-09-10 19:23:38)

<'(((><  I am not ashamed of the gospel, because it is the  ><)))'>
<'(((><  power of God, the salvation of everyone who believes.  ><)))'>

EeePC 900a : #! 9.04 : Atom 1.60 GHz : 1 GB RAM : 4 GB SSD