You are not logged in.
Pages: 1
I'm trying to pipe my conky output through dzen2 and ontop of the scrotwm bar.
It works, but I'm not sure how to position it properly?
conky -d -c "$HOME/.conkyrc" | dzen2 -fg "#ffffff" -bg "#001930" -ta right -w 400 -h 12 -x 900 -y 1 -fn -Misc-Fixed-Medium-R-Semicondensed-*-12-110-75-75-C-60-ISO10646-1This puts the output on the bar like it should, but its cutoff and to the right. I'd like it on left, next to the clock if thats possible.
Any ideas what i need to change?
just call me...
~FSM~
Offline
IAny ideas what i need to change?
Nope, I just wanna say welcome back
show us a scrot of what you have currently, I'm curious what you've been spending your absence on 
If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
Github || Deviantart
Offline
Position it just like you're doing with the x,y and h,w. Make adjustments to those, and maybe the font size until it fits the way you want.
If you don't require colored output, you can also use conky in the statusbar directly by editing the .spectrwm.conf:
bar_action = conky
bar_delay = 1More details in this thread; post your configs when you're done:
http://crunchbanglinux.org/forums/topic … m/page/13/
Last edited by PackRat (2012-08-01 19:21:38)
"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe
Offline
Ah! I was being silly and trying to change the "w" instead of "x" .
Another problem you might be able to solve: it doesn't seem to start on login.
Thats pretty much the only reason I'm using dzen2 instead of just action:conky.
If you've got a setup working with just conky, could you post the files?
just call me...
~FSM~
Offline
Ah! I was being silly and trying to change the "w" instead of "x" .
Another problem you might be able to solve: it doesn't seem to start on login.
Thats pretty much the only reason I'm using dzen2 instead of just action:conky.
If you've got a setup working with just conky, could you post the files?
In .spectrwm.conf:
bar_action = /home/pidsley/scrotwm/scrotbar.shIn scrotbar.sh:
#!/bin/bash
conky -c "/home/pidsley/scrotwm/conkyrc-spectrwm"and in conkyrc-spectrwm (a simple conky, configure to your liking):
out_to_x no
background no
out_to_console yes
update_interval 1
total_run_times 0
temperature_unit fahrenheit
TEXT
CPU: ${cpu cpu0}% | RAM: $memperc% ($mem) | root: ${fs_used /} | home: ${fs_used /home} | ${time %l:%M %P %A %d %b} There's more in this post: http://crunchbanglinux.org/forums/post/246636/#p246636
Last edited by pidsley (2012-08-01 20:21:59)
Offline
FiniteStateMachine wrote:Ah! I was being silly and trying to change the "w" instead of "x" .
Another problem you might be able to solve: it doesn't seem to start on login.
Thats pretty much the only reason I'm using dzen2 instead of just action:conky.
If you've got a setup working with just conky, could you post the files?
In .spectrwm.conf:
bar_action = /home/pidsley/scrotwm/scrotbar.shIn scrotbar.sh:
#!/bin/bash conky -c "/home/pidsley/scrotwm/conkyrc-spectrwm"and in conkyrc-spectrwm (a simple conky, configure to your liking):
out_to_x no background no out_to_console yes update_interval 1 total_run_times 0 temperature_unit fahrenheit TEXT CPU: ${cpu cpu0}% | RAM: $memperc% ($mem) | root: ${fs_used /} | home: ${fs_used /home} | ${time %l:%M %P %A %d %b}There's more in this post: http://crunchbanglinux.org/forums/post/246636/#p246636
Thanks for the help pidsley, but I got it figured out. Just had to make a few small changes. Everything seems to be working now.
just call me...
~FSM~
Offline
No problem. I was just about to post a scrot (scrot or it didn't happen
) but no need now. Personally, I prefer ratpoison, but I used spectrwm for many months before I decided I liked rp better.
If you have problems with the status bar blinking, you may find you need dzen2 after all...
Last edited by pidsley (2012-08-01 20:34:24)
Offline
FiniteStateMachine wrote:IAny ideas what i need to change?
Nope, I just wanna say welcome back
show us a scrot of what you have currently, I'm curious what you've been spending your absence on
Hey! thanks!
I've been spending my time on OSX actually, but I've saved enough money to buy a machine that can actually run linux quite well, and so I'm now happily setting that up (a Lenovo X230 if your curious).
A scrot will be on it's way to the August thread shortly
Good to see you again!
just call me...
~FSM~
Offline
If you've got a setup working with just conky, could you post the files?
Sure:
from my .spectrwm.conf:
bar_action = conky
bar_delay = 1
bar_justify = left
bar_format = +N:+I+2<+S+2<<+T>+24<+A.conkyrc
out_to_x no
background no
out_to_console yes
update_interval 1
total_run_times 0
use_spacer none
# override_utf8_locale yes
TEXT
Uptime: ${uptime_short} | Sdc Temp: ${hddtemp /dev/sdc} °C | CPU Temp: ${hwmon 1 temp 1} °C | CPU: ${cpu cpu1}% | Mem: ${memperc}% | Eth0: Down: ${downspeedf eth0} Up: ${upspeedf eth0} | Updates: ${execi 600 /home/doug/bin/updates.sh} | ${time %e %b %Y} ${time %k:%M}I compiled spectrwm from git so I have the bar_justify and bar_format options - only the bar_action and bar_delay options are needed for conky in the status bar.
Last edited by PackRat (2012-08-02 17:15:24)
"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe
Offline
Pages: 1
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.