Page 1 of 1

How-to: Invite conky to your threesome

Posted: Mon Dec 24, 2012 1:15 am
by pidsley
So you like I3, but your threesome is just missing something, and you want conky on the bar to make it complete? Easily done.

1. create a simple one-line conkyrc. Open leafpad, and paste this into it:

Code: Select all

out_to_x no
out_to_console yes
update_interval 1.0
total_run_times 0
use_spacer none
TEXT
RAM:$memperc% | CPU:$cpu%
Save the file as ~/.conkyrc (that's .conkyrc in your home directory). (edit) -- see dkeg's next post if you want conkyrc somewhere else.

2. Open ~/.i3/config in leafpad, and find this section:

Code: Select all

bar {
        status_command i3status
}
and change it to:

Code: Select all

bar {
        status_command conky
}
Save the file, log out and log back in. Customize the .conkyrc as you like. Remember it all has to fit on one line, and no fonts or fancy bars. Sorry.

Image

Re: How-to: Invite conky to your threesome

Posted: Mon Dec 24, 2012 1:34 am
by dkeg
great tutorial pidsley. To add to it in case your already using conky in a different session like openbox or whatever. Instead of changing the conky back and forth you can place your i3 conkyrc in your .i3 directory then point to it like this in the same section as described above.

Code: Select all

status_command conky -c /home/<user>/.i3/conkyrc

Re: How-to: Invite conky to your threesome

Posted: Mon Dec 24, 2012 1:36 am
by pidsley
Thanks dkeg! Good point.

Re: How-to: Invite conky to your threesome

Posted: Mon Dec 24, 2012 1:53 am
by wuxmedia
nice, looking better already. 8)

Re: How-to: Invite conky to your threesome

Posted: Sun Jan 06, 2013 11:45 pm
by simgin
Thanks for the tip guys :)

Re: How-to: Invite conky to your threesome

Posted: Sat Jan 26, 2013 8:24 pm
by dkeg
FYI...
updated the i3 wiki article to include passing colors to your conky w/in the i3 status bar

i3wm wiki article

Re: How-to: Invite conky to your threesome

Posted: Sat Jan 26, 2013 8:59 pm
by rhowaldt
^ noticed dkeg, thanks, looks good!