Re: August 2011 Conky Thread

ackernan wrote:
Sector11 wrote:

[

That may come in handy ... I see at:  Conky Objects (Below TEXT) that:

if_up_strictness

no longer exists.

Some day I may need that, but for today I have a landlocked, hardwired, cable connection.  big_smile

Just a question, what version of conky are you running?

That link is for the variables, if_up_strictness is in the config settings section.

{sigh}  I'm getting old and loosing my mind!  big_smile

Re: August 2011 Conky Thread

my latest conky setup
http://ompldr.org/tYTNjYg

Last edited by kinder (2011-08-28 14:39:40)

Re: August 2011 Conky Thread

kinder wrote:

my latest conky setup
http://ompldr.org/tYTNjYg


NICE!!!!!  Care to share the code and the wallpaper?

Re: August 2011 Conky Thread

kinder wrote:

my latest conky setup
http://ompldr.org/tYTNjYg

LED lua ring clock and led lua rings that is one great conky  cool

Give a man a truth and he will think for a day.
Teach a man to reason and he will think for a lifetime!

105

Re: August 2011 Conky Thread

h1 all.
My 1st Conky experience)So,dont judge harshly)
http://i30.fastpic.ru/thumb/2011/0830/65/e8f3624840d1ba9b0bc5b75f7c284d65.jpeg

Last edited by Manny (2011-08-30 01:58:59)

Re: August 2011 Conky Thread

Manny wrote:

h1 all.
My 1st Conky experience)So,dont judge harshly)
http://i26.fastpic.ru/thumb/2011/0829/7a/5349e22268f321cd856c80159063d17a.jpeg

hahahahaha don't judge too harshly!  I only wish my first conky experience was that good!
How about showing us the code.
Also check your messages (top right under GET CRUNCHBANG)

Re: August 2011 Conky Thread

kinder wrote:

http://ompldr.org/tYTNjYg

bueno~!!


Manny wrote:

http://i26.fastpic.ru/thumb/2011/0829/7a/5349e22268f321cd856c80159063d17a.jpeg

Funky conky. Even funkier imagehost you're using. (cleavage everywhere!!)

Last edited by gutterslob (2011-08-29 14:05:24)

Point & Squirt

Re: August 2011 Conky Thread

gutterslob wrote:
Manny wrote:

http://i26.fastpic.ru/thumb/2011/0829/7a/5349e22268f321cd856c80159063d17a.jpeg

Funky conky. Even funkier imagehost you're using. (cleavage everywhere!!)

I never noticed, as soon as images start to show I right-click and select "View Image" - gets rid of a lot of crud.  Look at all those valleys I missed!  lol

Last edited by Sector11 (2011-08-29 15:32:13)

Re: August 2011 Conky Thread

Manny wrote:

h1 all.
My 1st Conky experience)So,dont judge harshly)
http://i26.fastpic.ru/thumb/2011/0829/7a/5349e22268f321cd856c80159063d17a.jpeg

That looks good, especially if it was your first.  I like your background, where did you get it?

110

Re: August 2011 Conky Thread

ackernan wrote:

That looks good, especially if it was your first.  I like your background, where did you get it?

I found it using google smile
http://www.webwallpapers.net/05/103-gra … -wallpaper

Re: August 2011 Conky Thread

Hey all,

Newbie asking questions here...  hope that's okay.

I'm a few days into Crunchbang and Conky, and I've just been tweaking a bit. On my netbook I'm often writing for long periods on the go, and so knowing how much estimated battery time I've got left can be nice. I've already tried applying the command shown in the thread:

http://crunchbanglinux.org/forums/topic … ky-wheezy/

By putting this into Conky:

Remaining: ${execi 60 acpi -b | awk '{print$5}'} ${alignr} (${execi 60 acpi -b | awk '{print $4}' | cut -b -3})

But all I'm getting is:

Remaining:       (100)

Instead of an actual timecode of how long I've got left. (I've already installed the acpi stuff.) Anyone know where I might be going wrong or what might be a better way to get the time remaining estimation into Conky?

