Yayy! dzen2 is cool :) I've done some little changes to allow me to use't as a button
in the top bar. I've changed the -m flag for -l (lines instead of multiline has more sense
for me).
I've used mesure as stdin for dzen2 and now I've a network-meter in the top bar of dwm. if
you want to use it fetch the latest version of mesure from the CVS (cvs.nopcode.org) and
type this in your ~.xinitrc:
(
while : ; do
(echo eth0 && mesure -atnDKvi eth0 ) | dzen2 -x 1020 -w 80 -b 50 -l 1 -l 5
xterm -bg black -fg gray -e sudo tcpdump -i eth0
done
) &
The new flag for dzen2 is -b that accepts a numeric value to define the width of the title box.
The patch is attached.
Suggestions and ideas:
======================
- hook SIGUSR1 and SIGUSR2 for rollup/rolldown the window
- return value depends on the mouse button (0 = left button, 1 = middle button, 2 = right button) ...
- support for wheel (progressive rollup/rolldown)
If we hook USR1 we can put a new keybinging to execute:
pkill -USR1 dzen2
This can be used to rollup/down all the running dzen2s with a single keystroke
Nice toy!
--pancake
On Sun, 4 Mar 2007 11:37:35 +0100
Robert Manea <rob.manea_AT_googlemail.com> wrote:
> Hi,
>
> i fixed some locale related problems in dzen2. Now all characters should
> be displayed correctly if your font supports them.
>
> You'll find the latest dzen2 version here:
> http://gotmor.googlepages.com/dzen2-latest.tar.gz
>
>
> Cheers, Rob
>
--pancake
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:38:35 UTC