Page 1699 of 2325 FirstFirst ... 6991199159916491689169716981699170017011709174917992199 ... LastLast
Results 16,981 to 16,990 of 23243

Thread: Post your .conkyrc files w/ screenshots

  1. #16981
    Join Date
    Aug 2010
    Beans
    3

    Re: Post your .conkyrc files w/ screenshots

    I made one last night inspired by http://www.gnome-look.org/content/sh...content=109900

    I would like to get the weather looking better (I'm currently just using someone's perl script since I'm lazy at the moment) and try and find some way to make the cpubars and membar curve a bit, but I haven't the time at the moment.
    Attached Images Attached Images

  2. #16982
    Join Date
    Oct 2009
    Location
    Under a rock
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by SlaveExplosion View Post
    I made one last night inspired by http://www.gnome-look.org/content/sh...content=109900

    I would like to get the weather looking better (I'm currently just using someone's perl script since I'm lazy at the moment) and try and find some way to make the cpubars and membar curve a bit, but I haven't the time at the moment.
    that's nice
    ... wouldn't it be cool to get the same faded rough edges on the bars... and a similar texture to the bars as the text
    there's got to be a way with a bit of lua trickery

    @ djyoung
    good luck on the bash script!
    what little i ever knew about writing bash scripts i keep having to relearn every time i want to write one! (bash just does some things better)
    Last edited by mrpeachy; April 6th, 2011 at 01:18 AM.

  3. #16983
    Join Date
    Aug 2010
    Beans
    3

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by mrpeachy View Post
    that's nice
    ... wouldn't it be cool to get the same faded rough edges on the bars... and a similar texture to the bars as the text
    there's got to be a way with a bit of lua trickery
    Yeah, that's a good idea I have semester break shortly, I'll probably sort it all out then, I'm a conky noob though, I don't know how to do anything beyond the basics.

  4. #16984
    Join Date
    Feb 2009
    Beans
    413

    Re: Post your .conkyrc files w/ screenshots

    ddnev45 To save the current displayed image in jpg format: or are you looking to dynamically display random GoogleEarth images?
    yeah I was wanting to get it to lift a new image every say 10 mins, then my conky redraws the new image, so u have a live shot of the globe with the terminator moving over where u are just as it's dawn or sunset.
    Last edited by Arminius; April 6th, 2011 at 02:03 AM. Reason: the previous person's quote didn't come up

  5. #16985
    Join Date
    Sep 2007
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Arminius View Post
    yeah I was wanting to get it to lift a new image every say 10 mins, then my conky redraws the new image, so u have a live shot of the globe with the terminator moving over where u are just as it's dawn or sunset.
    That would be an interesting effect; if you can't do it with GoogleEarth, maybe one of those Live Earth wallpaper generators:

    Live Earth

    Quirky Earth Wallpaper

    There are plenty more, but most seem to be for Windows.
    The mark of an honest man ... is that he means what he says and knows what he means.
    A.R.

  6. #16986
    Join Date
    Sep 2008
    Location
    Louisiana, USA
    Beans
    233

    Re: Post your .conkyrc files w/ screenshots

    Nothing special, but thought I'd throw it out there.

    Code:
    # Conky, a system monitor, based on torsmo
    #
    # Any original torsmo code is licensed under the BSD license
    #
    # All code written since the fork of torsmo is licensed under the GPL
    #
    # Please see COPYING for details
    #
    # Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
    # Copyright (c) 2005-2010 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
    # All rights reserved.
    #
    # This program is free software: you can redistribute it and/or modify
    # it under the terms of the GNU General Public License as published by
    # the Free Software Foundation, either version 3 of the License, or
    # (at your option) any later version.
    #
    # This program is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    # GNU General Public License for more details.
    # You should have received a copy of the GNU General Public License
    # along with this program.  If not, see <http://www.gnu.org/licenses/>.
    #
    
    alignment bottom_right
    background yes
    border_width 1
    cpu_avg_samples 2
    default_color white
    default_outline_color black
    default_shade_color white
    draw_borders no
    draw_graph_borders no
    draw_outline yes
    draw_shades no
    use_xft yes
    xftfont Sans:size=8
    gap_x 0
    gap_y 0
    minimum_size 220 5
    net_avg_samples 2
    no_buffers yes
    out_to_console no
    out_to_stderr no
    extra_newline no
    own_window no
    own_window_class Conky
    own_window_type desktop
    stippled_borders 0
    update_interval 1.0
    uppercase no
    use_spacer none
    show_graph_scale yes
    show_graph_range no
    temperature_unit celsius
    double_buffer yes
    
    TEXT
    $alignr$uptime
    $alignr$loadavg
    ${goto 10}
    $alignc$color ${nvidia gpufreq} / ${nvidia memfreq} - ${if_match ${nvidia temp} <= 65}${color yellow}$else${color red}$endif${if_match ${nvidia temp} <= 50}${color green}$endif${nvidia temp}$color - ${exec nvidia-settings -q [fan:0]/GPUCurrentFanSpeed | grep Attribute | awk '{ print $4 }' | awk -F. '{ print $1 }'}%
    $color${freq_g 1} @ ${if_match ${cpu cpu1} <= 75}${color BA9500}$else${color D65200}$endif${if_match ${cpu cpu1} <= 50}${color A3D900}$endif${if_match ${cpu cpu1} <= 25}${color 00BA00}$endif${cpu cpu1}%$color$alignr${freq_g 2} @ ${if_match ${cpu cpu2} <= 75}${color BA9500}$else${color D65200}$endif${if_match ${cpu cpu2} <= 50}${color A3D900}$endif${if_match ${cpu cpu2} <= 25}${color 00BA00}$endif${cpu cpu2}%
    $color ${cpugraph cpu1 20,210 0000ff ff0000 -t}
    $color ${cpugraph cpu2 20,210 0000ff ff0000 -t}
    ${color grey}RAM: $color$mem - ${if_match $memperc <= 75}${color BA9500}$else${color D65200}$endif${if_match $memperc <= 50}${color A3D900}$endif${if_match $memperc <= 25}${color 00BA00}$endif$memperc% ${membar 4}
    ${color grey}Swap: $color$swap - ${if_match $swapperc <= 75}${color BA9500}$else${color D65200}$endif${if_match $swapperc <= 50}${color A3D900}$endif${if_match $swapperc <= 25}${color 00BA00}$endif$swapperc% ${swapbar 4}
    ${goto 10}
    $color${diskio_read /dev/sda}/ ${diskio_write /dev/sda}$alignr${diskio_read /dev/sdb}/ ${diskio_write /dev/sdb}
    ${color grey}/   $color${fs_used /} ${if_match ${fs_used_perc /} <= 75}${color BA9500}$else${color D65200}$endif${if_match ${fs_used_perc /} <= 50}${color A3D900}$endif${if_match ${fs_used_perc /} <= 25}${color 00BA00}${color 0033ff}$endif${fs_bar 6 /}
    ${color grey}Windows   $color${fs_used /media/Windows/} ${if_match ${fs_used_perc /media/Windows/} <= 75}${color BA9500}$else${color D65200}$endif${if_match ${fs_used_perc /media/Windows/} <= 50}${color A3D900}$endif${if_match ${fs_used_perc /media/Windows/} <= 25}${color 00BA00}${color 0033ff}$endif${fs_bar 6 /media/Windows/}
    ${color grey}External   $color${fs_used /media/External/} ${if_match ${fs_used_perc /media/External/} <= 75}${color BA9500}$else${color D65200}$endif${if_match ${fs_used_perc /media/External/} <= 50}${color A3D900}$endif${if_match ${fs_used_perc /media/External/} <= 25}${color 00BA00}$endif${fs_bar 6 /media/External/}
    ${goto 10}
    $color${upspeedgraph eth0 20,170 00aa00 aa0000 300 -t} ${upspeed eth0}
    $color${downspeedgraph eth0 20,170 0000aa aa0000 300 -t} ${downspeed eth0}
    ${goto 10}
    #${exec netstat -p | grep bummer-desktop | awk '{ print $5,$6,$7 }'}
    ${color lightgrey} ${top pid 1} ${top cpu 1} ${top mem 1} ${top name 1}
    ${color lightgrey} ${top pid 2} ${top cpu 2} ${top mem 2} ${top name 2}
    ${color lightgrey} ${top pid 3} ${top cpu 3} ${top mem 3} ${top name 3}
    ${color lightgrey} ${top pid 4} ${top cpu 4} ${top mem 4} ${top name 4}
    ${color lightgrey} ${top pid 5} ${top cpu 5} ${top mem 5} ${top name 5}
    Attached Images Attached Images
    Any advice given is the direct result of my experience solving my problems on my system. I have no idea what I'm talking about. ~bouge

  7. #16987
    Join Date
    Oct 2009
    Location
    Under a rock
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    i had to try the rough looking bars and this is what i came up with

    still needs some fine tuning i think
    here's the lua that did it
    Code:
    --[[rough bars by mrpeachy April 2011
    in conkyrc
    lua_load /path/roughbar.lua
    lua_draw_hook_post draw_fig
    ]]
    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_source_rgba (cr,1,1,1,1)
    cairo_set_line_width (cr,1)
    x,y=50,50
    r=2
    nx=0
    ny=0
    a1=80
    a2=100
    w=10
    l=200
    lw=2.5
    if updates==10 then
    xt={}
    yt={}
    for i=1,l do
    x=x+nx
    xt[i]=x
    y=y+ny
    print (y)
    if y>(y+3) and ny<0 then y=y+ny else y=y-ny end
    if y<(y-3) and ny<0 then y=y-ny else y=y+ny end
    yt[i]=y
    arc=((2*math.pi)/360)*(math.random(a1,a2))
    nx=0+r*(math.sin(arc))
    ny=0-r*(math.cos(arc))
    end--for
    end--if
    value=conky_parse("${cpu cpu0}")
    for i=1,(l*2)+1 do
    
        if i<(l+1) then
        cairo_move_to (cr,xt[i],yt[i])
        if xt[i+1]==nil then xt[i+1]=xt[i] end
        if yt[i+1]==nil then yt[i+1]=yt[i] end
        cairo_line_to (cr,xt[i+1],yt[i+1])
        elseif i==l+1 then
        cairo_move_to (cr,xt[l],yt[l])
        cairo_line_to (cr,xt[l],yt[l]+w)
        elseif i>l+1 and i<(l*2)+1 then
        cairo_move_to (cr,xt[l-(i-(l+2))],yt[l-(i-(l+2))]+w)
        if xt[l-((i+1)-(l+2))]==nil then xt[l-((i+1)-(l+2))]=xt[l-((i)-(l+2))] end
        if yt[l-((i+1)-(l+2))]==nil then yt[l-((i+1)-(l+2))]=yt[l-((i)-(l+2))] end
        cairo_line_to (cr,xt[l-((i+1)-(l+2))],yt[l-((i+1)-(l+2))]+w)
        elseif i==(l*2)+1 then
        cairo_move_to (cr,xt[1],yt[1]+w)
        cairo_line_to (cr,xt[1],yt[1])
        end
    cairo_stroke (cr)
    end
    
    for i=1,(l/100)*(tonumber(value)) do
    cairo_move_to (cr,xt[i],yt[i])
    cairo_rel_line_to (cr,0,w)
    cairo_set_line_width (cr,lw)
    cairo_set_source_rgba (cr,1,1,1,1)
    cairo_stroke (cr)
    end
    
    --#########################################################################################################
    --#########################################################################################################
    end-- if updates>5
    end-- end main function
    each time you start the conky rc the bar shape is set initially then remains the same for the rest of the time
    could easily be set to redraw the bar every now and again
    Last edited by mrpeachy; April 6th, 2011 at 06:06 AM.

  8. #16988
    Join Date
    Aug 2010
    Beans
    3

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by mrpeachy View Post
    i had to try the rough looking bars and this is what i came up with
    Nice! I will try to implement it tonight maybe. Never written in lua before, looks cool. Cheers.

  9. #16989
    Join Date
    Oct 2009
    Location
    Under a rock
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by SlaveExplosion View Post
    Nice! I will try to implement it tonight maybe. Never written in lua before, looks cool. Cheers.
    ive been thinking about that script and i can think of lots of easy ways you can beak it as it stands right now

    particularly setting the length, l, to anything other than a multiple of 100 (and then only feeding it percentage readouts)

    have fun!

  10. #16990
    Join Date
    Aug 2010
    Beans
    3

    Re: Post your .conkyrc files w/ screenshots

    I implement it fine, but I'm too unfamiliar with lua to get it to draw the other 3 cores. ^^
    If I can't figure out how to do it all in the same script I might just copy your one 3 times and change value to "${cpu cpu1}" etc, we'll see.

    It's totally cool though, definitely fits the theme

Page 1699 of 2325 FirstFirst ... 6991199159916491689169716981699170017011709174917992199 ... 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
  •