Re: [dev] [patch] xmms like pattern matching for dmenu (update to hg tip)

2010-08-07 Thread StephenB
On 7 August 2010 20:36, Robert Ransom wrote: > On Sat, 7 Aug 2010 17:23:13 +0100 > StephenB wrote: > > > Just to make clear, this patch is an updated version of the one here: > > http://tools.suckless.org/dmenu/patches/xmms-like_pattern_matching > > http://suckless.org/wiki/ > > > Robert Ransom

[dev] [dwm] spawn a floating window

2010-08-07 Thread Pascal Wittmann
Hi, I tried to write a function that spawns a window/client and makes it floating, but with no success. I looked a the spawn function, but I have no idea how to get/alter the isfloating value of the new client. Simply taking the selected one won't work. Example of use: You are reading a som

Re: [dev] [patch] xmms like pattern matching for dmenu (update to hg tip)

2010-08-07 Thread Robert Ransom
On Sat, 7 Aug 2010 17:23:13 +0100 StephenB wrote: > Just to make clear, this patch is an updated version of the one here: > http://tools.suckless.org/dmenu/patches/xmms-like_pattern_matching http://suckless.org/wiki/ Robert Ransom signature.asc Description: PGP signature

Re: [dev] [patch] xmms like pattern matching for dmenu (update to hg tip)

2010-08-07 Thread StephenB
On 7 August 2010 14:25, Rob wrote: > Uh, in tokenise, shouldn't > strncpy(tmp, pat, strlen(pat)); > be > strncpy(tmp, pat, sizeof tmp); ? we only tokenise text, so it can simplify to: unsigned int tokenize(char **tok) { unsigned int i = 0; char tmp[sizeof text] = {0}; strcpy(tmp, text); I als

Re: [dev] [patch] xmms like pattern matching for dmenu (update to hg tip)

2010-08-07 Thread Rob
Uh, in tokenise, shouldn't strncpy(tmp, pat, strlen(pat)); be strncpy(tmp, pat, sizeof tmp); ? On 7 August 2010 14:20, StephenB wrote: > see: (this patch is against 352) > http://pastebin.com/raw.php?i=4sh7ZTuJ > I use this all the time for uzbl browser history and bookmarks. > regards, > Stephen

[dev] [patch] xmms like pattern matching for dmenu (update to hg tip)

2010-08-07 Thread StephenB
see: (this patch is against 352) http://pastebin.com/raw.php?i=4sh7ZTuJ I use this all the time for uzbl browser history and bookmarks. regards, StephenB

Re: [dev] Surf fixed font

2010-08-07 Thread Martin Kopta
Thanks for pointing to pango and cairo. As a archlinux user, I read (tried to read) font configuration [1] on archwiki but it just made me sick. I decided to be BFU and ignore my problem. Anyway, thanks dum8d0g [1] http://wiki.archlinux.org/index.php/Font_Configuration On Sat, Aug 07, 2010 at 1

Re: [dev] Surf fixed font

2010-08-07 Thread pancake
Rendering is done by pango and cairo. So, surely, you have to configure them to get subpixel rendering, antialiasing and other goods.simple way is installing gnome-control-center. But you can google for a cmdline solution. Editing the files to do it. I have never needed to configure this in arch

[dev] Surf fixed font

2010-08-07 Thread Martin Kopta
There is one thing about surf I do not understand. When it shows some fixed-font text, it looks really ugly and it is barely readable sometimes [1]. I think it is problem of webkit, but I am not sure how to make it better. How surf shows fixed font to you? Do I need to somehow configure webkit/gtk/