You are not logged in.

#1 2008-05-31 00:52:00

Guilherme_Augusto
Member
From: Brazil
Registered: 2008-05-31
Posts: 8

wmii and conky

Hail, archers!

I'm running wmii and don't know anything about ruby, which is why I don't run ruby-wmii. Instead, I just replaced conky with the status script on wmiirc (codes below). But, to get this to work, conky can only show the sys info once, and then it returns and is executed again by the status script, and that seems to consume a lot of memory. Is there a better way to do this? Ah, by the way, there's another problem: I can't get downspeed/upspeed to work this way. It just shows 0k/s. Does anyone know how to fix this?

out_to_console yes
total_run_times 1
background yes
no_buffers yes
update_interval 3
uppercase no
use_spacer none

TEXT
${mpd_smart} | CPU: ${cpu}% | D: ${downspeed eth0}k/s | U: ${upspeed eth0}k/s | ${time %H:%M}
status() {
    echo -n $(conky)
}

|_|o|_|
|_|_|o|
|o|o|o|

Offline

#2 2008-05-31 16:09:36

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: wmii and conky

Just pipe the output directly to wmiir instead. To test it just do an echo "All your base are belong to us!" | wmiir create /rbar/100


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

Board footer

Powered by FluxBB