[dzen] keyboard control & dynamic color support

Hi, if anyone would like to give dynamic color support and keyboard control in dzen a try should checkout svn trunk: svn checkout http://dzen.googlecode.com/svn/trunk/ dzen * Keyboard support: ----------------- add the keys to action bindings like this: -e 'key_Escape=exit;key_j=scrolldown;key_k=scrollup' The part after 'key_' corresponds to keysymdef.h (the part after 'XK_') Two new actions were introduced "grabkeys" and "ungrabkeys", useful in combination with the "onstart" event in order let dzen grab the keyboard right after startup. * Dynamic color support: ---------------------- pipe lines like the following to dzen: echo "^#cc11ffTEXTTOBECOLOREDHERE" | ./dzen2 -p For a quick test use this: {echo title; sleep 1; echo "^#cc11fffooooo"; \ sleep 1; echo "^#ddaaffbaaaaar"; sleep 1; \ echo defaultcolor; sleep 1; echo "^#23dca1someothercolor"} | \ dzen2 -p -bg black -l 8 There is a known off by one problem in menu mode with coloring otherwise it should work ok. Ideas and suggestions welcome. Bye, Rob.

On Thu, Jun 14, 2007 at 01:39:45PM +0200, Robert Manea wrote:
Hi,
if anyone would like to give dynamic color support and keyboard control in dzen a try should checkout svn trunk:
Just two words: "Thank you!" ciao andrea
participants (2)
-
Andrea Rossato
-
Robert Manea