Re: [dwm] CLI color/font override patch

From: <>
Date: Wed, 25 Feb 2009 10:54:09 +0100

This can be easily done with radare:

set the font in config.h to:
FONTOFF............................ (dots for padding)

use this command to find the offset to this buffer:

$ echo / FONTOFF | radare -n dwm

and then you can just change it with:

echo w 10x20 @ 0x1354 | radare -nw dwm

0x1354 is the offset t the fontoff buffer

by using a endwatermark with a fixed length we can either do all this stuff in a single line without having to manually recover the fontoff.

Font is a char[128+7]=

echo / FONTOFF |radare -e "cmd.hit=s-128&&w $FONT" -nw dwm

- original message -
Subject: Re: [dwm] CLI color/font override patch
From: Mate Nagy <>
Date: 2009/02/24 19:32

On Tue, Feb 24, 2009 at 02:05:21PM -0500, Jeremy Jay wrote:
> If you want to avoid the compile I'm sure it'd be
> just as easy to use a hex-editor on the strings.
 we should write something like Dehacked for dwm :D

Received on Wed Feb 25 2009 - 09:54:09 UTC

This archive was generated by hypermail 2.2.0 : Wed Feb 25 2009 - 10:12:05 UTC