Sorry to derail the thread and  not be showing a screenshot of my conky, but it's not all that much to see right now anyway!

Fortune favors the bold.
#! Statler
Asus EEEPC 1001PXD
2GB RAM

Re: August 2011 Conky Thread

typewriterjason wrote:

Hey all,

Newbie asking questions here...  hope that's okay.

Welcome to Crunchbang and conky!

Next, you have not derailed the thread ... it is for questions and help as well as a show off place.

I don't use a laptop/netbook so I may not be much good for you.

But
1.  what type of netbook are you using?
2. do any of these work:

apcupsd_charge
        Current battery capacity in percent.

${apcupsd_charge}

apcupsd_timeleft
        Time left to run on battery.

${apcupsd_timeleft}

battery     (num)
    Battery status and remaining percentage capacity of ACPI or APM battery. ACPI battery number can be given as argument (default is BAT0).

${battery}

or maybe

${battery BAT1}

... I see default had caps

Keep us posted and

Re: August 2011 Conky Thread

Sector11 wrote:

Welcome to Crunchbang and conky!

Next, you have not derailed the thread ... it is for questions and help as well as a show off place.

I don't use a laptop/netbook so I may not be much good for you.

But
1.  what type of netbook are you using?

Hey Sector 11! Thanks for the kind words.

I'm running an EEEPC 1001PXD with 2.0 GB of RAM and 225GB HD.

Sector11 wrote:

2. do any of these work:

I tried each of them: The $battery one does actually give me a percent and tells me if it's discharging. Of the other two, neither show the time remaining; the first showed (NA) and the other showed nothing.

Is it possible that there are battery-related scripts or binaries I just haven't installed?

Fortune favors the bold.
#! Statler
Asus EEEPC 1001PXD
2GB RAM

Re: August 2011 Conky Thread

Actually, I was able to get what I wanted just from

: ${battery_time}

Which I picked up from near the end of this thread:

http://crunchbanglinux.org/forums/topic … pt/page/2/

Now I've got a rough eyeball estimate of how long I can keep typing before I need power!

Fortune favors the bold.
#! Statler
Asus EEEPC 1001PXD
2GB RAM

Re: August 2011 Conky Thread

Well lets get one in before the month over...
This lua clock has 2 half rings, top one is months of the year, next is days of the month.
Then you have three full rings they are seconds,minutes,hours.I made the hands on the clock transparent because the color of the ring is suppose to follow the hands but it's just a little off with the hour hand...
Then You have current weather info from noaa.gov ...then more system info

http://i.imgur.com/oivnxl.png

conkyrc

 # Conky settings #
background yes
update_interval 0.5

cpu_avg_samples 2
net_avg_samples 2

override_utf8_locale yes

double_buffer yes
no_buffers yes

text_buffer_size 2048
imlib_cache_size 0

temperature_unit fahrenheit

# Window specifications #

own_window yes
own_window_type desktop
own_window_transparent yes
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below

border_inner_margin 1
border_outer_margin 1

minimum_size 200 250
maximum_width 200

alignment tr
gap_x 35
gap_y 55

# Graphics settings #
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no

# Text settings #
use_xft yes
xftfont Radio Space:size=8
xftalpha 0.5

uppercase no




default_color FFFFFF

# Lua Load  #
lua_load ~/mint/clock_rings.lua
lua_draw_hook_pre clock_rings

