SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2009-09-09 03:29:35

hailukahh
#! Member
From: Texas
Registered: 2009-07-27
Posts: 87

dmenu with xft support

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

Offline

Be excellent to each other!

#2 2009-09-09 07:34:26

corenominal
WRONG
From: Lincoln, UK
Registered: 2008-11-20
Posts: 5,058
Website

Re: dmenu with xft support

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

Offline

#3 2009-09-10 01:17:17

arpinux
#! Die Hard
From: Montréal, France
Registered: 2009-01-15
Posts: 687
Website

Re: dmenu with xft support

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

Offline

#4 2009-09-10 19:13:55

hailukahh
#! Member
From: Texas
Registered: 2009-07-27
Posts: 87

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
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

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo