You are not logged in.

#1 2007-12-12 16:17:19

LonelyStar
Member
Registered: 2007-12-09
Posts: 123

xmonad and dzen - I do not get it

Hello,
I want to use dzen under xmonad and let dzen show the active workspaces.
I know, I can do that using

xmonad | dzen2

I also know (or I think I can figure it out myself) how to put other usefull information into dzen.
In example, if I want a cpu meter:

gcpubar | dzen2

So fat so good. What I do not know, how can I have the xmonad workspace information and the cpu meter at the same time?
I need a hint.

Thanks!
Nathan

Offline

#2 2007-12-12 21:01:36

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: xmonad and dzen - I do not get it

AFAIK, it might be possible to combine both outputs into a single dzen session, but I have yet to see a single occurrence of this.  All of the sample configs use at least 2 instances of dzen when displaying anything more than the xmonad info.


thayer williams ~ cinderwick.ca

Offline

#3 2007-12-12 21:38:29

LonelyStar
Member
Registered: 2007-12-09
Posts: 123

Re: xmonad and dzen - I do not get it

OK, let´s have a look at an example:
[img][http://haskell.org/haskellwiki/Image:By … ig.png/img]

Here is the config for it:
http://haskell.org/haskellwiki/Xmonad/C … _xmonad.hs
It´s taken form
http://haskell.org/haskellwiki/Xmonad/Config_archive

I tried to copy his config ...
starting xmonad directly ... no dzen.
Starting with:
xmonad | dzen2

dzen2 with workspaces ... but not the extra information as in the screenshort.

What am I missing?
Thanks!
Nathan

Offline

#4 2007-12-13 00:46:05

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: xmonad and dzen - I do not get it

Well, Brent Yorgey's config is a bit incomplete in a sense that he runs dzen2 from .xinitrc (or elsewhere) separately from xmonad. If you want dzen to be run by xmonad, look for something like "statusBarCmd"-related stuff in Rob Manea's config.

Offline

Board footer

Powered by FluxBB