TEXT
${voffset 8}${color 339900}${font Radio Space Italic:size=16}${time %A}${voffset -10}${goto 130}${color FFFFFF}${font Radio Space Italic:size=38}${time %e}
${color FFFFFF}${voffset -50}${color FFFFFF}${font Radio Space Italic:size=18}${time %b}${font}${voffset -3} ${color FFFFFF}${font Radio Space Italic:size=20}${time %Y}${font}${color 339900}${hr}
${goto 120}${color FFFFFF}${font Radio Space:size=8}Uptime: ${uptime_short}${voffset 80}${goto 60}${font Radio Space:size=14}${time %I:%M %p}
${voffset 50}${font Radio Space Italic:size=10}${goto 10}Temp${font}
${font Radio Space Italic:size=12}${color FFFFFF}${goto 10}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ KMFD temperature} °f${font Radio Space Italic:size=8}
WS - ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ KMFD wind_speed 5} km/h${alignr}WD - ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ KMFD wind_dir}
Humidity - ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ KMFD humidity}%${alignr}CC -${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ KMFD cloud_cover}
${image ~/mint/watch2-300x300a.png -p 4,53 -s 192x192}${color 339900}${font Radio Space Italic:size=16}System Info${goto 150}${hr}${font Radio Space Italic:size=8}
${color FFFFFF}${goto 40}${voffset 30}${cpu cpu0}%${voffset -20}${goto 80}${freq_g} MHz${voffset 20}${goto 140}${cpu cpu1}%
${color 339900}${goto 30}CPU 0${goto 70}${color ffffff}${hwmon 2 temp 1}°f${goto 135}${color 339900}CPU 1${goto 170}${color ffffff}${hwmon 2 temp 3}°f
${color FFFFFF}${goto 70}${voffset 30}${memperc}%${goto 110}${color FFFFFF}${font Radio Space:size=8}Running: ${running_processes}
${color 339900}${goto 70}MEM${goto 110}${color FFFFFF}${font Radio Space:size=8}Processes: ${processes}
${color FFFFFF}${goto 100}${voffset 32}${swapperc}%
${color 339900}${voffset }${goto 95}Swap
${color 339900}${voffset 40}${goto 40}HD temp: ${goto 130}H-Disk
${color FFFFFF}${goto 60}${hddtemp /dev/sda} °f${color FFFFFF}${goto 145}${fs_used_perc /}%

${color 339900}${font Radio Space Italic:size=16}Network${goto 110}${hr}
${voffset 5}${goto 40}wlan0${goto 140}eth0${font Radio Space:size=8}
${voffset 15}${color ff0000}${goto 55}${downspeed wlan0}kibs${goto 155}${downspeed eth0}kibs
${color 339900}${goto 55}${upspeed wlan0}kibs${goto 155}${upspeed eth0}kibs

#${goto 20}${if_gw}Public IP:${alignr}${execi 3600 wget -O - http://whatismyip.org/ | tail}${endif}
${goto 20}Router IP:${alignr}${addr wlan0}
${voffset 10}${goto 20}Wireless Signal Quality ${wireless_link_qual_perc wlan0}%

${color 555555}${wireless_link_bar 10,200 wlan0}


${color 339900}GPU temp${alignr}${nvidia temp}°f
NVidia Driver${alignr}${exec nvidia-settings -q NvidiaDriverVersion -t}
${color 339900}${font Radio Space:size=8}${alignr}${nodename}
${color 339900}${font Radio Space:size=8}${alignr}${pre_exec cat /etc/issue.net}  $machine
${color 339900}${font Radio Space:size=8}${alignr}Kernel: ${kernel}  

clock_rings.lua

 --[[
Clock Rings by Linux Mint (2011) reEdited by despot77

This script draws percentage meters as rings, and also draws clock hands if you want! It is fully customisable; all options are described in the script. This script is based off a combination of my clock.lua script and my rings.lua script.

IMPORTANT: if you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away. The if statement on line 343 uses a delay to make sure that this doesn't happen. It calculates the length of the delay by the number of updates since Conky started. Generally, a value of 5s is long enough, so if you update Conky every 1s, use update_num>5 in that if statement (the default). If you only update Conky every 2s, you should change it to update_num>3; conversely if you update Conky every 0.5s, you should use update_num>10. ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it, otherwise the update_num will not be reset and you will get an error.

To call this script in Conky, use the following (assuming that you save this script to ~/scripts/rings.lua):
    lua_load ~/scripts/clock_rings.lua
    lua_draw_hook_pre clock_rings
    
Changelog:
+ v1.0 -- Original release (30.09.2009)
   v1.1p -- Jpope edit londonali1010 (05.10.2009)
*v Mint-lua -- reEdit despot77 (18.02.2011)
]]

settings_table = {
    {
        -- Edit this table to customise your rings.
        -- You can create more rings simply by adding more elements to settings_table.
        -- "name" is the type of stat to display; you can choose from 'cpu', 'memperc', 'fs_used_perc', 'battery_used_perc'.
        name='time',
        -- "arg" is the argument to the stat type, e.g. if in Conky you would write ${cpu cpu0}, 'cpu0' would be the argument. If you would not use an argument in the Conky variable, use ''.
        arg='%I.%M',
        -- "max" is the maximum value of the ring. If the Conky variable outputs a percentage, use 100.
        max=12,
        -- "bg_colour" is the colour of the base ring.
        bg_colour=0xffffff,
        -- "bg_alpha" is the alpha value of the base ring.
        bg_alpha=0.6,
        -- "fg_colour" is the colour of the indicator part of the ring.
        fg_colour=0x339900,
        -- "fg_alpha" is the alpha value of the indicator part of the ring.
        fg_alpha=0.7,
        -- "x" and "y" are the x and y coordinates of the centre of the ring, relative to the top left corner of the Conky window.
        x=100, y=150,
        -- "radius" is the radius of the ring.
        radius=50,
        -- "thickness" is the thickness of the ring, centred around the radius.
        thickness=5,
        -- "start_angle" is the starting angle of the ring, in degrees, clockwise from top. Value can be either positive or negative.
        start_angle=0,
        -- "end_angle" is the ending angle of the ring, in degrees, clockwise from top. Value can be either positive or negative, but must be larger than start_angle.
        end_angle=360
    },
    {
        name='time',
        arg='%M.%S',
        max=60,
        bg_colour=0xffffff,
        bg_alpha=0.7,
        fg_colour=0x339900,
        fg_alpha=0.8,
        x=100, y=150,
        radius=56,
        thickness=5,
        start_angle=0,
        end_angle=360
    },
    {
        name='time',
        arg='%S',
        max=60,
        bg_colour=0xffffff,
        bg_alpha=0.7,
        fg_colour=0x339900,
        fg_alpha=0.8,
        x=100, y=150,
        radius=62,
        thickness=5,
        start_angle=0,
        end_angle=360
    },
    {
        name='time',
        arg='%d',
        max=31,
        bg_colour=0xffffff,
        bg_alpha=0.7,
        fg_colour=0x339900,
        fg_alpha=0.8,
        x=100, y=150,
        radius=70,
        thickness=5,
        start_angle=-90,
        end_angle=90
    },
    {
        name='time',
        arg='%m',
        max=12,
        bg_colour=0xffffff,
        bg_alpha=0.7,
        fg_colour=0x339900,
        fg_alpha=1,
        x=100, y=150,
        radius=76,
        thickness=5,
        start_angle=-90,
        end_angle=90
    },
    {
        name='cpu',
        arg='cpu0',
        max=100,
        bg_colour=0xffffff,
        bg_alpha=0.2,
        fg_colour=0x339900,
        fg_alpha=0.8,
        x=50, y=330,
        radius=25,
        thickness=5,
        start_angle=-180,
        end_angle=90
    },
        {
        name='cpu',
        arg='cpu1',
        max=100,
        bg_colour=0xffffff,
        bg_alpha=0.2,
        fg_colour=0x339900,
        fg_alpha=0.8,
        x=150, y=330,
        radius=25,
        thickness=5,
        start_angle=-180,
        end_angle=90
    }, 
    {
        name='memperc',
        arg='',
        max=100,
        bg_colour=0xffffff,
        bg_alpha=0.2,
        fg_colour=0x339900,
        fg_alpha=0.8,
        x=75, y=390,
        radius=25,
        thickness=5,
        start_angle=-180,
        end_angle=90
    },
    {
        name='swapperc',
        arg='',
        max=100,
        bg_colour=0xffffff,
        bg_alpha=0.2,
        fg_colour=0x339900,
        fg_alpha=0.8,
        x=105, y=440,
        radius=25,
        thickness=5,
        start_angle=-180,
        end_angle=90
    },
    {
        name='fs_used_perc',
        arg='/',
        max=100,
        bg_colour=0xffffff,
        bg_alpha=0.2,
        fg_colour=0x339900,
        fg_alpha=0.8,
        x=140, y=495,
        radius=25,
        thickness=5,
        start_angle=-180,
        end_angle=90
    },
        {
        name='downspeedf',
        arg='eth0',
        max=300,
        bg_colour=0xffffff,
        bg_alpha=0.2,
        fg_colour=0x339900,
        fg_alpha=0.8,
        x=150, y=590,
        radius=25,
        thickness=4,
        start_angle=-180,
        end_angle=90
    },
        {
        name='upspeedf',
        arg='eth0',
        max=300,
        bg_colour=0xffffff,
        bg_alpha=0.2,
        fg_colour=0xff3300,
        fg_alpha=0.8,
        x=150, y=590,
        radius=20,
        thickness=4,
        start_angle=-180,
        end_angle=90
    },
    {
        name='upspeedf',
        arg='wlan0',
        max=275,
        bg_colour=0xffffff,
        bg_alpha=0.2,
        fg_colour=0xff0000,
        fg_alpha=0.8,
        x=50, y=590,
        radius=20,
        thickness=4,
        start_angle=-180,
        end_angle=90
    },
    {
        name='downspeedf',
        arg='wlan0',
        max=275,
        bg_colour=0xffffff,
        bg_alpha=0.2,
        fg_colour=0x00e000,
        fg_alpha=0.8,
        x=50, y=590,
        radius=25,
        thickness=4,
        start_angle=-180,
        end_angle=90
    },
}

-- Use these settings to define the origin and extent of your clock.

clock_r=65

-- "clock_x" and "clock_y" are the coordinates of the centre of the clock, in pixels, from the top left of the Conky window.

clock_x=100
clock_y=150

show_seconds=true

require 'cairo'

function rgb_to_r_g_b(colour,alpha)
    return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
end

function draw_ring(cr,t,pt)
    local w,h=conky_window.width,conky_window.height
    
    local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle']
    local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha']

    local angle_0=sa*(2*math.pi/360)-math.pi/2
    local angle_f=ea*(2*math.pi/360)-math.pi/2
    local t_arc=t*(angle_f-angle_0)

    -- Draw background ring

    cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f)
    cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga))
    cairo_set_line_width(cr,ring_w)
    cairo_stroke(cr)
    
    -- Draw indicator ring

    cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc)
    cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga))
    cairo_stroke(cr)        
end

function draw_clock_hands(cr,xc,yc)
    local secs,mins,hours,secs_arc,mins_arc,hours_arc
    local xh,yh,xm,ym,xs,ys
    
    secs=os.date("%S")    
    mins=os.date("%M")
    hours=os.date("%I")
        
    secs_arc=(2*math.pi/60)*secs
    mins_arc=(2*math.pi/60)*mins+secs_arc/60
    hours_arc=(2*math.pi/12)*hours+mins_arc/12
        
    -- Draw hour hand
    
    xh=xc+0.7*clock_r*math.sin(hours_arc)
    yh=yc-0.7*clock_r*math.cos(hours_arc)
    cairo_move_to(cr,xc,yc)
    cairo_line_to(cr,xh,yh)
    
    cairo_set_line_cap(cr,CAIRO_LINE_CAP_ROUND)
    cairo_set_line_width(cr,5)
    cairo_set_source_rgba(cr,0.3,1.0,0.3,0.0)
    cairo_stroke(cr)
    
    -- Draw minute hand
    
    xm=xc+clock_r*math.sin(mins_arc)
    ym=yc-clock_r*math.cos(mins_arc)
    cairo_move_to(cr,xc,yc)
    cairo_line_to(cr,xm,ym)
    
    cairo_set_line_width(cr,3)
    cairo_stroke(cr)
    
    -- Draw seconds hand
    
    if show_seconds then
        xs=xc+clock_r*math.sin(secs_arc)
        ys=yc-clock_r*math.cos(secs_arc)
        cairo_move_to(cr,xc,yc)
        cairo_line_to(cr,xs,ys)
    
        cairo_set_line_width(cr,1)
        cairo_stroke(cr)
    end
end

function conky_clock_rings()
    local function setup_rings(cr,pt)
        local str=''
        local value=0
        
        str=string.format('${%s %s}',pt['name'],pt['arg'])
        str=conky_parse(str)
        
        value=tonumber(str)
        pct=value/pt['max']
        
        draw_ring(cr,pct,pt)
    end
    
    -- Check that Conky has been running for at least 5s

    if conky_window==nil then return end
    local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height)
    
    local cr=cairo_create(cs)    
    
    local updates=conky_parse('${updates}')
    update_num=tonumber(updates)
    
    if update_num>10 then
        for i in pairs(settings_table) do
            setup_rings(cr,settings_table[i])
        end
    end
    
    draw_clock_hands(cr,clock_x,clock_y)
end   

The clock face is a png I dont know how to attach here.I did find this on the net but don't remember where right now I post the address when I find it again.
It's at the Gnome-look site

Last edited by dlm955 (2011-08-31 09:02:05)

Give a man a truth and he will think for a day.
Teach a man to reason and he will think for a lifetime!

Re: August 2011 Conky Thread

typewriterjason wrote:

I'm running an EEEPC 1001PXD with 2.0 GB of RAM and 225GB HD.

I tried each of them: The $battery one does actually give me a percent and tells me if it's discharging. Of the other two, neither show the time remaining; the first showed (NA) and the other showed nothing.

Is it possible that there are battery-related scripts or binaries I just haven't installed?

No not that, it's your equipment that determines what works I would say.  Of course I may be wrong, it has happened before.  big_smile

typewriterjason wrote:

Actually, I was able to get what I wanted just from

: ${battery_time}

Which I picked up from near the end of this thread:

http://crunchbanglinux.org/forums/topic … pt/page/2/

Now I've got a rough eyeball estimate of how long I can keep typing before I need power!

I need a coffee every 1000 characters or so if that helps!

So ${battery} is your thing.  Don't quote me, like I said, I'm a desktop guy, but different machines use different calls.  There are even a couple for BSD:

configuration settings and conky objects cone in very handy.

Also check out Conky PitStop in my sig.

Re: August 2011 Conky Thread

dlm955 wrote:

Well lets get one in before the month over...

The clock face is a png I dont know how to attach here.I did find this on the net but don't remember where right now I post the address when I find it again.
It's at the Gnome-look site

That is one fine conky indeed!  A fitting conky for the last day of the month.

You could have put the clock face up at  dropbox if you use that.

Re: August 2011 Conky Thread

dlm955 wrote:

Well lets get one in before the month over...
This lua clock has 2 half rings, top one is months of the year, next is days of the month.
Then you have three full rings they are seconds,minutes,hours.I made the hands on the clock transparent because the color of the ring is suppose to follow the hands but it's just a little off with the hour hand...
Then You have current weather info from noaa.gov ...then more system info

Looks good, I like the way you use the rings.

Last edited by ackernan (2011-08-31 19:00:14)

Re: August 2011 Conky Thread

Openbox 3.5, conky, tint2:

http://ompldr.org/tYTRvbA

conkyrc:

# Locale, fonts and font sizes.
use_xft yes
xftfont = Droid Sans Fallback:Regular:pixelsize=11
override_utf8_locale yes
xftalpha 1.0

