You are not logged in.

#1 2009-11-30 15:20:03

muchzill4
Member
From: Poland
Registered: 2009-03-30
Posts: 30

Dzen problem + irssi styling question.

My dzen problem was posted in xmobar'n'dzen thread, but no reply there, so I did a naughty thing and reposted this in Newbie Corner.

1.
I've got a problem with dzen. Aligning it to be perfectly exact. I'm outputting conky-cli to dzen, and it's behaviour is really weird. Well I've read somewhere one the forums, that ^p(_CENTER) put between elements you want on the edges of the screen does the trick, but for me it only puts some extra space inbetween. So I tried to do it with ^p(_LEFT) and ^p(_RIGHT), but ^p(_RIGHT) seems to move content too far to the right. It's obious - if the position of X is set to _RIGHT everything will be displayed after it, so over the edge of the bar. Is there any nice way to make stuff alight both left and right on one dzen bar? Doing ^p(-X) won't do the trick, cause when conky content changes dynamically it may not have enough space and dissapear over the edge of the screen.

I already have 3 dzen instances @ my xmonad (one with layouts/workspaces, one with date [didn't want to mess with multiplexer] and one in the bottom to display some other system monitors etc) so I'd rather not create another instance of dzen. Possible? What do you advise?

2.
I want to change privmsg in my irssi theme, but I got a problem with whitespacing:
privmsgnick = "{msgnick %w$* %r<<%n}" .
The space between 'nick' and '<<' does not work. How can I fix that?

Offline

#2 2009-11-30 15:51:12

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,160

Re: Dzen problem + irssi styling question.

1. This may or may not be what your looking for as I don't use xmonad but use dzen2 with conky in openbox and musca tiling wm using a script.

FG='#aaaaaa'
BG='#1a1a1a'
FONT='-*-terminus-medium-r-*-*-12-*-*-*-*-*-*-*'
conky | dzen2 -e ''-ta c -fg $FG -bg $BG -fn $FONT -x 0 -y 754

This puts a dzen bar on the bottom of my laptop screen which runs at 1024x768 res. and centers the conky output on the dzen bar--thats what the -ta c does.

Edit: BTW, if you're not aware, you don't have to compile conky-cli anymore to use conky in dzen2.  Just add a line

output_to_x no

to your .conkyrc and install the regular conky from the repos.

Last edited by bgc1954 (2009-11-30 15:54:42)


Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz

Offline

#3 2009-11-30 16:05:13

muchzill4
Member
From: Poland
Registered: 2009-03-30
Posts: 30

Re: Dzen problem + irssi styling question.

Can you post sshot of how your dzen look like? smile

Last edited by muchzill4 (2009-11-30 17:23:26)

Offline

#4 2009-11-30 16:19:59

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,160

Re: Dzen problem + irssi styling question.

Hope this works.  Haven't used this method to post a screenie but we'll see if it works. wink

tMnZ6Zw

Edit: guess it works. big_smile

Last edited by bgc1954 (2009-11-30 16:21:04)


Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz

Offline

#5 2009-11-30 17:23:37

muchzill4
Member
From: Poland
Registered: 2009-03-30
Posts: 30

Re: Dzen problem + irssi styling question.

Nah, you have everything centered, I want it aligned left and right. smile That doesn't work like it should.

Offline

Board footer

Powered by FluxBB