Dzen

From ArchWiki
Revision as of 04:09, 2 April 2008 by Thayer (Talk | contribs) (New page: Category:System Monitor Category:HOWTOs (English) Category:Eye candy (English) {{Stub}} {{i18n_links_start}} {{i18n_entry|English|Dzen}} {{i18n_links_end}} =Introduction= From...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Tango-document-new.pngThis article is a stub.Tango-document-new.png

Notes: please use the first argument of the template to provide more detailed indications. (Discuss in Talk:Dzen#)
Template:I18n links start

Template:I18n entry Template:I18n links end

Introduction

From the dzen website:

"Dzen is a general purpose messaging, notification and menuing program for X11. It was desigend to be scriptable in any language and integrate well with window managers like dwm, wmii and xmonad though it will work with any windowmanger."

Installation

dzen is available from the community repository:

# pacman -S dzen2


Tips & Tricks

Dzen & conky-cli

conky-cli, a stripped-down version of the Conky status utility, can be used to pipe information directly to dzen for output in a statusbar. The following example displays the the loadavg values in red and the current time in the default dzen foreground colour:

~/.conkyrc:

background no
out_to_console yes
update_interval 1.0
total_run_times 0
use_spacer no

TEXT
^fg(#ff0000)${loadavg 1 2 3} ^fg()${time %a %b %d %I:%M%P}


~/bin/dzconky:

#!/bin/sh

FG='#aaaaaa'
BG='#1a1a1a'
FONT='-*-terminus-*-r-normal-*-*-120-*-*-*-*-iso8859-*'
conky | dzen2 -e  -h '16' -w '600' -ta r -fg $FG -bg $BG -fn $FONT

Simply execute dzconky in your startup scripts.