# Conky performance
background yes
update_interval 1
total_run_times 0
double_buffer yes
no_buffers yes
net_avg_samples 2
max_specials 1024
max_user_text 2048
text_buffer_size 2048

# Execute it in its own window
own_window yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

# Own window color
own_window_colour 020202

# ARGB
#own_window_argb_visual yes
#own_window_argb_value 20

# Borders, margins.
draw_borders no
border_width 1
border_inner_margin 2
border_outer_margin 2

# Font colors
default_color F5F5F5
# Header colors
color0 DD3A21
color1 Ivory
color2 Dimgray
color3 Lightblue
color4 Tan1
color5 Tan2
color6 a0a0a0
#Temp Colors
color7 6BF508
color8 ffff00
color9 f40e0e
# Text shadows
draw_shades no
###
# Minimum dimensions
minimum_size 136 4
maximum_width 136

# Conky positioning.
alignment tl
gap_x 12
gap_y 96

# lua_load ~/conky/conky_xluabg.lua
# lua_draw_hook_pre draw_bg

TEXT
${goto 4}${voffset 4}System:${voffset 4}
${goto 20}Uptime:${alignr 4}${uptime_short}${voffset 4}
${goto 20}CPU:${alignr 4}${if_match ${cpu}<=50}${color7}${else}${if_match ${cpu}<=70}${color8}${else}${if_match ${cpu}>70}${color9}${endif}${endif}${endif}${cpu cpu1}%${color}${voffset 4}
${goto 20}Mem:${alignr 4}${if_match ${memperc}<=50}${color7}${else}${if_match ${memperc}<=70}${color8}${else}${if_match ${memperc}>70}${color9}${endif}${endif}${endif}$memperc%${color}${voffset 14}
${goto 4}Temps:${voffset 4}
${goto 20}MB:${alignr 4}${if_match ${hwmon 2 temp 1}<=50}${color7}${else}${if_match ${hwmon 2 temp 1}<=70}${color8}${else}${if_match ${hwmon 2 temp 1}>70}${color9}${endif}${endif}${endif}${hwmon 2 temp 1} °C${color}${voffset 4}
${goto 20}CPU:${alignr 4}${if_match ${hwmon 1 temp 1}<=50}${color7}${else}${if_match ${hwmon 1 temp 1}<=70}${color8}${else}${if_match ${hwmon 1 temp 1}>70}${color9}${endif}${endif}${endif}${hwmon 1 temp 1} °C${color}${voffset 4}
${goto 20}Sda:${alignr 4}${if_match ${hddtemp /dev/sda}<=50}${color7}${else}${if_match ${hddtemp /dev/sda}<=70}${color8}${else}${if_match ${hddtemp /dev/sda}>70}${color9}${endif}${endif}${endif}${hddtemp /dev/sda} °C${color}${voffset 4}
${goto 20}Sdb:${alignr 4}${if_match ${hddtemp /dev/sdb}<=50}${color7}${else}${if_match ${hddtemp /dev/sdb}<=70}${color8}${else}${if_match ${hddtemp /dev/sdb}>70}${color9}${endif}${endif}${endif}${hddtemp /dev/sdb} °C${color}${voffset 4}
${goto 20}Sdc:${alignr 4}${if_match ${hddtemp /dev/sdc}<=50}${color7}${else}${if_match ${hddtemp /dev/sdc}<=70}${color8}${else}${if_match ${hddtemp /dev/sdc}>70}${color9}${endif}${endif}${endif}${hddtemp /dev/sdc} °C${color}${voffset 14}
${goto 4}Network:${voffset 4}
${goto 4}Eth0:${voffset 4}
${goto 20}Down:${alignr 4}${downspeedf eth0} kb/s${voffset 4}
${goto 20}Up:${alignr 4}${upspeedf eth0} kb/s${voffset 2}

Last edited by PackRat (2011-09-01 00:59:48)

"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe

Re: August 2011 Conky Thread

Ok folks new month, new thread: September 2011 Conky Thread

lets go....

Last edited by Sector11 (2011-08-31 23:45:38)