Page 2091 of 2348 FirstFirst ... 1091159119912041208120892090209120922093210121412191 ... LastLast
Results 20,901 to 20,910 of 23480

Thread: Post your .conkyrc files w/ screenshots

  1. #20901
    Join Date
    Jul 2006
    Location
    Gujranwala, Pakistan
    Beans
    139
    Distro
    Ubuntu

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by bra|10n View Post
    Thanks for the link Sector11.

    I have another question...
    I'm using vnstat and would like to include an ${if_match} ... ${color red} scenario for the total monthly usage.
    As I have a small (3GB) usage allowance I would like the total to turn red @ 2.9GB or 2900.00MB.
    This is the relevant code,
    Code:
    ${execi 300 vnstat -m | grep "`date +"%b '%y"`" | awk '{print $9 $10}'}
    My efforts to date have failed.
    Appreciate any help...
    Thats weird. I just tested your command.

    It seems to run fine.

  2. #20902
    Join Date
    May 2010
    Location
    Australia
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by mrpeachy View Post
    i assume the print $9 part gets you the number and the $10 gets you the units
    just compare the numbers - to conky 2900MB is not a number, 2900 is
    I tried,
    Code:
    ${if_match ${execi 300 vnstat -m | grep "`date +"%b '%y"`" | awk '{print $9}'}>=2900.00}${color red}${else}${endif}
    and there were no errors reported in a terminal, but also no data displayed, just blank.
    So is this small progress or false hope?

  3. #20903
    Join Date
    Oct 2009
    Location
    Under a rock
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by bra|10n View Post
    I tried,
    Code:
    ${if_match ${execi 300 vnstat -m | grep "`date +"%b '%y"`" | awk '{print $9}'}>=2900.00}${color red}${else}${endif}
    and there were no errors reported in a terminal, but also no data displayed, just blank.
    So is this small progress or false hope?
    that line doesn't show anything
    the ${execi 300 vnstat -m | grep "`date +"%b '%y"`" | awk '{print $9}'} command is part of the if_match statement, only being evaluated not shown

    you need this
    Code:
    ${if_match ${execi 300 vnstat -m | grep "`date +"%b '%y"`" | awk  '{print $9}'}>=2900.00}${color red}${else}${endif}${execi 300 vnstat -m | grep "`date +"%b '%y"`" | awk  '{print $9$10}'}

  4. #20904
    Join Date
    May 2010
    Location
    Australia
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Post your .conkyrc files w/ screenshots

    Thank you Mr Peachy.
    Works like a charm!

  5. #20905
    Join Date
    Jan 2007
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by bra|10n View Post
    So I'm no closer as to why the code in conky doesn't show updates available when there are.
    ???
    Code don't show updates because it uses aptitude, which you have not installed.
    Install it
    Code:
    sudo apt-get install aptitude
    and it will work.
    Linux Debian Sid (Minted) x86_64/3.12.10, Conky 2.0_pre, Xorg 7.7/1.15.0, KDE 4.11.5, Lenovo T61, Intel X3100, HITACHI HTS722010K9SA00 100GB, WDC_WD5000BEVT 500GB
    Linux user No.: 483055 | My Conky Pitstop corner | One4All project

  6. #20906
    Join Date
    Jan 2007
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by mrpeachy View Post
    that line doesn't show anything
    the ${execi 300 vnstat -m | grep "`date +"%b '%y"`" | awk '{print $9}'} command is part of the if_match statement, only being evaluated not shown

    you need this
    Code:
    ${if_match ${execi 300 vnstat -m | grep "`date +"%b '%y"`" | awk  '{print $9}'}>=2900.00}${color red}${else}${endif}${execi 300 vnstat -m | grep "`date +"%b '%y"`" | awk  '{print $9$10}'}
    Hm... $if_match (one conditional), twice $execi (both giving this same data), twice date, both grep and awk for one data conditionals, and to make it worse twice (5 conditonals)... isn't it overkill?

    for those using English locale in system:
    Code:
    ${execi 300 vnstat -m -i wlan0 | mawk '/'$(date +"%b..%y")'/ {if ($9>=2900) _color="${color red}"; else _color="${color green}"; print _color $9 "${color}" $10}'}
    for those using non-English locale in system:
    Code:
    ${execi 300 vnstat -m -i wlan0 | mawk '/'$(env LC_ALL=en_US.UTF-8 date +"%b..%y")'/ {if ($9>=2900) _color="${color red}"; else _color="${color green}"; print _color $9 "${color}" $10}'}
    Linux Debian Sid (Minted) x86_64/3.12.10, Conky 2.0_pre, Xorg 7.7/1.15.0, KDE 4.11.5, Lenovo T61, Intel X3100, HITACHI HTS722010K9SA00 100GB, WDC_WD5000BEVT 500GB
    Linux user No.: 483055 | My Conky Pitstop corner | One4All project

  7. #20907
    Join Date
    Jun 2012
    Beans
    0

    Re: Post your .conkyrc files w/ screenshots

    @The crunchbang team ! (Sector11 Mr Peachy dk75 Arclance.....and the others)
    Thank you for the isometric_bars code lua.
    I've made a test and i find it great ! May be you will find a way to put
    ${downspeed eth0} ${upspeed eth0}
    inside.I'm not really good in prog lines just copy and paste .This script is with good hands.
    http://pix.toile-libre.org/upload/or...1351254428.png

  8. #20908
    Join Date
    Oct 2005
    Location
    Wabasha MN
    Beans
    2,571
    Distro
    Ubuntu

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by ragamatrix View Post
    @The crunchbang team ! (Sector11 Mr Peachy dk75 Arclance.....and the others)
    Thank you for the isometric_bars code lua.
    I've made a test and i find it great ! May be you will find a way to put inside.I'm not really good in prog lines just copy and paste .This script is with good hands.
    http://pix.toile-libre.org/upload/or...1351254428.png
    It would be nice to see your .conkyrc file. I like the look.
    Information on my Main laptop. Information on my small laptop Dell 11 3000
    Using a Asus 3632QM laptop with 8gig RAM, 250 SSD.
    Machine Registered 366271, 366273, 366275.
    Registered Ubuntu user number 18630. Registered Linux user number 458093.

  9. #20909
    Join Date
    Feb 2010
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by dk75 View Post
    for those using English locale in system:
    Code:
    ${execi 300 vnstat -m -i wlan0 | mawk '/'$(date +"%b..%y")'/ {if ($9>=2900) _color="${color red}"; else _color="${color green}"; print _color $9 "${color}" $10}'}
    I tried that at the end of my vnstat conky - but with 'eth0' vs 'wlan0' it does nothing, so I tried it without "-i eth0" (2nd test line):

    Code:
    ${execpi 300 vnstat -m | grep "Aug" | awk '{print "${color6}"$1" "$2"${color}${goto 75}"$3" "$4"${goto 155}"$6" "$7"${goto 235}"$9" "$10}'}
    ${execpi 300 vnstat -m | grep "Sep" | awk '{print "${color6}"$1" "$2"${color}${goto 75}"$3" "$4"${goto 155}"$6" "$7"${goto 235}"$9" "$10}'}
    ${execpi 300 vnstat -m | grep "Oct" | awk '{print "${color6}"$1" "$2"${color}${goto 75}"$3" "$4"${goto 155}"$6" "$7"${goto 235}"$9" "$10}'}
    ${execpi 300 vnstat -m | grep "Nov" | awk '{print "${color6}"$1" "$2"${color}${goto 75}"$3" "$4" ${goto 155}"$6" "$7" ${goto 235}"$9" "$10}'}
    ${execpi 300 vnstat -m | grep "Dec" | awk '{print "${color6}"$1" "$2"${color}${goto 75}"$3" "$4"${goto 155}"$6" "$7"${goto 235}"$9" "$10}'}
    ${color0}${hr}${color}
    test line
    ${execi 300 vnstat -m -i eth0 | mawk '/'$(date +"%b..%y")'/ {if ($9>=2900) _color="${color red}"; else _color="${color green}"; print _color $9 "${color}" $10}'}
    2nd test line
    ${execi 300 vnstat -m | mawk '/'$(date +"%b..%y")'/ {if ($9>=2900) _color="${color red}"; else _color="${color green}"; print _color $9 "${color}" $10}'}
    plus

    All of these produce the same: 1: $(date +"%b..%y") 2: $(date +"%b") & 3: $(date +"%y")
    Code:
     26 Oct 12 | 10:30:08 ~
             $ vnstat -m -i eth0 | mawk '/'$(date +"%b..%y")'/ $9 $10'
    
     eth0  /  monthly
    
           month        rx      |     tx      |    total    |   avg. rate
        ------------------------+-------------+-------------+---------------
           May 12     107.65 MB |     5.99 MB |   113.64 MB |      0.04 KB/s
           Jun 12      13.95 GB |   863.18 MB |    14.79 GB |      5.98 KB/s
           Jul 12      16.41 GB |   876.48 MB |    17.26 GB |      6.76 KB/s
           Aug 12      24.46 GB |     1.21 GB |    25.67 GB |     10.05 KB/s
           Sep 12      27.95 GB |     1.69 GB |    29.64 GB |     11.99 KB/s
           Oct 12      39.67 GB |     1.56 GB |    41.23 GB |     19.67 KB/s
        ------------------------+-------------+-------------+---------------
        estimated      48.34 GB |     1.91 GB |    50.25 GB |
    
     26 Oct 12 | 10:30:30 ~
             $ vnstat -m -i eth0 | mawk '/'$(date +"%b")'/ $9 $10'
    
     eth0  /  monthly
    
           month        rx      |     tx      |    total    |   avg. rate
        ------------------------+-------------+-------------+---------------
           May 12     107.65 MB |     5.99 MB |   113.64 MB |      0.04 KB/s
           Jun 12      13.95 GB |   863.18 MB |    14.79 GB |      5.98 KB/s
           Jul 12      16.41 GB |   876.48 MB |    17.26 GB |      6.76 KB/s
           Aug 12      24.46 GB |     1.21 GB |    25.67 GB |     10.05 KB/s
           Sep 12      27.95 GB |     1.69 GB |    29.64 GB |     11.99 KB/s
           Oct 12      39.67 GB |     1.56 GB |    41.23 GB |     19.67 KB/s
        ------------------------+-------------+-------------+---------------
        estimated      48.34 GB |     1.91 GB |    50.25 GB |
    
     26 Oct 12 | 10:30:36 ~
             $ vnstat -m -i eth0 | mawk '/'$(date +"%y")'/ $9 $10'
    
     eth0  /  monthly
    
           month        rx      |     tx      |    total    |   avg. rate
        ------------------------+-------------+-------------+---------------
           May 12     107.65 MB |     5.99 MB |   113.64 MB |      0.04 KB/s
           Jun 12      13.95 GB |   863.18 MB |    14.79 GB |      5.98 KB/s
           Jul 12      16.41 GB |   876.48 MB |    17.26 GB |      6.76 KB/s
           Aug 12      24.46 GB |     1.21 GB |    25.67 GB |     10.05 KB/s
           Sep 12      27.95 GB |     1.69 GB |    29.64 GB |     11.99 KB/s
           Oct 12      39.67 GB |     1.56 GB |    41.23 GB |     19.67 KB/s
        ------------------------+-------------+-------------+---------------
        estimated      48.34 GB |     1.91 GB |    50.25 GB |
    
     26 Oct 12 | 10:30:42 ~
             $
    Any idea why?
    Attached Images Attached Images

  10. #20910
    Join Date
    Jun 2012
    Beans
    0

    Re: Post your .conkyrc files w/ screenshots

    @irv
    Hi;
    Here you are:
    conkyrc_isobars:
    Code:
    ##############################################
    #  Settings
    ##############################################
    #background yes
    use_xft yes
    xftfont monospace:size=12
    xftalpha 1
    update_interval 1.0
    total_run_times 0
    own_window yes
    own_window_transparent yes
    own_window_type normal
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    own_window_argb_visual yes
    #own_window_title box widget 1.1
    double_buffer yes
    minimum_size 800 350#Taille minimum (px) ; largeur / hauteur
    maximum_width 800
    draw_shades no
    draw_outline no
    draw_borders no
    draw_graph_borders no
    default_color d9d7d6
    default_shade_color 000000
    default_outline_color d9d7d6
    alignment mm
    gap_x 0
    gap_y 0
    no_buffers yes
    uppercase no
    cpu_avg_samples 2
    override_utf8_locale no
    
    #call the Lua script here
    lua_load ~/développement/isometric_bars/isometric_bars.lua
     lua_draw_hook_pre draw_shape
    lua_load ~/développement/isometric_bars/draw_bg.lua
    TEXT
    ##${lua conky_draw_bg 15 310 20 1430 45 0x838B8B 0.3}
    ${lua conky_draw_bg 20 0 0 800 260 0x000000 0.5}
    ${goto 60}${voffset -10}${font Borg 9:size=8}${color ffff00}${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'| uniq}${goto 140}${voffset 12}${font OCR A Extended:style=Bold:size=8}${color ffff00}$kernel
    ${goto 50}${voffset 30}${fs_free_perc /home}%${goto 125}${cpu cpu1}%${goto 290}${cpu cpu2}%${goto 345}${cpu cpu0}%${goto 400}${memperc}%
    ${goto 52}${voffset 30}${font :style=Bold:size=8}${color lightgray}${fs_used_perc /home}%${goto 440}${voffset -16}${memfree}${goto 490}$mem/$memmax
    ${voffset 0}
    ${goto 165}${font caviar dreams:style=Bold:size=6}${color yellow}${top name 1}${goto 245}${top cpu 1}%${goto 445}${font caviar dreams:style=Bold:size=6}${color green2}${top_mem name 1}${goto 515}${top_mem mem 1}%
    ${goto 165}${font caviar dreams:size=6}${color2}${top name 2}${goto 245}${top cpu 2}%${goto 445}${font caviar dreams:size=6}${color lightgray}${top_mem name 2}${goto 515}${top_mem mem 2}%
    ${goto 165}${font caviar dreams:size=6}${color2}${top name 3}${goto 245}${top cpu 3}%${goto 445}${font caviar dreams:size=6}${color lightgray}${top_mem name 3}${goto 515}${top_mem mem 3}%
    ${goto 165}${font caviar dreams:size=6}${color2}${top name 4}${goto 245}${top cpu 4}%${goto 445}${font caviar dreams:size=6}${color lightgray}${top_mem name 4}${goto 515}${top_mem mem 4}%
    ${goto 165}${font caviar dreams:size=6}${color2}${top name 5}${goto 245}${top cpu 5}%${goto 445}${font caviar dreams:size=6}${color lightgray}${top_mem name 5}${goto 515}${top_mem mem 5}%
    ${goto 165}${font caviar dreams:size=6}${color2}${threads} process
    ${goto 595}${voffset 28}${font :style=Bold:size=10}${color lightgray}dl|ul${goto 460}${font :style=Bold:size=6}${color ffff00}${downspeed eth0}${goto 730}${font :style=Bold:size=6}${color FF4500}${upspeed eth0}${goto 500}${voffset -13}${downspeedgraph eth0 20,90 ffff00 00F5FF}${goto 635}${upspeedgraph eth0 20,90 FF4500 FFD700}
    ${voffset -400}
    isometric_bars.lua:

    Code:
    --[[ the post: http://crunchbanglinux.org/forums/post/55927/#p55927
    this one was easy (or i thought it was going to be)
    http://omploader.org/tM2x0bg
    Going to be a work in progress until i set up all the variables properly... and get my titles right smile
    UPDATE- now you can change line thickness without messing it up.  Getting the lines right has made things alot less easy smile
    also you can set font, font size and title position
        -- end the post
    isometric bars by mrpeachy (2012)
    updated by mrpeachy 15 Oct 2012
    --]]
    
    require 'cairo'
    
    function bar3d(conkyobject, linethick, width, barheight, linered, linegreen, lineblue, linealpha, facered, facegreen, faceblue, facealpha, across, down, title, framelines, font, fontsize, txtacross, txtdown, txtred, txtblue, txtgreen, txtalpha, direction)
    --line 1 settings end
    local a_num1=tonumber(conkyobject) or 0
    local a_num=(height/100)*a_num1
    --indicator
    if direction==nil then direction="r" end
    if direction=="r" then
    isoadjust=width*-0.5
    elseif direction=="l" then
    isoadjust=width*0.5
    end
    --point 1 - bottom left
    x1,y1=0,0
    --point 2 - bottom right
    x2,y2=x1+width,y1
    --point 3 - middle left
    x3,y3=x1,-a_num
    --point 4 - middle right
    x4,y4=x2,y3
    --point 5 - iso left
    x5,y5=x1+isoadjust,y1+(width*-0.5)
    --point 6 - iso right
    x6,y6=x5+width,y5
    --point 7 - top left
    x7,y7=x5,y5-a_num
    --point 8 - top right
    x8,y8=x7+width,y7
    --##################################
    cairo_set_line_cap  (cr, CAIRO_LINE_CAP_ROUND);
    cairo_set_line_join (cr, CAIRO_LINE_JOIN_ROUND);
    cairo_set_line_width (cr,linethick)
    if framelines == 1 then
    --back lines
    cairo_set_source_rgba (cr, linered, linegreen, lineblue, linealpha);
    cairo_save(cr)
    cairo_translate (cr, across, down)
    cairo_move_to (cr,x5,y5)
    cairo_line_to (cr,x5,y5-height)
    cairo_line_to (cr,x6,y6-height)
    cairo_line_to (cr,x6,y6)
    cairo_close_path (cr)
    cairo_stroke (cr)
    cairo_restore (cr)
    end
    cairo_save (cr)
    cairo_translate (cr, across, down)
    --bottom
    cairo_move_to (cr,x1,y1)
    cairo_line_to (cr,x2,y2)
    cairo_line_to (cr,x6,y6)
    cairo_line_to (cr,x5,y5)
    cairo_close_path (cr)
    cairo_set_source_rgba (cr, facered, facegreen, faceblue, facealpha);
    cairo_fill_preserve (cr)
    cairo_set_source_rgba (cr, linered, linegreen, lineblue, linealpha);
    cairo_stroke (cr)
    --back
    cairo_move_to (cr,x7,y7)
    cairo_line_to (cr,x5,y5)
    cairo_line_to (cr,x6,y6)
    cairo_line_to (cr,x8,y8)
    cairo_close_path (cr)
    cairo_set_source_rgba (cr, facered, facegreen, faceblue, facealpha);
    cairo_fill_preserve (cr)
    cairo_set_source_rgba (cr, linered, linegreen, lineblue, linealpha);
    cairo_stroke (cr)
    --iso side left
    cairo_move_to (cr,x7,y7)
    cairo_line_to (cr,x3,y3)
    cairo_line_to (cr,x1,y1)
    cairo_line_to (cr,x5,y5)
    cairo_close_path (cr)
    cairo_set_source_rgba (cr, facered, facegreen, faceblue, facealpha);
    cairo_fill_preserve (cr)
    cairo_set_source_rgba (cr, linered, linegreen, lineblue, linealpha);
    cairo_stroke (cr)
    --iso side right
    cairo_move_to (cr,x8,y8)
    cairo_line_to (cr,x4,y4)
    cairo_line_to (cr,x2,y2)
    cairo_line_to (cr,x6,y6)
    cairo_close_path (cr)
    cairo_set_source_rgba (cr, facered, facegreen, faceblue, facealpha);
    cairo_fill_preserve (cr)
    cairo_set_source_rgba (cr, linered, linegreen, lineblue, linealpha);
    cairo_stroke (cr)
    --top
    cairo_move_to (cr,x3,y3)
    cairo_line_to (cr,x7,y7)
    cairo_line_to (cr,x8,y8)
    cairo_line_to (cr,x4,y4)
    cairo_close_path (cr)
    cairo_set_source_rgba (cr, facered, facegreen, faceblue, facealpha);
    cairo_fill_preserve (cr)
    cairo_set_source_rgba (cr, linered, linegreen, lineblue, linealpha);
    cairo_stroke (cr)
    --front
    cairo_move_to (cr,x1,y1)
    cairo_line_to (cr,x2,y2)
    cairo_line_to (cr,x4,y4)
    cairo_line_to (cr,x3,y3)
    cairo_close_path (cr)
    cairo_set_source_rgba (cr, facered, facegreen, faceblue, facealpha);
    cairo_fill_preserve (cr)
    cairo_set_source_rgba (cr, linered, linegreen, lineblue, linealpha);
    cairo_stroke (cr)
    cairo_restore (cr)
    
    if framelines == 1 then
    --frame lines
    cairo_save (cr)
    cairo_translate (cr, across, down)
    cairo_set_source_rgba (cr, linered, linegreen, lineblue, linealpha);
    --front
    cairo_move_to (cr,x1,y1)
    cairo_line_to (cr,x1,y1-height)
    cairo_line_to (cr,x2,y2-height)
    cairo_line_to (cr,x2,y2)
    cairo_close_path (cr)
    cairo_stroke (cr)
    --top
    cairo_move_to (cr,x1,y1-height)
    cairo_line_to (cr,x5,y5-height)
    cairo_line_to (cr,x6,y6-height)
    cairo_line_to (cr,x2,y2-height)
    cairo_close_path (cr)
    cairo_stroke (cr)
    cairo_restore (cr)
    end--if framelines
    --title
    cairo_select_font_face (cr, font, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
    cairo_set_font_size (cr, fontsize);
    cairo_set_source_rgba (cr, (txtred or linered),(txtgreen or linegreen),(txtblue or lineblue),(txtalpha or linealpha));
    cairo_move_to (cr, txtacross, txtdown)
    cairo_show_text (cr, title)
    cairo_stroke (cr)
    end--isometric drawing function
    
    function conky_draw_shape ()
    local updates=conky_parse('${updates}')
    update_num=tonumber(updates)
    if update_num > 5 then
    if conky_window==nil then return end
    local w=conky_window.width
    local h=conky_window.height
    local cs=cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, w, h)
    cr=cairo_create(cs)
    
    -- ROOT
    --conkyobject=conky_parse('${fs_used_perc /}')
    --linethick=0.5 --1.25  --1.5
    --width=20
    --height=140
    --linered=1.0
    --linegreen=0.0
    --lineblue=0.0
    --linealpha=1.0
    --facered=0.0
    --facegreen=0.0
    --faceblue=1.0
    --facealpha=0.3
    --across=50
    --down=200
    --text formatting
    --title="Root"
    --font="White Rabbit"
    --fontsize=14
    --txtred=0.5
    --txtgreen=1.0
    --txtblue=0.0
    --txtalpha=1.0
    --txtacross=50
    --txtdown=220
    --1 for framelines, 0 for none
    --framelines=1
    --face direction "r" or "l"
    --direction="r"
    --bar3d(conkyobject, linethick, width, height, linered, linegreen, lineblue, linealpha, facered, facegreen, faceblue, facealpha, across, down, title, framelines, font, --fontsize, txtacross, txtdown, txtred, txtblue, txtgreen, txtalpha, direction)
    
    -- HOME
    conkyobject=conky_parse('${fs_used_perc /home}')
    linethick=0.5 --1.25  --1.5
    width=20
    height=140
    linered=1.0
    linegreen=0.0
    lineblue=0.0
    linealpha=1.0
    facered=0.0
    facegreen=0.0
    faceblue=1.0
    facealpha=0.3
    across=50
    down=200
    --text formatting
    title="Home"
    font="Kimberley"
    fontsize=14
    fontsize=14
    txtred=1
    txtgreen=1
    txtblue=0
    txtalpha=1
    txtacross=50
    txtdown=220
    --1 for framelines, 0 for none
    framelines=1
    --face direction "r" or "l"
    direction="l"
    bar3d(conkyobject, linethick, width, height, linered, linegreen, lineblue, linealpha, facered, facegreen, faceblue, facealpha, across, down, title, framelines, font, fontsize, txtacross, txtdown, txtred, txtblue, txtgreen, txtalpha, direction)
    
    -- MEDIA/5
    --conkyobject=conky_parse('${fs_used_perc /home}')
    --linethick=0.25
    --width=40
    --height=150
    --linered=1.0
    --linegreen=1.0
    --lineblue=1.0
    --linealpha=0.5
    --facered=0.5
    --facegreen=0.5
    --faceblue=0.5
    --facealpha=1.0
    --across=190
    --down=200
    --text formatting
    --title="HOME"
    --font="White Rabbit"
    --fontsize=14
    --txtred=1
    --txtgreen=1
    --txtblue=0
    --txtalpha=1
    --txtacross=190
    --txtdown=220
    --1 for framelines, 0 for none
    --framelines=1
    --face direction "r" or "l"
    --direction="l"
    --bar3d(conkyobject, linethick, width, height, linered, linegreen, lineblue, linealpha, facered, facegreen, faceblue, facealpha, across, down, title, framelines, font, --fontsize, txtacross, txtdown, txtred, txtblue, txtgreen, txtalpha, direction)
    
    -- MEMORY
    conkyobject=conky_parse('${memperc}')
    linethick=0.5 --1.25  --1.5
    width=20
    height=140
    linered=0.1
    linegreen=1.0
    lineblue=0.1
    linealpha=1.0
    facered=0.9
    facegreen=0.5
    faceblue=0.0
    facealpha=0.3
    across=400
    down=200
    --text formatting
    title="Ram"
    font="Kimberley"
    fontsize=12
    txtred=1
    txtgreen=1
    txtblue=0
    txtalpha=1
    txtacross=400
    txtdown=220
    --1 for framelines, 0 for none
    framelines=1
    --face direction "r" or "l"
    direction="l"
    bar3d(conkyobject, linethick, width, height, linered, linegreen, lineblue, linealpha, facered, facegreen, faceblue, facealpha, across, down, title, framelines, font, fontsize, txtacross, txtdown, txtred, txtblue, txtgreen, txtalpha, direction)
    
    -- CPU O (Average of all)
    conkyobject=conky_parse('${cpu cpu0}')
    linethick=0.5
    width=20
    height=140
    linered=0.0
    linegreen=0.0
    lineblue=1.0
    linealpha=1
    facered=0.7
    facegreen=0.2
    faceblue=0.6
    facealpha=1.0
    across=345
    down=200
    --text formatting
    title="CPU 1 + 2"
    font="Kimberley"
    fontsize=10
    txtred=1
    txtgreen=1
    txtblue=0
    txtalpha=1
    txtacross=345
    txtdown=220
    --1 for framelines, 0 for none
    framelines=1
    --face direction "r" or "l"
    direction="l"
    bar3d(conkyobject, linethick, width, height, linered, linegreen, lineblue, linealpha, facered, facegreen, faceblue, facealpha, across, down, title, framelines, font, fontsize, txtacross, txtdown, txtred, txtblue, txtgreen, txtalpha, direction)
    
    -- CPU 1
    conkyobject=conky_parse('${cpu cpu1}')
    linethick=0.5 --1.25  --1.5
    width=20
    height=140
    linered=0.1
    linegreen=1.0
    lineblue=0.1
    linealpha=1
    facered=1.0
    facegreen=0.0
    faceblue=0.0
    facealpha=0.3
    across=120
    down=200
    --text formatting
    title="CPU1"
    font="Kimberley"
    fontsize=12
    txtred=1
    txtgreen=1
    txtblue=0
    txtalpha=1
    txtacross=120
    txtdown=220
    --1 for framelines, 0 for none
    framelines=1
    --face direction "r" or "l"
    direction="l"
    bar3d(conkyobject, linethick, width, height, linered, linegreen, lineblue, linealpha, facered, facegreen, faceblue, facealpha, across, down, title, framelines, font, fontsize, txtacross, txtdown, txtred, txtblue, txtgreen, txtalpha, direction)
    
    -- CPU 2
    conkyobject=conky_parse('${cpu cpu2}')
    linethick=0.5 --1.25  --1.5
    width=20
    height=140
    linered=0.1
    linegreen=1.0
    lineblue=0.1
    linealpha=1
    facered=1.0
    facegreen=0.0
    faceblue=0.0
    facealpha=0.3
    across=290
    down=200
    --text formatting
    title="CPU2"
    font="Kimberley"
    fontsize=12
    txtred=1
    txtgreen=1
    txtblue=0
    txtalpha=1
    txtacross=290
    txtdown=220
    --1 for framelines, 0 for none
    framelines=1
    --face direction "r" or "l"
    direction="l"
    bar3d(conkyobject, linethick, width, height, linered, linegreen, lineblue, linealpha, facered, facegreen, faceblue, facealpha, across, down, title, framelines, font, fontsize, txtacross, txtdown, txtred, txtblue, txtgreen, txtalpha, direction)
    
    -- CPU 3
    --conkyobject=conky_parse('${cpu cpu3}')
    --linethick=0.5 --1.25  --1.5
    --width=40
    --height=150
    --linered=0.1
    --linegreen=0.1
    --lineblue=0.1
    --linealpha=1.0
    --facered=1.0
    --facegreen=0.0
    --faceblue=0.0
    --facealpha=1.0
    --across=260
    --down=400
    --text formatting
    --title="CPU3"
    --font="White Rabbit"
    --fontsize=14
    --txtred=1
    --txtgreen=1
    --txtblue=0
    --txtalpha=1
    --txtacross=260
    --txtdown=420
    --1 for framelines, 0 for none
    --framelines=1
    --face direction "r" or "l"
    --direction="l"
    --bar3d(conkyobject, linethick, width, height, linered, linegreen, lineblue, linealpha, facered, facegreen, faceblue, facealpha, across, down, title, framelines, font, --fontsize, txtacross, txtdown, txtred, txtblue, txtgreen, txtalpha, direction)
    
    end
    cairo_surface_destroy(cs)
    cairo_destroy(display)
    end
    Have a good conky
    Tschüss !
    Last edited by ragamatrix; October 26th, 2012 at 03:33 PM.

Page 2091 of 2348 FirstFirst ... 1091159119912041208120892090209120922093210121412191 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •