You are not logged in.

#676 2011-03-14 18:14:43

quiquex
Member
Registered: 2011-01-25
Posts: 39

Re: conky configs and screenshots!

Sector11 wrote:
quiquex wrote:

Based on Minimalis Conky 1.0

Nice one!  Where did you get the images you use?
Those are really sharp, at first I thought font and I was going to grab it but ...

... you threw a curve ball ... Stiiiiiiiii...rike ONE!

Two more and I'm out!

Yeah, I'm guessing I mixed and matched with another script? I don't seem to remember. I can upload them somewhere if you like.

Offline

#677 2011-03-14 18:22:48

Sector11
Banned
Registered: 2010-02-25
Posts: 10

Re: conky configs and screenshots!

quiquex wrote:
Sector11 wrote:
quiquex wrote:

Based on Minimalis Conky 1.0

Nice one!  Where did you get the images you use?
Those are really sharp, at first I thought font and I was going to grab it but ...

... you threw a curve ball ... Stiiiiiiiii...rike ONE!

Two more and I'm out!

Yeah, I'm guessing I mixed and matched with another script? I don't seem to remember. I can upload them somewhere if you like.

Sure, maybe we can trade, I have some around here someplace, just not those.

Do you use DropBox?

Last edited by Sector11 (2011-03-14 18:23:57)

Offline

#678 2011-03-14 18:37:36

quiquex
Member
Registered: 2011-01-25
Posts: 39

Re: conky configs and screenshots!

Sector11 wrote:
quiquex wrote:
Sector11 wrote:

Nice one!  Where did you get the images you use?
Those are really sharp, at first I thought font and I was going to grab it but ...

... you threw a curve ball ... Stiiiiiiiii...rike ONE!

Two more and I'm out!

Yeah, I'm guessing I mixed and matched with another script? I don't seem to remember. I can upload them somewhere if you like.

Sure, maybe we can trade, I have some around here someplace, just not those.

Do you use DropBox?

Sure, here you go Icons

Offline

#679 2011-03-14 19:15:13

Sector11
Banned
Registered: 2010-02-25
Posts: 10

Re: conky configs and screenshots!

quiquex wrote:
Sector11 wrote:

Sure, maybe we can trade, I have some around here someplace, just not those.

Do you use DropBox?

Sure, here you go Icons

Thank you.  I'm still looking for mine ... I will be back.

Offline

#680 2011-03-17 20:39:36

aehs29
Member
From: Chihuahua, Mexico
Registered: 2011-03-17
Posts: 7

Re: conky configs and screenshots!

Heres mine:

Selection_002.png

background yes
font Monospace:size=8
xftfont Monospace:size=9
use_xft yes
xftalpha 0.5
update_interval 1.0
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,sticky,skip_taskbar,skip_pager
double_buffer yes
draw_shades yes
draw_outline yes
draw_borders no
draw_graph_borders no
minimum_size 350
maximum_width 350
default_color ffffff
default_shade_color 000000
draw_outline no
alignment top_right
gap_x 10
gap_y 70
no_buffers yes
cpu_avg_samples 2
override_utf8_locale no
uppercase no
use_spacer none

TEXT
${image ~/arch-logo.png -p 18,0 -s 45x45}
${goto 74}${font Poky:pixelsize=20}${font} ${voffset -16}Kernel: $kernel $machine
${goto 82}Uptime: $uptime_short
${goto 82}Battery:${voffset 3}${font Poky:pixelsize=22}${font}${color 98FB98}${voffset -8} ${battery_bar 7,80 BAT0}${color}

${goto 33}${font :style=Bold:pixelsize=12}CPU1${voffset -3} ${font Poky:pixelsize=22}${font} ${voffset -6}${goto 100}${font 
:style=Bold:pixelsize=14}${cpu CPU1}%${font} ${voffset -10}${cpugraph  CPU1 20,130 6eeeff 0004ff -t}

${voffset -9}${goto 33}${font :style=Bold:pixelsize=12}CPU2${voffset -3} ${font Poky:pixelsize=22}${font}   ${voffset -5}${font 
:style=Bold:pixelsize=14}${cpu CPU1}%${font} ${voffset -15}${cpugraph  CPU1 20,130 6eeeff 0004ff -t}



${voffset -19} ${font Poky:pixelsize=32}${font}${voffset -22}${goto 30} RAM: $mem v $memmax
${goto 40}${color A0CCFF}${membar 4,250}${color}
${goto 30} Swap: $swap v $swapmax
${goto 30} Load: ${color C7FF8E}$loadavg${color}
${goto 30} Processes: ${color C7FF8E}$processes${color}
${goto 30} Running: $running_processes ${color}

${goto 30}${font Poky:pixelsize=40}${font}
${goto 30}${voffset -40} Root: ${fs_free /} / ${fs_size /}
${goto 40}${color 83A1FF}${fs_bar 4,150 /}${color}
${goto 30} Home: ${fs_free /home} / ${fs_size /home}
${goto 40}${color 83A1FF}${fs_bar 4,150 /home}${color}


${if_up wlan0} ${goto 30}${voffset -20} essid:${wireless_essid 
wlan0}${color 9FFCC0} ${wireless_link_bar 4,60 wlan0}${color}


${goto 40}${font Poky:pixelsize=22}${font}${voffset -40}Download: ${downspeed wlan0}
${goto 40}${voffset -6}${downspeedgraph wlan0 25,150 D9FFDF A5FEB3}
${goto 40}${voffset -4}Upload: ${upspeed wlan0}
${goto 40}${voffset -6}${upspeedgraph wlan0 25,150 FEC2A5 FA9C6F}
${goto 40}${font Poky:pixelsize=22}${font}
${goto 40}${voffset -26}Total:  down:${totaldown wlan0} 
${goto 113}up:${totalup wlan0}
${endif}

Offline

#681 2011-03-17 23:33:14

Sector11
Banned
Registered: 2010-02-25
Posts: 10

Re: conky configs and screenshots!

quiquex wrote:
Sector11 wrote:
quiquex wrote:

Based on Minimalis Conky 1.0

Nice one!  Where did you get the images you use?
Those are really sharp, at first I thought font and I was going to grab it but ...

Yeah, I'm guessing I mixed and matched with another script? I don't seem to remember. I can upload them somewhere if you like.

OK I finally found them ... hidden in a sub-sub-directory on my external drive. Enjoy!

They are png's:  images.tar.gz

And again, thanks!

Last edited by Sector11 (2011-03-17 23:34:04)

Offline

#682 2011-03-20 16:25:19

lives2evil
Member
From: GMT+7
Registered: 2010-03-21
Posts: 244

Re: conky configs and screenshots!

tN3c1ZQ
I have just learnt to write lua script for a few days. Finally I got this script working.
It's nothing special, just some rings, lines, and shadows.
And I don't need much of monitoring work, so it's almost just decoration.

conkyrc

# -- Conky settings -- #
background no
update_interval 1
 
cpu_avg_samples 2
net_avg_samples 2
 
override_utf8_locale yes
 
double_buffer yes
no_buffers yes
 
text_buffer_size 2048
 
# -- Window specifications -- #

own_window yes
own_window_type override
own_window_transparent yes
own_window_argb_visual yes
#own_window_argb_value 100
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below
 
border_inner_margin 0
border_outer_margin 0
 
minimum_size 390 800
maximum_width 390
 
alignment top_right
gap_x 0
gap_y 0
 
# -- Graphics settings -- #
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
 
# -- Text settings -- #
use_xft yes
xftfont Maiandra GD:size=24
xftalpha 0.4
 
uppercase no
 
default_color dddddd 
 
# -- Lua Load -- #
lua_load ~/.config/conky/new.lua
lua_draw_hook_pre paint
 
TEXT
#${alignr}${voffset 53}${goto 110}${font Maiandra GD:size=12}${time %A, %d %B %Y}
#
#
#${voffset 2}${goto 166}${font Maiandra GD:size=16}${time %H:%M}
#
#
#
#${voffset -40}${goto 100}${font Maiandra GD:size=9}Kernel:${offset 70}Uptime:
#${goto 90}${font MaiandraGD:size=9}$kernel${offset 40}$uptime 
#${voffset 60}${goto 117}${font snap:size=8}${cpu cpu0}%
#${goto 117}${cpu cpu1}%
#${goto 117}CPU
#${voffset 15}${goto 145}${memperc}%
#${goto 145}$swapperc%
#${goto 145}MEM
#${voffset 12}${goto 170}${acpitemp} C
#${goto 170}TEMP
#${voffset 27}${goto 198}${downspeedf eth0}
#${goto 198}${upspeedf eth0}
#${goto 198}NET
#${voffset 11}${goto 215}${fs_used /}
#${goto 215}${fs_used /home}
#${goto 222}DISK
#

new.lua

settings = {
    fgcolor        = 0xeeeeee,
    bgcolor        = 0x999999
}

jobs = {
    {
        job='text',
        str='${time %A, %d %B %Y}',
        isparsable=true,
        font='Sans',
        size=22,
        x = 30, y = 90
    },
    {
        job='text',
        str='${uptime}',
        isparsable=true,
        font='Sans',
        size=16,
        x = 170, y = 110
    },
    {
        job='text',
        str='${time %H:%M}',
        isparsable=true,
        font='Monospace',
        size=23,
        x = 135, y = 207
    },
    {
        job = 'ring',
        layers = {
            {
                angle1 = 360,
                angle2 = 0,
                alpha = 1,
                isparsable = false
            },
            {
                angle1 = -90,
                angle2 = -450,
                value = '${time %S}',
                valuemax = 60,
                alpha = 1,
                isparsable = true
            }
        },
        radius = 55,
        width = 5,
        x = 170, y = 200
    },
    {
        job = 'ring',
        layers = {
            {
                angle1 = 40,
                angle2 = -40,
                alpha = 1,
                isparsable = false
            },
            {
                angle1 = 220,
                angle2 = 140,
                alpha = 1,
                isparsable = false
            },
            {
                angle1 = 40,
                angle2 = -40,
                alpha = 1,
                value = '${cpu cpu2}',
                valuemax = 100,
                isparsable = true
            },
            {
                angle1 = 220,
                angle2 = 140,
                alpha = 1,
                value = '${cpu cpu3}',
                valuemax = 100,
                isparsable = true
            }
        },
        radius = 42,
        width = 5,
        x = 170, y = 200
    },
    {
        job = 'ring',
        layers = {
            {
                angle1 = 30,
                angle2 = -80,
                alpha = 1,
                isparsable = false
            },
            {
                angle1 = 190,
                angle2 = 120,
                alpha = 1,
                isparsable = false
            },
            {
                angle1 = 190,
                angle2 = 120,
                value = '${time %M}',
                valuemax = 60,
                alpha = 0.75,
                isparsable = true
            },
            {
                angle1 = 30,
                angle2 = -80,
                value = '${time %H}',
                valuemax = 24,
                alpha = 0.75,
                isparsable = true
            }
        },
        radius = 68,
        width = 5,
        x = 170, y = 200
    },
    {
        job = 'ring',
        layers = {
            {
                angle1 = 360,
                angle2 = 0,
                alpha = 1,
                isparsable = false
            },
            {
                angle1 = -90,
                angle2 = -450,
                alpha = 1,
                value = '${memperc}',
                valuemax = 100,
                isparsable = true
            }
        },
        radius = 28,
        width = 5,
        x = 170, y = 300
    },
    {
        job = 'ring',
        layers = {
            {
                angle1 = 45,
                angle2 = -45,
                alpha = 1,
                isparsable = false
            },
            {
                angle1 = 45,
                angle2 = -45,
                alpha = 1,
                value = '${cpu cpu0}',
                valuemax = 100,
                isparsable = true
            },
            {
                angle1 = 225,
                angle2 = 135,
                alpha = 1,
                isparsable = false
            },
            {
                angle1 = 225,
                angle2 = 135,
                alpha = 1,
                value = '${cpu cpu1}',
                valuemax = 100,
                isparsable = true
            }
        },
        radius = 39,
        width = 5,
        x = 170, y = 300
    },
    {
        job = 'text',
        str = '${memperc}',
        isparsable = true,
        fmt = '%02d',
        isformatable = true,
        font = 'Monospace',
        size = 23,
        x = 156, y = 310
    },
    {
        job = 'line',
        layers = {
            {
                alpha = 1,
                isparsable = false
            },
            {
                alpha = 0.5,
                value = '${platform coretemp.0 temp 1}',
                valuemax = 88,
                isparsable = true
            },
            {
                alpha = 1,
                value = '${platform coretemp.1 temp 1}',
                valuemax = 150,
                isparsable = true
            }
        },
        width = 5,
        x1 = 170, y1 = 342,
        x2 = 0, y2 = 200
    },
    {
        job = 'line',
        layers = {
            {
                alpha = 1,
                isparsable = false
            },
            {
                alpha = 0.6,
                value = '${downspeedf eth0}',
                valuemax = 100,
                isparsable = true
            },
            {
                alpha = 0.75,
                value = '${downspeedf eth0}',
                valuemax = 600,
                isparsable = true
            },
            {
                alpha = 1,
                value = '${downspeedf eth0}',
                valuemax = 4000,
                isparsable = true
            }
        },
        width = 5,
        x1 = 157, y1 = 362,
        x2 = 0, y2 = 160
    },
    {
        job = 'text',
        str = '${platform coretemp.1 temp 1}',
        isparsable = true,
        fmt = '%02d',
        isformatable = true,
        font = 'Monospace',
        size = 23,
        x = 156, y = 600
    },
    {
        job = 'line',
        layers = {
            {
                alpha = 1,
                isparsable = false
            },
            {
                alpha = 0.6,
                value = '${upspeedf eth0}',
                valuemax = 35,
                isparsable = true
            },
            {
                alpha = 0.75,
                value = '${upspeedf eth0}',
                valuemax = 100,
                isparsable = true
            },
            {
                alpha = 1,
                value = '${upspeedf eth0}',
                valuemax = 4000,
                isparsable = true
            }
        },
        width = 5,
        x1 = 183, y1 = 362,
        x2 = 0, y2 = 160
    },
    {
        job = 'ring',
        layers = {
            {
                angle1 = 360,
                angle2 = 0,
                alpha = 1,
                isparsable = false
            },
            {
                angle1 = 270,
                angle2 = -90,
                alpha = 1,
                value = '${fs_used_perc /}',
                valuemax = 100,
                isparsable = true
            }
        },
        width = 5,
        radius = 35,
        x = 170, y = 590
    },
    {
        job = 'ring',
        layers = {
            {
                angle1 = 250,
                angle2 = -70,
                alpha = 1,
                isparsable = false
            },
            {
                angle1 = 250,
                angle2 = -70,
                alpha = 1,
                value = '${fs_used_perc /home}',
                valuemax = 100,
                isparsable = true
            }
        },
        width = 5,
        radius = 47,
        x = 170, y = 590
    }
}







require 'cairo'

function inca_rgb(color,alpha)
    return ((color / 0x10000) % 0x100) / 255., ((color / 0x100) % 0x100) / 255., (color % 0x100) / 255., alpha
end


function inca_draw_shadow(cr, radius, color, strength, radiusstart)
    local alpha = strength / radius
    cairo_set_source_rgba(cr, inca_rgb(color, alpha))
    cairo_set_line_join(cr, CAIRO_LINE_JOIN_ROUND)
    cairo_set_line_cap(cr, CAIRO_LINE_CAP_ROUND)
    local w, radiusstart = 0, radiusstart
    if radiusstart     ~= nil and radiusstart > 1 then
        radius = radius + radiusstart
    else
        radiusstart = 1
    end
    for w=radiusstart,radius,1 do
        cairo_set_line_width(cr, w)
        cairo_stroke_preserve(cr)
    end
end

function inca_draw_ring(cr, x, y, radius, width, ring)
    local value,valuemax = ring['value'], ring['valuemax']
    local angle1,angle2,angle3 = ring['angle1'], ring['angle2'], 0
    local color,alpha = settings['fgcolor'], ring['alpha']
    local alphasd = 0.3
        
    if ring['isparsable'] == true then
        value = conky_parse(value)
        if value == nil then return end
        value = tonumber(value)/valuemax
        value = math.max(0, math.min(1, value))
    else
        value = 1
        alphasd = 1
        color = settings['bgcolor']
    end
    angle3 = (angle2 - angle1)*value + angle1
    cairo_arc_negative(cr, x, y, radius, angle1*math.pi/180, angle3*math.pi/180)
    inca_draw_shadow(cr, 5, 0x000000, 0.60*alphasd, width + 1)
    cairo_set_source_rgba(cr, inca_rgb(color,alpha))
    cairo_set_line_width(cr, width)
    cairo_stroke(cr)
end

function inca_draw_line(cr, x1, y1, x2, y2, width, line)
    local value,valuemax = line['value'], line['valuemax']
    local color,alpha = settings['fgcolor'], line['alpha']
    local alphasd = 0.3
    
    if line['isparsable'] == true then
        value = conky_parse(value)
        if value == nil then return end
        value = tonumber(value)/valuemax
        value = math.max(0, math.min(1, value))
    else
        value = 1
        alphasd = 1
        color = settings['bgcolor']
    end
    local x = (1 - value)/2
    cairo_move_to(cr, x1 + x2*x, y1 + y2*x)
    cairo_rel_line_to(cr, x2*(1-x*2), y2*(1-x*2))
    cairo_close_path (cr)
    inca_draw_shadow(cr, 5, 0x000000, 0.60*alphasd, width + 1)
    cairo_set_source_rgba(cr, inca_rgb(color, alpha))
    cairo_set_line_width(cr, width)
    cairo_stroke(cr)
end

function inca_draw_job(cr, job)
    if job['job'] == 'text' then
        cairo_select_font_face(cr, job.font, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD)
        cairo_set_font_size(cr, job.size)
        cairo_move_to(cr, job['x'], job['y'])
        local str = job['str']
        if job['isparsable'] == true then
            str = conky_parse(str)
            if str == nil then return end
        end
        if job['isformatable'] ~= nil and job['isformatable'] == true then
            str = string.format(job['fmt'], str)
        end
        cairo_text_path(cr, str)
        inca_draw_shadow(cr, 5, 0x000000, 0.65)
        cairo_set_source_rgba(cr, inca_rgb(settings['fgcolor'], 1))
        cairo_fill(cr)
    elseif job['job'] == 'ring' then
        local x,y,radius = job['x'], job['y'], job['radius']
        local layers,width = job['layers'], job['width']
        for i in pairs(layers) do
            inca_draw_ring(cr, x, y, radius, width, layers[i])
        end
    elseif job['job'] == 'line' then
        local x1,y1,x2,y2 = job['x1'], job['y1'], job['x2'], job['y2']
        local layers,width = job['layers'], job['width']
        for i in pairs(layers) do
            inca_draw_line(cr, x1, y1, x2, y2, width, layers[i])
        end
    end
end

function conky_paint()
    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)
    for i in pairs(jobs) do
        inca_draw_job(cr, jobs[i])
    end
end

tsujeruplive, tnarongisi... ... ... ... ɥsılƃuǝ sı sıɥʇ

Offline

#683 2011-03-20 17:29:41

Sector11
Banned
Registered: 2010-02-25
Posts: 10

Re: conky configs and screenshots!

Something I just finished creating.

Calendar by mobilediesel with weather (conkyForecast) by kaivalagi

thmb_vertical-weather.png

The files in OB_V-W.tar.gz will create: ~/Conky with what you need.

Offline

#684 2011-03-20 18:41:05

Sector11
Banned
Registered: 2010-02-25
Posts: 10

Re: conky configs and screenshots!

aehs29 wrote:

Heres mine

And here too: Featured this Week and just for good measure, it's here as well: Gallery 2011 I

Thanks for the nice display!

Offline

#685 2011-03-22 07:25:58

soul..
Member
Registered: 2008-01-10
Posts: 10

Re: conky configs and screenshots!

th.eb15b8b625.jpg

Offline

#686 2011-04-03 16:47:31

vitoreiji
Member
Registered: 2009-09-04
Posts: 67

Re: conky configs and screenshots!

lives2evil wrote:

http://ompldr.org/tN3c1ZQ
I have just learnt to write lua script for a few days. Finally I got this script working.
It's nothing special, just some rings, lines, and shadows.
And I don't need much of monitoring work, so it's almost just decoration.

conkyrc

# -- Conky settings -- #
background no
update_interval 1
 
cpu_avg_samples 2
net_avg_samples 2
 
override_utf8_locale yes
 
double_buffer yes
no_buffers yes
 
text_buffer_size 2048
 
# -- Window specifications -- #

own_window yes
own_window_type override
own_window_transparent yes
own_window_argb_visual yes
#own_window_argb_value 100
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below
 
border_inner_margin 0
border_outer_margin 0
 
minimum_size 390 800
maximum_width 390
 
alignment top_right
gap_x 0
gap_y 0
 
# -- Graphics settings -- #
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
 
# -- Text settings -- #
use_xft yes
xftfont Maiandra GD:size=24
xftalpha 0.4
 
uppercase no
 
default_color dddddd 
 
# -- Lua Load -- #
lua_load ~/.config/conky/new.lua
lua_draw_hook_pre paint
 
TEXT
#${alignr}${voffset 53}${goto 110}${font Maiandra GD:size=12}${time %A, %d %B %Y}
#
#
#${voffset 2}${goto 166}${font Maiandra GD:size=16}${time %H:%M}
#
#
#
#${voffset -40}${goto 100}${font Maiandra GD:size=9}Kernel:${offset 70}Uptime:
#${goto 90}${font MaiandraGD:size=9}$kernel${offset 40}$uptime 
#${voffset 60}${goto 117}${font snap:size=8}${cpu cpu0}%
#${goto 117}${cpu cpu1}%
#${goto 117}CPU
#${voffset 15}${goto 145}${memperc}%
#${goto 145}$swapperc%
#${goto 145}MEM
#${voffset 12}${goto 170}${acpitemp} C
#${goto 170}TEMP
#${voffset 27}${goto 198}${downspeedf eth0}
#${goto 198}${upspeedf eth0}
#${goto 198}NET
#${voffset 11}${goto 215}${fs_used /}
#${goto 215}${fs_used /home}
#${goto 222}DISK
#

new.lua

settings = {
    fgcolor        = 0xeeeeee,
    bgcolor        = 0x999999
}

jobs = {
    {
        job='text',
        str='${time %A, %d %B %Y}',
        isparsable=true,
        font='Sans',
        size=22,
        x = 30, y = 90
    },
    {
        job='text',
        str='${uptime}',
        isparsable=true,
        font='Sans',
        size=16,
        x = 170, y = 110
    },
    {
        job='text',
        str='${time %H:%M}',
        isparsable=true,
        font='Monospace',
        size=23,
        x = 135, y = 207
    },
    {
        job = 'ring',
        layers = {
            {
                angle1 = 360,
                angle2 = 0,
                alpha = 1,
                isparsable = false
            },
            {
                angle1 = -90,
                angle2 = -450,
                value = '${time %S}',
                valuemax = 60,
                alpha = 1,
                isparsable = true
            }
        },
        radius = 55,
        width = 5,
        x = 170, y = 200
    },
    {
        job = 'ring',
        layers = {
            {
                angle1 = 40,
                angle2 = -40,
                alpha = 1,
                isparsable = false
            },
            {
                angle1 = 220,
                angle2 = 140,
                alpha = 1,
                isparsable = false
            },
            {
                angle1 = 40,
                angle2 = -40,
                alpha = 1,
                value = '${cpu cpu2}',
                valuemax = 100,
                isparsable = true
            },
            {
                angle1 = 220,
                angle2 = 140,
                alpha = 1,
                value = '${cpu cpu3}',
                valuemax = 100,
                isparsable = true
            }
        },
        radius = 42,
        width = 5,
        x = 170, y = 200
    },
    {
        job = 'ring',
        layers = {
            {
                angle1 = 30,
                angle2 = -80,
                alpha = 1,
                isparsable = false
            },
            {
                angle1 = 190,
                angle2 = 120,
                alpha = 1,
                isparsable = false
            },
            {
                angle1 = 190,
                angle2 = 120,
                value = '${time %M}',
                valuemax = 60,
                alpha = 0.75,
                isparsable = true
            },
            {
                angle1 = 30,
                angle2 = -80,
                value = '${time %H}',
                valuemax = 24,
                alpha = 0.75,
                isparsable = true
            }
        },
        radius = 68,
        width = 5,
        x = 170, y = 200
    },
    {
        job = 'ring',
        layers = {
            {
                angle1 = 360,
                angle2 = 0,
                alpha = 1,
                isparsable = false
            },
            {
                angle1 = -90,
                angle2 = -450,
                alpha = 1,
                value = '${memperc}',
                valuemax = 100,
                isparsable = true
            }
        },
        radius = 28,
        width = 5,
        x = 170, y = 300
    },
    {
        job = 'ring',
        layers = {
            {
                angle1 = 45,
                angle2 = -45,
                alpha = 1,
                isparsable = false
            },
            {
                angle1 = 45,
                angle2 = -45,
                alpha = 1,
                value = '${cpu cpu0}',
                valuemax = 100,
                isparsable = true
            },
            {
                angle1 = 225,
                angle2 = 135,
                alpha = 1,
                isparsable = false
            },
            {
                angle1 = 225,
                angle2 = 135,
                alpha = 1,
                value = '${cpu cpu1}',
                valuemax = 100,
                isparsable = true
            }
        },
        radius = 39,
        width = 5,
        x = 170, y = 300
    },
    {
        job = 'text',
        str = '${memperc}',
        isparsable = true,
        fmt = '%02d',
        isformatable = true,
        font = 'Monospace',
        size = 23,
        x = 156, y = 310
    },
    {
        job = 'line',
        layers = {
            {
                alpha = 1,
                isparsable = false
            },
            {
                alpha = 0.5,
                value = '${platform coretemp.0 temp 1}',
                valuemax = 88,
                isparsable = true
            },
            {
                alpha = 1,
                value = '${platform coretemp.1 temp 1}',
                valuemax = 150,
                isparsable = true
            }
        },
        width = 5,
        x1 = 170, y1 = 342,
        x2 = 0, y2 = 200
    },
    {
        job = 'line',
        layers = {
            {
                alpha = 1,
                isparsable = false
            },
            {
                alpha = 0.6,
                value = '${downspeedf eth0}',
                valuemax = 100,
                isparsable = true
            },
            {
                alpha = 0.75,
                value = '${downspeedf eth0}',
                valuemax = 600,
                isparsable = true
            },
            {
                alpha = 1,
                value = '${downspeedf eth0}',
                valuemax = 4000,
                isparsable = true
            }
        },
        width = 5,
        x1 = 157, y1 = 362,
        x2 = 0, y2 = 160
    },
    {
        job = 'text',
        str = '${platform coretemp.1 temp 1}',
        isparsable = true,
        fmt = '%02d',
        isformatable = true,
        font = 'Monospace',
        size = 23,
        x = 156, y = 600
    },
    {
        job = 'line',
        layers = {
            {
                alpha = 1,
                isparsable = false
            },
            {
                alpha = 0.6,
                value = '${upspeedf eth0}',
                valuemax = 35,
                isparsable = true
            },
            {
                alpha = 0.75,
                value = '${upspeedf eth0}',
                valuemax = 100,
                isparsable = true
            },
            {
                alpha = 1,
                value = '${upspeedf eth0}',
                valuemax = 4000,
                isparsable = true
            }
        },
        width = 5,
        x1 = 183, y1 = 362,
        x2 = 0, y2 = 160
    },
    {
        job = 'ring',
        layers = {
            {
                angle1 = 360,
                angle2 = 0,
                alpha = 1,
                isparsable = false
            },
            {
                angle1 = 270,
                angle2 = -90,
                alpha = 1,
                value = '${fs_used_perc /}',
                valuemax = 100,
                isparsable = true
            }
        },
        width = 5,
        radius = 35,
        x = 170, y = 590
    },
    {
        job = 'ring',
        layers = {
            {
                angle1 = 250,
                angle2 = -70,
                alpha = 1,
                isparsable = false
            },
            {
                angle1 = 250,
                angle2 = -70,
                alpha = 1,
                value = '${fs_used_perc /home}',
                valuemax = 100,
                isparsable = true
            }
        },
        width = 5,
        radius = 47,
        x = 170, y = 590
    }
}







