Page 1550 of 2291 FirstFirst ... 5501050145015001540154815491550155115521560160016502050 ... LastLast
Results 15,491 to 15,500 of 22907

Thread: Post your .conkyrc files w/ screenshots

  1. #15491
    Join Date
    Feb 2010
    Location
    SR11 Cockpit
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by frustratednerd View Post
    Hey all. Just wondering if someone can help me out here. Attached is a screenshot of my desktop.

    I want to make a few modifications to the 'Weather' section of my Conky, but I'm not sure how. I've attempted to edit my conkyForecast template, but with my little to no experience in editing templates, I was unsuccessful in making the changes I wanted.

    I wanted to have a text of the weather condition underneath the picture of it. I also wanted to have the time of the last update at Weather.com and the time of the last fetch of data from Weather.com centered below the 4-day forecast. If anyone can help me with this, I'll be really grateful.
    Try this template:

    Code:
    ${voffset -10}${alignr 56}${color2}${font ConkyWeather:style=Bold:size=40}[--datatype=WF]${font}${color}
    ${voffset -50}${color2}${font Weather:size=40}y${font}${color2}  ${voffset -38}${color2}${font Arial Black:size=26}[--datatype=HT]${font}${color}
    [datatype=CC]
    Chance of a Thunderstorm
    ${voffset 2}${font Droid Sans:style=Bold:size=8}${voffset 0}${goto 13}[--datatype=DW --startday=1 --shortweekday] ${goto 59}[--datatype=DW --startday=2 --shortweekday] ${goto 105}[--datatype=DW --startday=3 --shortweekday] ${goto 150}[--datatype=DW --startday=4 --shortweekday]${font}
    ${voffset 0}${color2}${font ConkyWeather:size=28}[--datatype=WF --startday=1 --endday=4 --spaces=1]${font}${color}
    ${font Droid Sans:style=Bold:size=8}${voffset 0}${goto 8}[--datatype=HT --startday=1 --hideunits --centeredwidth=3]/[--datatype=LT --startday=1 --hideunits --centeredwidth=3] ${goto 53}[--datatype=HT --startday=2 --hideunits --centeredwidth=3]/[--datatype=LT --startday=2 --hideunits --centeredwidth=3] ${goto 98}[--datatype=HT --startday=3 --hideunits --centeredwidth=3]/[--datatype=LT --startday=3 --hideunits --centeredwidth=3] ${goto 145}[--datatype=HT --startday=4 --hideunits --centeredwidth=3]/[--datatype=LT --startday=4 --hideunits --centeredwidth=3]${font}
    NOTES:
    Line 3 has [datatype=CC] by itself I would keep that close to the left side of your conky as "Clear" or "Sunny" is a lot shorter than: "Chance of a Thunderstorm" so you'll need room for that "condition" (the longest I think)
    Line 4 - "Chance of a Thunderstorm" hard coded. use fonts and goto whatever to position that first. Then apply the same fonts and goto or whatever commands to Line 3 and delete line 4.
    New Line 4 starts with ${voffset 2} - adjust that until you get the position correct.
    New Line 5 starts with ${voffset 0} either use it or delete that command it does nothing at the moment. (other than indicate just what line I'm talking about)
    The Last line - also has a ${voffset 0} in there - you don't need it.

    Hope that helps.

  2. #15492
    Join Date
    Feb 2010
    Location
    SR11 Cockpit
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by rugbeeprop View Post
    Thanks.

    I just updated the script:
    That ends like this:
    Code:
    ${if_existing /proc/net/route wlan0}IP on wlan0 $alignr ${addrs wlan0}
         ESSID $alignr ${wireless_essid wlan0}
         Quality $alignr ${wireless_link_qual_perc wlan0}%
    ${endif}
    
    ${image /media/DragonFire_Other/Ubuntu/PoweredByUbuntu/poweredbyubuntu2.png -p 120,600 -s 90x135}
    ${image /media/DragonFire_Other/Ubuntu/Ubuntu_Themes/Icons/Flags/flags_iso/48/id.png -p 1,695 -s 48x48}
    ${image /media/DragonFire_Other/Ubuntu/Ubuntu_Themes/Icons/Flags/flags_iso/48/cn.png -p 48,695 -s 48x48}
    ${image /media/DragonFire_Other/Ubuntu/Ubuntu_Themes/Icons/Flags/flags_iso/48/au.png -p 228,695 -s 48x48}
    ${image /media/DragonFire_Other/Ubuntu/Ubuntu_Themes/Icons/Flags/flags_iso/48/ca.png -p 276,695 -s 48x48}
    You are using screen real estate (7 lines) that your conky doesn't need:
    1. a blank line created by that last ${endif}
    2. a blank line where you see the blank line
    3. and a blank line for each of the 5 images you are using - that are placed with the -p command anyway.


    So a suggestion, one Canuck to another:
    1. Take each of those and add them to the end of the first five lines of your code under TEXT.
    2. Move that last ${endif} to the end of: Quality $alignr ${wireless_link_qual_perc wlan0}%${endif}


    Code:
    TEXT
    
    
    ${font Purisa:bold:size=16}${color gold}${pre_exec whoami}@$nodename$font$color${image /media/DragonFire_Other/Ubuntu/PoweredByUbuntu/poweredbyubuntu2.png -p 120,600 -s 90x135}
    ${image ~/.conky/icon/system.png -p 1,70 -s 22x22}${image /media/DragonFire_Other/Ubuntu/Ubuntu_Themes/Icons/Flags/flags_iso/48/id.png -p 1,695 -s 48x48}
    ${color orange}${font ubuntu:bold:size=10}        SYSTEM ${hr 2}$font$color${image /media/DragonFire_Other/Ubuntu/Ubuntu_Themes/Icons/Flags/flags_iso/48/cn.png -p 48,695 -s 48x48}
    Processors (total ${pre_exec grep -c 'model name' /proc/cpuinfo})${image /media/DragonFire_Other/Ubuntu/Ubuntu_Themes/Icons/Flags/flags_iso/48/au.png -p 228,695 -s 48x48}
    $alignr${pre_exec cat /proc/cpuinfo | grep 'model name' | cut -c 14-60 | uniq}${image /media/DragonFire_Other/Ubuntu/Ubuntu_Themes/Icons/Flags/flags_iso/48/ca.png -p 276,695 -s 48x48}
    Operating System ${image ~/.conky/icon/ubuntu.png -p 70,140 -s 22x22}
    $alignr${pre_exec cat /proc/version_signature}
    CPU 1 $alignr ${cpu cpu1}% used 
    ${color ivory}${cpubar cpu1 5}$color
    CPU 2 $alignr ${cpu cpu2}% used 
    ${color ivory}${cpubar cpu2 5}$color
    ${image ~/.conky/icon/mem.png -p 1,230 -s 22x22}
    ${font ubuntu:bold:size=10}${color orange}        MEMORY / DISK${hr 2}$font$color
    RAM${alignr}$memperc% used (${memfree}/${memmax})
    ${color ivory}${membar 5}$color
    Root ${alignr}${fs_free_perc /}% free (${fs_free /}/${fs_size /})
    ${color ivory}${fs_bar 5 /}$color
    Home ${alignr}${fs_free_perc /home}% free (${fs_free /home}/${fs_size /home})
    ${color ivory}${fs_bar 5 /home}$color
    DragonFire_Personal ${alignr}${fs_free_perc /media/DragonFire_Personal}% free (${fs_free /media/DragonFire_Personal}/${fs_size /media/DragonFire_Personal})
    ${color ivory}${fs_bar 5 /media/DragonFire_Personal}$color
    DragonFire_Other ${alignr}${fs_free_perc /media/DragonFire_Other}% free (${fs_free /media/DragonFire_Other}/${fs_size /media/DragonFire_Other})
    ${color ivory}${fs_bar 5 /media/DragonFire_Other}
    ${image ~/.conky/icon/batt.png -p 1,421 -s 22x22}
    ${font ubuntu:bold:size=10}${color orange}        POWER ${hr 2}$font$color
    Status $alignr $battery
    Time $alignr $battery_time
    ${color ivory}${battery_bar}$color
    ${image ~/.conky/icon/network.png -p 1,500 -s 22x22}
    ${font ubuntu:bold:size=10}${color orange}        NETWORK ${hr 2}$font$color
    ${if_existing /proc/net/route eth0}IP on eth0 $alignr ${addrs eth0}${endif}
    ${if_existing /proc/net/route wlan0}IP on wlan0 $alignr ${addrs wlan0}
         ESSID $alignr ${wireless_essid wlan0}
         Quality $alignr ${wireless_link_qual_perc wlan0}%${endif}
    Just a thought. That blank space under text could be handled by a ${voffset} command as well. And you have one of the first line with two image commands - I missed that when I was doing this but they could be added to the line above and then adjust spacing with another ${voffset}

  3. #15493
    Join Date
    Feb 2010
    Location
    SR11 Cockpit
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    I added one more conky to my screen today!

    I took the second set of circles out (commented out) of mrpeachy's LUA script, and added the Mayan masks. There are 12 of them and they will change every month.

    I have to show my entire desktop to show why I clipped the second set of circles.

    So why did I take the other circles out: It's called: No room!

    I finally filled it up!

    Oh yea:
    • outer ring: seconds
    • next ring: minutes
    • niddle ring: hours
    • next ring: day
    • centre ring: month


    The conky:
    Code:
    # To use #! in a conky use: ${exec echo '#!'}
    # OB_topconky
    
    own_window yes
    own_window_type override
    own_window_transparent yes
    own_window_hints below,skip_taskbar,skip_pager
    own_window_title mayan-time
    own_window_class mayan-time
    
    background no
    border_inner_margin 0
    border_width 0
    default_outline_color black
    default_shade_color black
    double_buffer yes
    draw_borders no
    draw_graph_borders no
    draw_outline no
    draw_shades no
    no_buffers yes
    override_utf8_locale yes
    pad_percents 2
    short_units yes
    stippled_borders 0
    text_buffer_size 1028
    uppercase no
    use_spacer right
    use_xft yes
    xftfont Zekton:bold:size=10
    xftalpha 1.0
    
    # Colors
    default_color DCDCDC #Gainsboro
    color0 FFFFF0 #Ivory
    color1 FFA07A #LightSalmon
    color2 FF8C00 #Darkorange
    color3 7FFF00 #Chartreuse
    color4 778899 #LightSlateGrey
    color5 FFDEAD #NavajoWhite
    color6 00BFFF #DeepSkyBlue
    color7 48D1CC #MediumTurquoise
    color8 FFFF00 #Yellow
    color9 FF0000 #Red
    
    imlib_cache_size 0
    
    update_interval 2
    gap_x 700 # left &right
    gap_y 320 # up & down
    minimum_size 340 340 # width, height
    alignment tl
    
    # -- Lua load -- #
    lua_load ~/Conky/scripts/mayan.lua
    lua_draw_hook_pre draw_fig
    
    
    TEXT
    ${if_match ${time %m} == 01}${image ~/Conky/images/Mayan/jan.png -p 171,171 -s 56x56}${else}${if_match ${time %m} == 02}${image ~/Conky/images/Mayan/feb.png -p 171,171 -s 56x56}${else}${if_match ${time %m} == 03}${image ~/Conky/images/Mayan/mar.png -p 171,171 -s 56x56}${else}${if_match ${time %m} == 04}${image ~/Conky/images/Mayan/apr.png -p 171,171 -s 56x56}${else}${if_match ${time %m} == 05}${image ~/Conky/images/Mayan/may.png -p 171,171 -s 56x56}${else}${if_match ${time %m} == 06}${image ~/Conky/images/Mayan/jun.png -p 171,171 -s 56x56}${else}${if_match ${time %m} == 07}${image ~/Conky/images/Mayan/jul.png -p 171,171 -s 56x56}${else}${if_match ${time %m} == 08}${image ~/Conky/images/Mayan/aug.png -p 171,171 -s 56x56}${else}${if_match ${time %m} == 09}${image ~/Conky/images/Mayan/sep.png -p 171,171 -s 56x56}${else}${if_match ${time %m} == 10}${image ~/Conky/images/Mayan/oct.png -p 171,171 -s 56x56}${else}${if_match ${time %m} == 11}${image ~/Conky/images/Mayan/nov.png -p 171,171 -s 56x56}${else}${if_match ${time %m} == 12}${image ~/Conky/images/Mayan/dec.png -p 171,171 -s 56x56}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}
    The modified Lua script (the images may need adjusting if you use the full script, I didn't try it) it is the complete LUA file, with the bottom part commented out.
    Code:
    --yearclock by mrpeachy 2010
    require 'cairo'
    
    function conky_draw_fig()
    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)
    cr = cairo_create(cs)
    local updates=tonumber(conky_parse('${updates}'))
    if updates > 5 then
    
    cairo_set_line_width (cr,1)
    hx0=200
    hy0=200
    hrad1=80
    hrad2=hrad1+10
    br1,bg1,bb1,ba1=1,1,1,1
    cairo_set_source_rgba (cr,br1,bg1,bb1,ba1)
    cairo_arc (cr,hx0,hy0,hrad1,0,2*math.pi)
    cairo_stroke (cr)
    cairo_arc (cr,hx0,hy0,hrad2,0,2*math.pi)
    cairo_stroke (cr)
    for i=1,24 do
    arc=((2*math.pi/360)*((360/24)*i))
    hx1=0+hrad1*(math.sin(arc))
    hy1=0-hrad1*(math.cos(arc))
    arc=((2*math.pi/360)*((360/24)*i))
    hx2=0+hrad2*(math.sin(arc))
    hy2=0-hrad2*(math.cos(arc))
    cairo_move_to (cr,hx0+hx1,hy0+hy1)
    cairo_line_to (cr,hx0+hx2,hy0+hy2)
    cairo_stroke (cr)
    end
    hr=os.date("%H")*60*60
    mn=os.date("%M")*60
    sc=os.date("%S")
    hrs=hr+mn+sc
    mns=mn+sc
    hrad3=hrad2+10
    arc=((2*math.pi/360)*((360/(24*60*60)*hrs)))
    hx1=0+hrad2*(math.sin(arc))
    hy1=0-hrad2*(math.cos(arc))
    arc=(2*math.pi/360)*((360/(24*60*60))*(hrs)-4)
    hx2=0+hrad3*(math.sin(arc))
    hy2=0-hrad3*(math.cos(arc))
    arc=(2*math.pi/360)*((360/(24*60*60))*(hrs)+4)
    hx3=0+hrad3*(math.sin(arc))
    hy3=0-hrad3*(math.cos(arc))
    cairo_move_to (cr,hx0+hx1,hy0+hy1)
    cairo_line_to (cr,hx0+hx2,hy0+hy2)
    cairo_stroke (cr)
    cairo_move_to (cr,hx0+hx1,hy0+hy1)
    cairo_line_to (cr,hx0+hx3,hy0+hy3)
    cairo_stroke (cr)
    --minutes
    mrad1=hrad3
    mrad2=mrad1+10
    br1,bg1,bb1,ba1=1,1,1,1
    cairo_set_source_rgba (cr,br1,bg1,bb1,ba1)
    cairo_arc (cr,hx0,hy0,mrad1,0,2*math.pi)
    cairo_stroke (cr)
    cairo_arc (cr,hx0,hy0,mrad2,0,2*math.pi)
    cairo_stroke (cr)
    for i=1,60 do
    arc=((2*math.pi/360)*((360/60)*i))
    mx1=0+mrad1*(math.sin(arc))
    my1=0-mrad1*(math.cos(arc))
    arc=((2*math.pi/360)*((360/60)*i))
    mx2=0+mrad2*(math.sin(arc))
    my2=0-mrad2*(math.cos(arc))
    cairo_move_to (cr,hx0+mx1,hy0+my1)
    cairo_line_to (cr,hx0+mx2,hy0+my2)
    cairo_stroke (cr)
    end
    mrad3=mrad2+10
    arc=((2*math.pi/360)*((360/(60*60)*mns)))
    mx1=0+mrad2*(math.sin(arc))
    my1=0-mrad2*(math.cos(arc))
    arc=(2*math.pi/360)*((360/(60*60))*(mns)-4)
    mx2=0+mrad3*(math.sin(arc))
    my2=0-mrad3*(math.cos(arc))
    arc=(2*math.pi/360)*((360/(60*60))*(mns)+4)
    mx3=0+mrad3*(math.sin(arc))
    my3=0-mrad3*(math.cos(arc))
    cairo_move_to (cr,hx0+mx1,hy0+my1)
    cairo_line_to (cr,hx0+mx2,hy0+my2)
    cairo_stroke (cr)
    cairo_move_to (cr,hx0+mx1,hy0+my1)
    cairo_line_to (cr,hx0+mx3,hy0+my3)
    cairo_stroke (cr)
    --seconds
    srad1=mrad3
    srad2=srad1+10
    br1,bg1,bb1,ba1=1,1,1,1
    cairo_set_source_rgba (cr,br1,bg1,bb1,ba1)
    cairo_arc (cr,hx0,hy0,srad1,0,2*math.pi)
    cairo_stroke (cr)
    cairo_arc (cr,hx0,hy0,srad2,0,2*math.pi)
    cairo_stroke (cr)
    for i=1,60 do
    arc=((2*math.pi/360)*((360/60)*i))
    sx1=0+srad1*(math.sin(arc))
    sy1=0-srad1*(math.cos(arc))
    arc=((2*math.pi/360)*((360/60)*i))
    sx2=0+srad2*(math.sin(arc))
    sy2=0-srad2*(math.cos(arc))
    cairo_move_to (cr,hx0+sx1,hy0+sy1)
    cairo_line_to (cr,hx0+sx2,hy0+sy2)
    cairo_stroke (cr)
    end
    srad3=srad2+10
    arc=((2*math.pi/360)*((360/(60)*sc)))
    sx1=0+srad2*(math.sin(arc))
    sy1=0-srad2*(math.cos(arc))
    arc=(2*math.pi/360)*((360/60)*((sc))-4)
    sx2=0+srad3*(math.sin(arc))
    sy2=0-srad3*(math.cos(arc))
    arc=(2*math.pi/360)*((360/60)*((sc))+4)
    sx3=0+srad3*(math.sin(arc))
    sy3=0-srad3*(math.cos(arc))
    cairo_move_to (cr,hx0+sx1,hy0+sy1)
    cairo_line_to (cr,hx0+sx2,hy0+sy2)
    cairo_stroke (cr)
    cairo_move_to (cr,hx0+sx1,hy0+sy1)
    cairo_line_to (cr,hx0+sx3,hy0+sy3)
    cairo_stroke (cr)
    cairo_arc (cr,hx0,hy0,srad3,0,2*math.pi)
    cairo_stroke (cr)
    --year
    month=os.date("%m")
    day=os.date("%d")
    mnrad1=hrad1-40
    mnrad2=mnrad1+10
    br1,bg1,bb1,ba1=1,1,1,1
    cairo_set_source_rgba (cr,br1,bg1,bb1,ba1)
    cairo_arc (cr,hx0,hy0,mnrad1,0,2*math.pi)
    cairo_stroke (cr)
    cairo_arc (cr,hx0,hy0,mnrad2,0,2*math.pi)
    cairo_stroke (cr)
    --lines of months
    year=os.date("%G")
    t1 = os.time( {    year=year,month=03,day=01,hour=00,min=0,sec=0} );
    t2 = os.time( {    year=year,month=02,day=01,hour=00,min=0,sec=0} );
    feb=(os.difftime(t1,t2))/(24*60*60)
    jan=31*24*60*60
    feb=jan+(feb*24*60*60)
    mar=feb+(31*24*60*60)
    apr=mar+(30*24*60*60)
    may=apr+(31*24*60*60)
    jun=may+(30*24*60*60)
    jul=jun+(31*24*60*60)
    aug=jul+(31*24*60*60)
    sep=aug+(30*24*60*60)
    oct=sep+(31*24*60*60)
    nov=oct+(30*24*60*60)
    dec=nov+(31*24*60*60)
    secdays = { jan, feb, mar, apr, may, jun, jul, aug, sep, oct, nov, dec }
    year=os.date("%G")
    t1 = os.time( {    year=year,month=03,day=01,hour=00,min=0,sec=0} );
    t2 = os.time( {    year=year,month=02,day=01,hour=00,min=0,sec=0} );
    feb=(os.difftime(t1,t2))/(24*60*60)
    yeardays=31+feb+31+30+31+30+31+31+30+31+30+31
    yearsec=(yeardays*24*60*60)
    for i=1,12 do
    arc=((2*math.pi/360)*((360/yearsec)*(secdays[i])))
    mnx1=0+mnrad1*(math.sin(arc))
    mny1=0-mnrad1*(math.cos(arc))
    arc=((2*math.pi/360)*((360/yearsec)*(secdays[i])))
    mnx2=0+mnrad2*(math.sin(arc))
    mny2=0-mnrad2*(math.cos(arc))
    cairo_move_to (cr,hx0+mnx1,hy0+mny1)
    cairo_line_to (cr,hx0+mnx2,hy0+mny2)
    cairo_stroke (cr)
    end
    hr=os.date("%I")
    doy=os.date("%j")
    yrsecs=((doy-1)*24*60*60)+(sc)+(mn*60)+(hr*60*60)
    mnrad3=mnrad2+10
    arc=(2*math.pi/360)*((360/yearsec)*(yrsecs))
    mnx1=0+mnrad2*(math.sin(arc))
    mny1=0-mnrad2*(math.cos(arc))
    arc=(2*math.pi/360)*((360/yearsec)*((yrsecs))+4)
    mnx2=0+mnrad3*(math.sin(arc))
    mny2=0-mnrad3*(math.cos(arc))
    arc=(2*math.pi/360)*((360/yearsec)*((yrsecs))-4)
    mnx3=0+mnrad3*(math.sin(arc))
    mny3=0-mnrad3*(math.cos(arc))
    cairo_move_to (cr,hx0+mnx1,hy0+mny1)
    cairo_line_to (cr,hx0+mnx2,hy0+mny2)
    cairo_stroke (cr)
    cairo_move_to (cr,hx0+mnx1,hy0+mny1)
    cairo_line_to (cr,hx0+mnx3,hy0+mny3)
    cairo_stroke (cr)
    --month
    yrad1=mnrad3
    yrad2=yrad1+10
    br1,bg1,bb1,ba1=1,1,1,1
    cairo_set_source_rgba (cr,br1,bg1,bb1,ba1)
    cairo_arc (cr,hx0,hy0,yrad1,0,2*math.pi)
    cairo_stroke (cr)
    cairo_arc (cr,hx0,hy0,yrad2,0,2*math.pi)
    cairo_stroke (cr)
    monthdays = { 31, feb, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }
    for i=1,monthdays[tonumber(month)] do
    arc=((2*math.pi/360)*((360/monthdays[tonumber(month)])*(i)))
    yx1=0+yrad1*(math.sin(arc))
    yy1=0-yrad1*(math.cos(arc))
    arc=((2*math.pi/360)*((360/monthdays[tonumber(month)])*(i)))
    yx2=0+yrad2*(math.sin(arc))
    yy2=0-yrad2*(math.cos(arc))
    cairo_move_to (cr,hx0+yx1,hy0+yy1)
    cairo_line_to (cr,hx0+yx2,hy0+yy2)
    cairo_stroke (cr)
    end
    yrad3=yrad2+10
    arc=(2*math.pi/360)*((360/monthdays[tonumber(month)])*(day))
    yx1=0+yrad2*(math.sin(arc))
    yy1=0-yrad2*(math.cos(arc))
    arc=(2*math.pi/360)*((360/monthdays[tonumber(month)])*((day))+4)
    yx2=0+yrad3*(math.sin(arc))
    yy2=0-yrad3*(math.cos(arc))
    arc=(2*math.pi/360)*((360/monthdays[tonumber(month)])*((day))-4)
    yx3=0+yrad3*(math.sin(arc))
    yy3=0-yrad3*(math.cos(arc))
    cairo_move_to (cr,hx0+yx1,hy0+yy1)
    cairo_line_to (cr,hx0+yx2,hy0+yy2)
    cairo_stroke (cr)
    cairo_move_to (cr,hx0+yx1,hy0+yy1)
    cairo_line_to (cr,hx0+yx3,hy0+yy3)
    cairo_stroke (cr)
    --system monitor
    --cpu
    --cairo_set_line_width (cr,1)
    --hx0=385
    --hy0=383
    --hrad1=40
    --hrad2=hrad1+10
    --br1,bg1,bb1,ba1=1,1,1,1
    --cairo_set_source_rgba (cr,br1,bg1,bb1,ba1)
    --cairo_arc (cr,hx0,hy0,hrad1,0,2*math.pi)
    --cairo_stroke (cr)
    --cairo_arc (cr,hx0,hy0,hrad2,0,2*math.pi)
    --cairo_stroke (cr)
    --for i=1,100 do
    --arc=(2*math.pi/100)*i
    --hx1=0+hrad1*(math.sin(arc))
    --hy1=0-hrad1*(math.cos(arc))
    --arc=(2*math.pi/100)*i
    --hx2=0+hrad2*(math.sin(arc))
    --hy2=0-hrad2*(math.cos(arc))
    --cairo_move_to (cr,hx0+hx1,hy0+hy1)
    --cairo_line_to (cr,hx0+hx2,hy0+hy2)
    --cairo_stroke (cr)
    --end
    --cpu=conky_parse('${cpu}')
    --hrad3=hrad2+10
    --arc=(2*math.pi/360)*((360/100)*((cpu)))
    --hx1=0+hrad2*(math.sin(arc))
    --hy1=0-hrad2*(math.cos(arc))
    --arc=(2*math.pi/360)*((360/100)*((cpu))+4)
    --hx2=0+hrad3*(math.sin(arc))
    --hy2=0-hrad3*(math.cos(arc))
    --arc=(2*math.pi/360)*((360/100)*((cpu))-4)
    --hx3=0+hrad3*(math.sin(arc))
    --hy3=0-hrad3*(math.cos(arc))
    --cairo_move_to (cr,hx0+hx1,hy0+hy1)
    --cairo_line_to (cr,hx0+hx2,hy0+hy2)
    --cairo_stroke (cr)
    --cairo_move_to (cr,hx0+hx1,hy0+hy1)
    --cairo_line_to (cr,hx0+hx3,hy0+hy3)
    --cairo_stroke (cr)
    ----memory
    --mrad1=hrad3
    --mrad2=mrad1+10
    --br1,bg1,bb1,ba1=1,1,1,1
    --cairo_set_source_rgba (cr,br1,bg1,bb1,ba1)
    --cairo_arc (cr,hx0,hy0,mrad1,0,2*math.pi)
    --cairo_stroke (cr)
    --cairo_arc (cr,hx0,hy0,mrad2,0,2*math.pi)
    --cairo_stroke (cr)
    --for i=1,100 do
    --arc=(2*math.pi/100)*i
    --mx1=0+mrad1*(math.sin(arc))
    --my1=0-mrad1*(math.cos(arc))
    --arc=(2*math.pi/100)*i
    --mx2=0+mrad2*(math.sin(arc))
    --my2=0-mrad2*(math.cos(arc))
    --cairo_move_to (cr,hx0+mx1,hy0+my1)
    --cairo_line_to (cr,hx0+mx2,hy0+my2)
    --cairo_stroke (cr)
    --end
    --mem=tonumber(conky_parse('${memperc}'))
    --mrad3=mrad2+10
    --arc=(2*math.pi/360)*((360/100)*((mem)))
    --mx1=0+mrad2*(math.sin(arc))
    --my1=0-mrad2*(math.cos(arc))
    --arc=(2*math.pi/360)*((360/100)*((mem))+4)
    --mx2=0+mrad3*(math.sin(arc))
    --my2=0-mrad3*(math.cos(arc))
    --arc=(2*math.pi/360)*((360/100)*((mem))-4)
    --mx3=0+mrad3*(math.sin(arc))
    --my3=0-mrad3*(math.cos(arc))
    --cairo_move_to (cr,hx0+mx1,hy0+my1)
    --cairo_line_to (cr,hx0+mx2,hy0+my2)
    --cairo_stroke (cr)
    --cairo_move_to (cr,hx0+mx1,hy0+my1)
    --cairo_line_to (cr,hx0+mx3,hy0+my3)
    --cairo_stroke (cr)
    ----fs_used root
    --srad1=mrad3
    --srad2=srad1+10
    --br1,bg1,bb1,ba1=1,1,1,1
    --cairo_set_source_rgba (cr,br1,bg1,bb1,ba1)
    --cairo_arc (cr,hx0,hy0,srad1,0,2*math.pi)
    --cairo_stroke (cr)
    --cairo_arc (cr,hx0,hy0,srad2,0,2*math.pi)
    --cairo_stroke (cr)
    --for i=1,100 do
    --arc=((2*math.pi/360)*((360/100)*i))
    --sx1=0+srad1*(math.sin(arc))
    --sy1=0-srad1*(math.cos(arc))
    --arc=((2*math.pi/360)*((360/100)*i))
    --sx2=0+srad2*(math.sin(arc))
    --sy2=0-srad2*(math.cos(arc))
    --cairo_move_to (cr,hx0+sx1,hy0+sy1)
    --cairo_line_to (cr,hx0+sx2,hy0+sy2)
    --cairo_stroke (cr)
    --end
    --fsr=conky_parse('${fs_used_perc /}')
    --srad3=srad2+10
    --arc=((2*math.pi/360)*((360/(100)*fsr)))
    --sx1=0+srad2*(math.sin(arc))
    --sy1=0-srad2*(math.cos(arc))
    --arc=(2*math.pi/360)*((360/100)*((fsr))-4)
    --sx2=0+srad3*(math.sin(arc))
    --sy2=0-srad3*(math.cos(arc))
    --arc=(2*math.pi/360)*((360/100)*((fsr))+4)
    --sx3=0+srad3*(math.sin(arc))
    --sy3=0-srad3*(math.cos(arc))
    --cairo_move_to (cr,hx0+sx1,hy0+sy1)
    --cairo_line_to (cr,hx0+sx2,hy0+sy2)
    --cairo_stroke (cr)
    --cairo_move_to (cr,hx0+sx1,hy0+sy1)
    --cairo_line_to (cr,hx0+sx3,hy0+sy3)
    --cairo_stroke (cr)
    ----fs used home
    --mnrad1=srad3
    --mnrad2=mnrad1+10
    --br1,bg1,bb1,ba1=1,1,1,1
    --cairo_set_source_rgba (cr,br1,bg1,bb1,ba1)
    --cairo_arc (cr,hx0,hy0,mnrad1,0,2*math.pi)
    --cairo_stroke (cr)
    --cairo_arc (cr,hx0,hy0,mnrad2,0,2*math.pi)
    --cairo_stroke (cr)
    --for i=1,100 do
    --arc=((2*math.pi/360)*((360/100)*i))
    --mnx1=0+mnrad1*(math.sin(arc))
    --mny1=0-mnrad1*(math.cos(arc))
    --arc=((2*math.pi/360)*((360/100)*i))
    --mnx2=0+mnrad2*(math.sin(arc))
    --mny2=0-mnrad2*(math.cos(arc))
    --cairo_move_to (cr,hx0+mnx1,hy0+mny1)
    --cairo_line_to (cr,hx0+mnx2,hy0+mny2)
    --cairo_stroke (cr)
    --end
    --fsh=conky_parse('${fs_used_perc /home}')
    --mnrad3=mnrad2+10
    --arc=((2*math.pi/360)*((360/(100)*fsh)))
    --mnx1=0+mnrad2*(math.sin(arc))
    --mny1=0-mnrad2*(math.cos(arc))
    --arc=(2*math.pi/360)*((360/100)*((fsh))-4)
    --mnx2=0+mnrad3*(math.sin(arc))
    --mny2=0-mnrad3*(math.cos(arc))
    --arc=(2*math.pi/360)*((360/100)*((fsh))+4)
    --mnx3=0+mnrad3*(math.sin(arc))
    --mny3=0-mnrad3*(math.cos(arc))
    --cairo_move_to (cr,hx0+mnx1,hy0+mny1)
    --cairo_line_to (cr,hx0+mnx2,hy0+mny2)
    --cairo_stroke (cr)
    --cairo_move_to (cr,hx0+mnx1,hy0+mny1)
    --cairo_line_to (cr,hx0+mnx3,hy0+mny3)
    --cairo_stroke (cr)
    --cairo_arc (cr,hx0,hy0,mnrad3,0,2*math.pi)
    --cairo_stroke (cr)
    end
    end
    And the images - comes with everything, even the red.png test image I used to "centre" the images. I archived the directory: ~/Conky/images/Mayan
    Mayan.tar.gz - Contents:
    1. ~/Conky/images/Mayan/thmb_masks.png
    2. ~/Conky/images/Mayan/sep.png
    3. ~/Conky/images/Mayan/red.png
    4. ~/Conky/images/Mayan/oct.png
    5. ~/Conky/images/Mayan/nov.png
    6. ~/Conky/images/Mayan/may.png
    7. ~/Conky/images/Mayan/mar.png
    8. ~/Conky/images/Mayan/jun.png
    9. ~/Conky/images/Mayan/jul.png
    10. ~/Conky/images/Mayan/jan.png
    11. ~/Conky/images/Mayan/full_masks.png
    12. ~/Conky/images/Mayan/feb.png
    13. ~/Conky/images/Mayan/dec.png
    14. ~/Conky/images/Mayan/aug.png
    15. ~/Conky/images/Mayan/apr.png


    OK, That's it ... my screen is full!
    Time to erase everything and start over again!

    I do hope you all had and are having a great Christmas!

  4. #15494
    Join Date
    Nov 2008
    Beans
    7
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Post your .conkyrc files w/ screenshots

    I know most Linux folk use the CLI, but I was wondering if there is a graphical method to edit and modify conky. I just loaded Pinguy OS onto one of my laptops and would like to modify the thing on the right side of my screen (which I have found out is conky). I'm not afraid to open a terminal and use it, but would prefer to just use a graphical environment.

  5. #15495
    Join Date
    Jul 2007
    Location
    Oshawa, Ontario, Canada
    Beans
    57
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Post your .conkyrc files w/ screenshots

    @Sector11: thanks for the suggestion, much appreciated. And WOW, the Mayan calendar is massive and great!

  6. #15496
    Join Date
    Apr 2007
    Beans
    195

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by alfick3 View Post
    I know most Linux folk use the CLI, but I was wondering if there is a graphical method to edit and modify conky. I just loaded Pinguy OS onto one of my laptops and would like to modify the thing on the right side of my screen (which I have found out is conky). I'm not afraid to open a terminal and use it, but would prefer to just use a graphical environment.
    Just use the text editor of your choice, or a generic IDE like Arachnophillia. There are no WYSIWYG programs for Conky. But the text editor will let you edit the code without restriction.

  7. #15497
    Join Date
    Feb 2010
    Location
    SR11 Cockpit
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by rugbeeprop View Post
    @Sector11: thanks for the suggestion, much appreciated. And WOW, the Mayan calendar is massive and great!
    Thank mrpeachy for that, I couldn't program my way out out an Oshawa snowstorm if I was freezing to death.

    I just did the images.

  8. #15498
    Join Date
    Feb 2010
    Location
    SR11 Cockpit
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by alfick3 View Post
    I know most Linux folk use the CLI, but I was wondering if there is a graphical method to edit and modify conky. I just loaded Pinguy OS onto one of my laptops and would like to modify the thing on the right side of my screen (which I have found out is conky). I'm not afraid to open a terminal and use it, but would prefer to just use a graphical environment.
    Quote Originally Posted by 42dorian View Post
    Just use the text editor of your choice, or a generic IDE like Arachnophillia. There are no WYSIWYG programs for Conky. But the text editor will let you edit the code without restriction.
    Actually that's not true ... there is a Conky GUI editor.

    ConkyGUI

  9. #15499
    Join Date
    Apr 2007
    Beans
    195

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Sector11 View Post
    Actually that's not true ... there is a Conky GUI editor.

    ConkyGUI
    That's a ConkyIDE my friend. WYSIWYG means What You See Is What You Get. meaning you drag and drop the layout and never touch the code. THAT doesn't exist for Conky. Though plenty of text editors and Independent Development Environments do.

    And of course, he was asking about a Graphical way of editing Conky that wasn't the command line. Text Editors and IDEs fit the bill nicely. I just wanted to distinguish them from something like Microsoft Frontpage, or the old Netscape WYSIWYG Web Editor environment.
    Last edited by 42dorian; December 25th, 2010 at 09:33 PM.

  10. #15500
    Join Date
    Feb 2010
    Location
    SR11 Cockpit
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by 42dorian View Post
    That's a ConkyIDE my friend. WYSIWYG means What You See Is What You Get. meaning you drag and drop the layout and never touch the code. THAT doesn't exist for Conky. Though plenty of text editors and Independent Development Environments do.

    And of course, he was asking about a Graphical way of editing Conky that wasn't the command line. Text Editors and IDEs fit the bill nicely. I just wanted to distinguish them from something like Microsoft Frontpage, or the old Netscape WYSIWYG Web Editor environment.
    Yup, you're right, I'm wrong. I remember both of those WYSIWYG editors you mentioned, and I recall looking at the code they generated once I learned how to do it without them ....

    They created a MESS that with a "million" (OK: hundreds of) useless commands that did nothing. Commands that worked when X Factor was over there and now is here. Riiiiiiiiiiight!

Page 1550 of 2291 FirstFirst ... 5501050145015001540154815491550155115521560160016502050 ... 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
  •