profile-image

vorell

Stefan Vorell
Conky lua Conky
May 23 2012
Conky lua Conky
First, thanks for your excellent work. Your conky theme is easy to tinker with an looks great.

I made a few modifications that some prospective users might find interesting.

Support for Quad-Core CPU:

(purple conkyrc):
${goto 0}${voffset 35}${color D60650}CPU1 ${color FFFFFF}${cpu cpu0}%${goto 100}${color D60650}CPU3 ${color FFFFFF}${cpu cpu2}%
${goto 0}${color D60650}CPU2 ${color FFFFFF}${cpu cpu1}%${goto 100}${color D60650}CPU4 ${color FFFFFF}${cpu cpu3}%

(lua script mod)
{
name='cpu',
arg='cpu0',
max=100,
bg_colour=0xffffff,
bg_alpha=0.2,
fg_colour=0xD60650,
fg_alpha=0.8,
x=50, y=300,
radius=20,
thickness=4,
start_angle=-90,
end_angle=180
},
{
name='cpu',
arg='cpu1',
max=100,
bg_colour=0xffffff,
bg_alpha=0.2,
fg_colour=0xD60650,
fg_alpha=0.8,
x=50, y=300,
radius=25,
thickness=4,
start_angle=-90,
end_angle=180
},
{
name='cpu',
arg='cpu2',
max=100,
bg_colour=0xffffff,
bg_alpha=0.2,
fg_colour=0xD60650,
fg_alpha=0.8,
x=150, y=300,
radius=20,
thickness=4,
start_angle=-90,
end_angle=180
},
{
name='cpu',
arg='cpu3',
max=100,
bg_colour=0xffffff,
bg_alpha=0.2,
fg_colour=0xD60650,
fg_alpha=0.8,
x=150, y=300,
radius=25,
thickness=4,
start_angle=-90,
end_angle=180
},

As you can see I just utilized the settings for the network speed rings to show all 4 cpus in less space.

I also did some tinkering with cron and conky so that every 15 minutes my desktop background and color scheme of conky changes to match.

Here's a screenshot:
http://ubuntuforums.org/attachment.php?attachmentid=217108&d=1335975337
May 02 2012