require 'cairo'

function inca_rgb(color,alpha)
    return ((color / 0x10000) % 0x100) / 255., ((color / 0x100) % 0x100) / 255., (color % 0x100) / 255., alpha
end


function inca_draw_shadow(cr, radius, color, strength, radiusstart)
    local alpha = strength / radius
    cairo_set_source_rgba(cr, inca_rgb(color, alpha))
    cairo_set_line_join(cr, CAIRO_LINE_JOIN_ROUND)
    cairo_set_line_cap(cr, CAIRO_LINE_CAP_ROUND)
    local w, radiusstart = 0, radiusstart
    if radiusstart     ~= nil and radiusstart > 1 then
        radius = radius + radiusstart
    else
        radiusstart = 1
    end
    for w=radiusstart,radius,1 do
        cairo_set_line_width(cr, w)
        cairo_stroke_preserve(cr)
    end
end

function inca_draw_ring(cr, x, y, radius, width, ring)
    local value,valuemax = ring['value'], ring['valuemax']
    local angle1,angle2,angle3 = ring['angle1'], ring['angle2'], 0
    local color,alpha = settings['fgcolor'], ring['alpha']
    local alphasd = 0.3
        
    if ring['isparsable'] == true then
        value = conky_parse(value)
        if value == nil then return end
        value = tonumber(value)/valuemax
        value = math.max(0, math.min(1, value))
    else
        value = 1
        alphasd = 1
        color = settings['bgcolor']
    end
    angle3 = (angle2 - angle1)*value + angle1
    cairo_arc_negative(cr, x, y, radius, angle1*math.pi/180, angle3*math.pi/180)
    inca_draw_shadow(cr, 5, 0x000000, 0.60*alphasd, width + 1)
    cairo_set_source_rgba(cr, inca_rgb(color,alpha))
    cairo_set_line_width(cr, width)
    cairo_stroke(cr)
end

function inca_draw_line(cr, x1, y1, x2, y2, width, line)
    local value,valuemax = line['value'], line['valuemax']
    local color,alpha = settings['fgcolor'], line['alpha']
    local alphasd = 0.3
    
    if line['isparsable'] == true then
        value = conky_parse(value)
        if value == nil then return end
        value = tonumber(value)/valuemax
        value = math.max(0, math.min(1, value))
    else
        value = 1
        alphasd = 1
        color = settings['bgcolor']
    end
    local x = (1 - value)/2
    cairo_move_to(cr, x1 + x2*x, y1 + y2*x)
    cairo_rel_line_to(cr, x2*(1-x*2), y2*(1-x*2))
    cairo_close_path (cr)
    inca_draw_shadow(cr, 5, 0x000000, 0.60*alphasd, width + 1)
    cairo_set_source_rgba(cr, inca_rgb(color, alpha))
    cairo_set_line_width(cr, width)
    cairo_stroke(cr)
end

function inca_draw_job(cr, job)
    if job['job'] == 'text' then
        cairo_select_font_face(cr, job.font, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_BOLD)
        cairo_set_font_size(cr, job.size)
        cairo_move_to(cr, job['x'], job['y'])
        local str = job['str']
        if job['isparsable'] == true then
            str = conky_parse(str)
            if str == nil then return end
        end
        if job['isformatable'] ~= nil and job['isformatable'] == true then
            str = string.format(job['fmt'], str)
        end
        cairo_text_path(cr, str)
        inca_draw_shadow(cr, 5, 0x000000, 0.65)
        cairo_set_source_rgba(cr, inca_rgb(settings['fgcolor'], 1))
        cairo_fill(cr)
    elseif job['job'] == 'ring' then
        local x,y,radius = job['x'], job['y'], job['radius']
        local layers,width = job['layers'], job['width']
        for i in pairs(layers) do
            inca_draw_ring(cr, x, y, radius, width, layers[i])
        end
    elseif job['job'] == 'line' then
        local x1,y1,x2,y2 = job['x1'], job['y1'], job['x2'], job['y2']
        local layers,width = job['layers'], job['width']
        for i in pairs(layers) do
            inca_draw_line(cr, x1, y1, x2, y2, width, layers[i])
        end
    end
end

function conky_paint()
    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)
    for i in pairs(jobs) do
        inca_draw_job(cr, jobs[i])
    end
end

Hey, I can't seem to get this to work. I'm a total noob to conky and could not find the culprit, any help is welcome.
I keep getting this error:

Conky: desktop window (ab) is root window
Conky: window type - override
Conky: drawing to created window (0x2a00002)
Conky: drawing to double buffer
Conky: llua_do_call: function conky_paint execution failed: /home/vitor/.config/conky/new.lua:372: attempt to perform arithmetic on a nil value
Conky: llua_do_call: function conky_paint execution failed: /home/vitor/.config/conky/new.lua:372: attempt to perform arithmetic on a nil value
Conky: llua_do_call: function conky_paint execution failed: /home/vitor/.config/conky/new.lua:372: attempt to perform arithmetic on a nil value
Conky: obj->data.i 3 info.cpu_count 2
Conky: attempting to use more CPUs than you have!

I have conky-lua 1.8.1-2 from AUR.

Thanks!

Offline

#687 2011-04-04 01:20:45

lives2evil
Member
From: GMT+7
Registered: 2010-03-21
Posts: 244

Re: conky configs and screenshots!

Well, I wrote this for my core i3 cpu (2 cores with hyper threading), so virtually I have 4 cpu cores. As you only have 2, it's encounter errors.
Edit the new.lua file, find and change these string '${cpu cpu2}' and '${cpu cpu3}' to 50, and also change 2 value of isparsable = true to false (same area).


tsujeruplive, tnarongisi... ... ... ... ɥsılƃuǝ sı sıɥʇ

Offline

#688 2011-04-04 01:45:57

vitoreiji
Member
Registered: 2009-09-04
Posts: 67

Re: conky configs and screenshots!

lives2evil wrote:

Well, I wrote this for my core i3 cpu (2 cores with hyper threading), so virtually I have 4 cpu cores. As you only have 2, it's encounter errors.
Edit the new.lua file, find and change these string '${cpu cpu2}' and '${cpu cpu3}' to 50, and also change 2 value of isparsable = true to false (same area).

Thanks!
I also had to adapt the ones with '${platform coretemp.1 temp 1}'.
I'm starting to learn this thing, thanks for sharing your code!

Offline

#689 2011-04-08 23:17:12

Sector11
Banned
Registered: 2010-02-25
Posts: 10

Offline

#690 2011-04-13 11:51:55

My Nick
Member
From: My State
Registered: 2011-04-13
Posts: 24

Re: conky configs and screenshots!

Conky does not run as I expected .. at boot time Conky running normally ... but when the desktop appears, and I open the application, Conky is located in front of applications ... not stick to the desktop background, like this screenshot ..



how to fix it?... tq n sorry my bad english smile

-- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --

Offline

#691 2011-04-13 15:52:33

Sector11
Banned
Registered: 2010-02-25
Posts: 10

Re: conky configs and screenshots!

My Nick wrote:

Conky does not run as I expected .. at boot time Conky running normally ... but when the desktop appears, and I open the application, Conky is located in front of applications ... not stick to the desktop background, like this screenshot ..

http://i51.tinypic.com/24niv0p.png

how to fix it?... tq n sorry my bad english smile

How do you start it?

Try the "ssc.sh" script.  Modify it to suit your system.  Increase the "sleep" time so your desktop is running before conky starts.

Français? Allez ici:  ssc.sh

Are you running compiz?

Hope that helps.

Last edited by Sector11 (2011-04-13 15:53:41)

Offline

#692 2011-04-13 18:40:37

My Nick
Member
From: My State
Registered: 2011-04-13
Posts: 24

Re: conky configs and screenshots!

Sector11 wrote:

How do you start it?

Try the "ssc.sh" script.  Modify it to suit your system.  Increase the "sleep" time so your desktop is running before conky starts.

Français? Allez ici:  ssc.sh

Are you running compiz?

Hope that helps.


I already use ssc.sh, modify it according to the system that I use and then execute it in the startup applications  ... but still, as it results sad

yes I am using compiz .. is there an additional setting in compiz ? roll

Offline

#693 2011-04-13 19:53:06

Sector11
Banned
Registered: 2010-02-25
Posts: 10

Re: conky configs and screenshots!

My Nick wrote:

yes I am using compiz .. is there an additional setting in compiz ? roll

Yup ... {putting My Nick's eyes back in place} sad but true ... one little hint in Conky PitStop and a really NICE explanation at blendmaster.name

Let me know how you make out.

Offline

#694 2011-04-14 16:46:14

My Nick
Member
From: My State
Registered: 2011-04-13
Posts: 24

Re: conky configs and screenshots!

Sector11 wrote:

Yup ... {putting My Nick's eyes back in place} sad but true ... one little hint in Conky PitStop and a really NICE explanation at blendmaster.name

Let me know how you make out.


thanks sector11
I've tried your instructions and successful smile

Offline

#695 2011-04-14 17:38:39

Sector11
Banned
Registered: 2010-02-25
Posts: 10

Re: conky configs and screenshots!

My Nick wrote:

thanks sector11
I've tried your instructions and successful smile

Glad to hear it ...

Offline

#696 2011-04-15 00:57:51

xs
Member
From: San Jose, CA.
Registered: 2011-04-06
Posts: 92

Re: conky configs and screenshots!

Just made this one...

configconky3.th.png

Heres my config:

background yes
border_width 0
cpu_avg_samples 2
default_color white
own_window yes
own_window_transparent yes
own_window_argb_visual yes
own_window_argb_value 0
own_window_type dock
short_units true
top_cpu_separate false
own_window_class conky-semi
own_window_hints undecorated,sticky,below,skip_taskbar,skip_pager
default_outline_color white
default_shade_color black
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades yes
use_xft yes
xftfont DejaVu Sans Mono:size=8
gap_x 1035
gap_y 50
minimum_size 170 600
net_avg_samples 2
no_buffers yes
out_to_console no
out_to_stderr no
extra_newline no
stippled_borders 12
update_interval 1.0
uppercase no
use_spacer right
show_graph_scale no
show_graph_range no
double_buffer yes
temperature_unit fahrenheit

#${image /home/xs/wallpaper/archlinux-logo.jpg -p 0,0 -s 32x32}
TEXT
$alignc${color orange}${uid_name 1000}@$nodename
$alignc$color${color white}$sysname $kernel $machine
${alignc}${time %A, %B %e,%G} ${time %l:%M:%p}

${color orange}Uptime:$color ${uptime %D,%M,%H,%s} ${color orange}    CPU Temp: ${color white}${hwmon 0 temp 1}${color orange} F
${color orange}CPU Usage:${color grey} ${cpubar 7,147} $color$cpu%
${color grey}${cpugraph 14,235 000000 cdcdcd}
$alignc${color orange}Top Processes (CPU)
${color orange}Total:$color $processes               ${color orange}Running:$color $running_processes
${color orange}Name               PID    CPU%   MEM%
${color #ddbb00} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
 $color${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
 $color${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
 $color${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}

${color orange}RAM Usage:$color $mem/ $memmax ${color grey} ${membar 7,56} $color$memperc%
${color orange}Swap Usage:$color $swap/ $swapmax${color grey} ${swapbar 7,56} $color$swapperc%
${color grey}${memgraph 14,235 000000 cdcdcd}
$alignc${color orange}Top Processes (RAM)
${color orange}Name               PID    CPU%   MEM%
 ${color #ddbb00}${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
 $color${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
 $color${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
 $color${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}

${color orange}Disk usage:
 $color/       ${fs_used /} / ${fs_size /} ${color white}${fs_bar 7,80 /}${color}${fs_used_perc /}%
 $color/home   ${fs_used /home} / ${fs_size /home} ${color white}${fs_bar 7,80 /home}${color}${fs_used_perc /home}%

$if_gw${if_up eth0}${color orange}Networking:
${color orange}eth0:    ${color orange}Up:$color ${upspeed eth0} ${color orange} Down:$color ${downspeed eth0}
${color grey}${downspeedgraph eth0 15,115 000000 cdcdcd} ${upspeedgraph eth0 15,115 000000 cdcdcd}$endif${if_up wlan0}
${color orange}wlan0:   ${color orange}Up:$color ${upspeed wlan0} ${color orange} Down:$color ${downspeed wlan0}
${color grey}${downspeedgraph wlan0 15,115 000000 cdcdcd} ${upspeedgraph wlan0 15,115 000000 cdcdcd}$endif$endif
${color orange}Battery:
${color grey}${battery_bar 5, 213}${color}${battery_percent}%

Last edited by xs (2011-04-15 02:20:03)


I like pie. Especially with a side of Arch.

Offline

#697 2011-05-01 14:02:26

derblub
Member
From: /dev/null
Registered: 2011-04-25
Posts: 44
Website

Re: conky configs and screenshots!

Can anyone help me with my conky config?
As mentioned here: Problem: maximizing windows moves them to bottom screen-edge (KDE4.x), it is somehow "breaking" my x,y coordinates of my screen and maximize buttons of windows are not working correctly anymore.

this is my config:


.conkyrc

background no
font Monospace:size=8
xftfont Monospace:size=8
use_xft yes
xftalpha 0.5
update_interval 1.0
total_run_times 0
own_window yes
own_window_type panel
own_window_transparent yes
own_window_argb_visual yes
own_window_argb_value 255
own_window_class conky-semi
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
# minimum_size 200
maximum_width 220
default_color ffffff
default_shade_color 000000
draw_outline no
alignment top_right
gap_x 0
gap_y 210
no_buffers yes
cpu_avg_samples 2
override_utf8_locale yes
uppercase no
use_spacer none

TEXT
${goto 5}${time %A, %d. %B %Y}

${goto 5}Kernel: $kernel $machine
${goto 5}Uptime: $uptime_short
${goto 5}Battery:${voffset 2} ${battery_bar 5,115} ${battery_percent}%
${goto 5}Lan IP: ${addrs wlan0}
${goto 5}Wan IP: ${execi 600 /home/blub/scripts/.wan-ip}

# ${goto 5}PROCCESSOR
${goto 5}CPU 1: ${cpubar cpu0 5,130} ${cpu cpu0}%
${goto 5}CPU 2: ${cpubar cpu1 5,130} ${cpu cpu1}%
${goto 5}CPU 3: ${cpubar cpu2 5,130} ${cpu cpu2}%
${goto 5}CPU 4: ${cpubar cpu3 5,130} ${cpu cpu3}%
${goto 5}Temp: ${hwmon temp 1}°C

# ${goto 5}MEMORY
${goto 5}RAM: ${goto 40}${membar 5,135} $memperc%
${goto 5}Swap: ${goto 40}${swapbar 5,135} $swapperc%
${goto 5}Processes: $processes
${goto 5}Running: $running_processes

${goto 5}PROCESSES $alignc ${goto 135}MEM  ${goto 175}CPU
${goto 5}CPU TIME $stippled_hr
${goto 5}${top name 1} ${goto 120}${top mem 1} ${goto 160}${top cpu 1}
${goto 5}${top name 2} ${goto 120}${top mem 2} ${goto 160}${top cpu 2}
${goto 5}${top name 3} ${goto 120}${top mem 3} ${goto 160}${top cpu 3}
${goto 5}${top name 4} ${goto 120}${top mem 4} ${goto 160}${top cpu 4}
${goto 5}TOTAL MEM $stippled_hr
${goto 5}${top_mem name 1} ${goto 120}${top_mem cpu 1} ${goto 160}${top_mem mem 1}
${goto 5}${top_mem name 2} ${goto 120}${top_mem cpu 2} ${goto 160}${top_mem mem 2}
${goto 5}${top_mem name 3} ${goto 120}${top_mem cpu 3} ${goto 160}${top_mem mem 3}
${goto 5}${top_mem name 4} ${goto 120}${top_mem cpu 4} ${goto 160}${top_mem mem 4}

# ${goto 5}HDD
${goto 5}root: ${goto 45}${fs_bar 5,130 /} ${fs_used_perc /}%
${goto 5}home: ${goto 45}${fs_bar 5,130 /home} ${fs_used_perc /home}%

# ${goto 5}WLAN
${goto 5}D: ${downspeed wlan0} ${goto 75} U: ${upspeed wlan0}
 

Thanks in advance!

Offline

#698 2011-05-01 15:29:54

Sector11
Banned
Registered: 2010-02-25
Posts: 10

Re: conky configs and screenshots!

derblub wrote:

Can anyone help me with my conky config?
As mentioned here: Problem: maximizing windows moves them to bottom screen-edge (KDE4.x), it is somehow "breaking" my x,y coordinates of my screen and maximize buttons of windows are not working correctly anymore.

I modified your script: only one CPU so they all became cpu0, wlan0 became eth0 etc and references to battery commented out as well as compiz stuff (#own_window_argb_visual yes  #own_window_argb_value 255) so this is by no means an accurate test.

Also:

own_window_type panel

Does not work for me, it causes conky to always sit in the upper left corner.

Personally I think the problems lies with KDE4.x and /or compiz.

Is there not a setting in KDE that reserves margin space for windows?
I use that with #! OpenBox and set the width to my conkys that can use that space:

If you can set a margin to 220 on the right, this might work for you.

IceWeasel maximized:
thmb_max.png
Notice my conkys on the left, top and right with my tint2 panel on the bottom.  Umfortunately it only allows for a maximum margin spacing of 100 with Openbox.

This is offered only as a last ditch attempt to fix your problem

the conky: test-101-1
Warning: Stuff below TEXT changed as described above!
Above TEXT is what I use to get conky to use the "margins".

background no
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints skip_taskbar,skip_pager
own_window_title conky-semi
own_window_class conky-semi

double_buffer yes
use_spacer right # yes is NOT an option - left right or none
override_utf8_locale yes
use_xft yes
xftalpha 1.0
uppercase no
stippled_borders 0
border_inner_margin 0
border_width 0
default_outline_color black
default_shade_color black
draw_borders no
draw_graph_borders no
draw_outline no
draw_shades no

default_color DCDCDC #Gainsboro
color0 FFFFF0 #Ivory
color1 778899 #LightSlateGrey
color2 FF8C00 #Darkorange
color3 C6FF8E #Light Green
color4 FFA07A #LightSalmon
color5 FFDEAD #NavajoWhite
color6 00BFFF #DeepSkyBlue
color7 48D1CC #MediumTurquoise
color8 FFFF00 #Yellow
color9 FF0000 #Red

text_buffer_size 256  #is minimum
no_buffers yes
short_units yes
pad_percents 2
#max_specials 1024
#max_user_text 10000

update_interval 1
imlib_cache_size 0
gap_x 0          ### left &right
gap_y 210            ### up & down
minimum_size 220 0 ### width, height ### make this equal to what is used for the image
maximum_width 220    ### make this equal to minimum size width
alignment top_right        ### Aligned position on screen: tl, tr, tm, bl, br, bm, ml, mr
xftfont monospace:size=8

TEXT
${goto 5}${time %A, %d. %B %Y}

${goto 5}Kernel: $kernel $machine
${goto 5}Uptime: $uptime_short
${goto 5}Battery:${voffset 2} ${cpu_bar 5,115} ${cpu cpu0}%
${goto 5}Lan IP: ${addrs eth0}
${goto 5}Wan IP: # ${execi 600 /home/blub/scripts/.wan-ip}

${goto 5}PROCCESSOR
${goto 5}CPU 1: ${cpubar cpu0 5,130} ${cpu cpu0}%
${goto 5}CPU 2: ${cpubar cpu1 5,130} ${cpu cpu1}%
${goto 5}CPU 3: ${cpubar cpu0 5,130} ${cpu cpu0}%
${goto 5}CPU 4: ${cpubar cpu1 5,130} ${cpu cpu1}%
${goto 5}Temp: ${hwmon temp 1}°C

${goto 5}MEMORY
${goto 5}RAM: ${goto 40}${membar 5,135} $memperc%
${goto 5}Swap: ${goto 40}${swapbar 5,135} $swapperc%
${goto 5}Processes: $processes
${goto 5}Running: $running_processes

${goto 5}PROCESSES ${goto 135}MEM  ${goto 175}CPU
${goto 5}CPU TIME $stippled_hr
${goto 5}${top name 1} ${goto 120}${top mem 1} ${goto 160}${top cpu 1}
${goto 5}${top name 2} ${goto 120}${top mem 2} ${goto 160}${top cpu 2}
${goto 5}${top name 3} ${goto 120}${top mem 3} ${goto 160}${top cpu 3}
${goto 5}${top name 4} ${goto 120}${top mem 4} ${goto 160}${top cpu 4}
${goto 5}TOTAL MEM $stippled_hr
${goto 5}${top_mem name 1} ${goto 120}${top_mem cpu 1} ${goto 160}${top_mem mem 1}
${goto 5}${top_mem name 2} ${goto 120}${top_mem cpu 2} ${goto 160}${top_mem mem 2}
${goto 5}${top_mem name 3} ${goto 120}${top_mem cpu 3} ${goto 160}${top_mem mem 3}
${goto 5}${top_mem name 4} ${goto 120}${top_mem cpu 4} ${goto 160}${top_mem mem 4}

${goto 5}HDD
${goto 5}root: ${goto 45}${fs_bar 5,130 /} ${fs_used_perc /}%
${goto 5}home: ${goto 45}${fs_bar 5,130 /home} ${fs_used_perc /home}%

${goto 5}WLAN
${goto 5}D: ${downspeed eth0} ${goto 75} U: ${upspeed eth0}

Last edited by Sector11 (2011-05-01 15:32:35)

Offline

#699 2011-05-01 16:01:02

derblub
Member
From: /dev/null
Registered: 2011-04-25
Posts: 44
Website

Re: conky configs and screenshots!

Thanks for your answer Sector11

Now I figured that this was causing the problem:

own_window_type panel

but now my problem is - setting this to "override" removes my transparency and the background gets black and with "normal" I get a transparent background, but very blurry whiteish/greyish "background shade", making my white font almost unreadable.

see this screenshot with the "normal" setting:
conkynormal.th.png

Offline

#700 2011-05-01 19:26:05

Zom
Member
From: Sweden
Registered: 2007-10-27
Posts: 430

Re: conky configs and screenshots!

Remove the "shadow" effect in Kwin. It sets a shadow for the conky too when it's a "normal" window.

If you still want a shadow effect on decorated windows, try something like the "oxygen" windec, which has soft shadows built in.

Offline

Board footer

Powered by FluxBB