Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
A new thread for a new year, let's have those awesome screenshots and .conkyrc files. The previous one can be found here and it has a lot of goodies for ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864

    Post your Conky or Applets with screenshots 2013


    A new thread for a new year, let's have those awesome screenshots and .conkyrc files. The previous one can be found here and it has a lot of goodies for you all.
    http://www.linuxforums.org/forum/cof...ts-2012-a.html
    Last edited by MikeTbob; 01-30-2013 at 11:38 PM. Reason: added the . to .conkyrc
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  2. #2
    Just Joined!
    Join Date
    Jan 2013
    Posts
    7
    Conkyrc? Whats that?

  3. #3
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    It was supposed to be .conkyrc which is a config file for Conky. Change has been made to OP.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  4. #4
    Linux Guru rokytnji's Avatar
    Join Date
    Jul 2008
    Location
    Desert
    Posts
    4,037
    Quote Originally Posted by Wolfgange View Post
    Conkyrc? Whats that?
    Code:
    default_color Chartreuse
    default_outline_color Dark Cyan
    default_shade_color Dark Cyan
    alignment top_right
    background yes
    border_width 1
    cpu_avg_samples 2
    double_buffer yes
    draw_borders no
    draw_graph_borders yes
    draw_outline no
    draw_shades no
    gap_x 25
    gap_y 75
    minimum_size 6600 20
    maximum_width 330
    max_specials 512
    max_user_text 65536
    max_port_monitor_connections 64
    net_avg_samples 2
    no_buffers yes
    out_to_console no
    #own_window desktop
    #own_window_type root
    #own_window_type normal
    own_window_type override
    own_window transperant yes
    own_window_argb_value 0
    TEXT
    ${color white}${cpugraph ff0000 0000ff}
    CPU:1  ${cpu cpu1}%  $alignc${cpubar cpu1}
    CPU:2  ${cpu cpu2}%  $alignc${cpubar cpu2}
    ${color yellow}$nodename ${alignc}$sysname $kernel ${alignr}$color${time %l:%M:%p}
    ${color yellow}HDD usage ${hr 2}$color
    Root : ${fs_free_perc /}% ${fs_bar 6 /}$color
    
    ${color red}/ ${fs_used /}/ ${fs_size /}${alignr}${fs_bar 5,120 /}
    
    ${color purple}Top Processes: PID CPU% MEM%
    $color ${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 ${top name 3} ${top pid 5} ${top cpu 5} ${top mem 5}
    ${color yellow}Hard Drive Temperature F ${exec sensors | grep 'temp1' | cut -c15-16 | awk '{print ($1*9)/5+32}'}
    ${color pink}LOGGING ${hr 2}$color
    ${execi 30 tail -n3 /var/log/messages | fold -w50}
    ${scroll 16 $nodename - $sysname $kernel on $machine | }
    $hr
    ${color red}Uptime:$color $uptime
    ${color yellow}Hard Drive Tempature C ${acpitemp}
    ${color white}${exec sensors | grep 'RPM'}
    ${execi 300 sensors | grep Core}
    ${color lightgrey}Networking:${color #00ee00}
    ETH0 ${color lightgrey} on ${color orange} ${addr eth0}
    ${color lightgrey}Down:${color #8844ee} ${downspeed eth0} k/s${color lightgrey} ${offset 80}
    ${color #0000ff}${downspeedgraph eth0  ff0000 0000ff} 
    Up:${color #22ccff} ${upspeed eth0} k/s
    ${color #22ccff}${upspeedgraph eth0  0000ff ff0000}
    Conky - Home



    Code:
    .
    #  acpifan                           ACPI fan state                           
    
    #  acpitemp                          ACPI temperature.                        
    
    #  adt746xcpu                        CPU temperature from therm_adt746x       
    
    #  adt746xfan                        Fan speed from therm_adt746x             
    
    #  battery           (num)           Remaining capasity in ACPI or APM        
    
    #                                    battery. ACPI battery number can be      
    
    #                                    given as argument (default is BAT0).     
    
    #  buffers                           Amount of memory buffered                
    
    #  cached                            Amount of memory cached                  
    
    #  color             (color)         Change drawing color to color            
    
    #  cpu                               CPU usage in percents                    
    
    #  cpubar            (height)        Bar that shows CPU usage, height is      
    
    #                                    bar's height in pixels                   
    
    #  downspeed         net             Download speed in kilobytes              
    
    #  downspeedf        net             Download speed in kilobytes with one     
    
    #                                    decimal                                  
    
    #  exec              shell command   Executes a shell command and displays    
    
    #                                    the output in torsmo. warning: this      
    
    #                                    takes a lot more resources than other    
    
    #                                    variables. I'd recommend coding wanted   
    
    #                                    behaviour in C and posting a patch :-).  
    
    #  execi             interval, shell Same as exec but with specific interval. 
    
    #                    command         Interval can't be less than              
    
    #                                    update_interval in configuration.        
    
    #  fs_bar            (height), (fs)  Bar that shows how much space is used on 
    
    #                                    a file system. height is the height in   
    
    #                                    pixels. fs is any file on that file      
    
    #                                    system.                                  
    
    #  fs_free           (fs)            Free space on a file system available    
    
    #                                    for users.                               
    
    #  fs_free_perc      (fs)            Free percentage of space on a file       
    
    #                                    system available for users.              
    
    #  fs_size           (fs)            File system size                         
    
    #  fs_used           (fs)            File system used space                   
    
    #  hr                (height)        Horizontal line, height is the height in 
    
    #                                    pixels                                   
    
    #  i2c               (dev), type, n  I2C sensor from sysfs (Linux 2.6). dev   
    
    #                                    may be omitted if you have only one I2C  
    
    #                                    device. type is either in (or vol)       
    
    #                                    meaning voltage, fan meaning fan or temp 
    
    #                                    meaning temperature. n is number of the  
    
    #                                    sensor. See /sys/bus/i2c/devices/ on     
    
    #                                    your local computer.                     
    
    #  kernel                            Kernel version                           
    
    #  loadavg           (1), (2), (3)   System load average, 1 is for past 1     
    
    #                                    minute, 2 for past 5 minutes and 3 for   
    
    #                                    past 15 minutes.                         
    
    #  machine                           Machine, i686 for example                
    
    #  mails                             Mail count in mail spool. You can use    
    
    #                                    program like fetchmail to get mails from 
    
    #                                    some server using your favourite         
    
    #                                    protocol. See also new_mails.            
    
    #  mem                               Amount of memory in use                  
    
    #  membar            (height)        Bar that shows amount of memory in use   
    
    #  memmax                            Total amount of memory                   
    
    #  memperc                           Percentage of memory in use              
    
    #  new_mails                         Unread mail count in mail spool.         
    
    #  nodename                          Hostname                                 
    
    #  outlinecolor      (color)         Change outline color                     
    
    #  pre_exec          shell command   Executes a shell command one time before 
    
    #                                    torsmo displays anything and puts output 
    
    #                                    as text.                                 
    
    #  processes                         Total processes (sleeping and running)   
    
    #  running_processes                 Running processes (not sleeping),        
    
    #                                    requires Linux 2.6                       
    
    #  shadecolor        (color)         Change shading color                     
    
    #  stippled_hr       (space),        Stippled (dashed) horizontal line        
    
    #                    (height)        
    
    #  swapbar           (height)        Bar that shows amount of swap in use     
    
    #  swap                              Amount of swap in use                    
    
    #  swapmax                           Total amount of swap                     
    
    #  swapperc                          Percentage of swap in use                
    
    #  sysname                           System name, Linux for example           
    
    #  time              (format)        Local time, see man strftime to get more 
    
    #                                    information about format                 
    
    #  totaldown         net             Total download, overflows at 4 GB on     
    
    #                                    Linux with 32-bit arch and there doesn't 
    
    #                                    seem to be a way to know how many times  
    
    #                                    it has already done that before torsmo   
    
    #                                    has started.                             
    
    #  totalup           net             Total upload, this one too, may overflow 
    
    #  updates                           Number of updates (for debugging)        
    
    #  upspeed           net             Upload speed in kilobytes                
    
    #  upspeedf          net             Upload speed in kilobytes with one       
    # stuff after 'TEXT' will be formatted on screen
    ##TEXT
    
    background yes
    use_xft yes
    xftfont Sans:size=8
    xftalpha 1
    update_interval 1.0
    total_run_times 0
    own_window yes
    own_window_transparent yes
    own_window_type desktop
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    double_buffer yes
    minimum_size 250 250
    maximum_width 200
    draw_shades yes
    draw_outline no
    draw_borders no
    draw_graph_borders yes
    #default_color white
    #default_color FFFF00
    #default_color C0C0C0
    #default_color F5F5F5
    #default_color FF69B4
    #default_color black
    default_color grey
    #default_color red
    #default_color tan2
    #default_color dimgrey
    #default_color CCCC33
    #default_color 800000
    #default_color 99FF99
    #default_color 99FFFF
    default_shade_color black
    default_outline_color white
    #alignment top_right
    alignment top_left
    gap_x 12
    gap_y 80
    no_buffers yes
    uppercase no
    cpu_avg_samples 2
    override_utf8_locale no
    
    TEXT
    ${font sans-serif:bold:size=8}LINUX BIKER AntiX 8.5 Fluxbox
    ${font sans-serif:bold:size=8}SYSTEM ${hr 2}
    ${font sans-serif:normal:size=8}$sysname $kernel $alignr $machine
    Host:$alignr$nodename
    Time: ${time %a %d %b %l:%M:%S%p}
    Uptime:$alignr$uptime
    File System: $alignr${fs_type}
    Weather: ${execi 300 /home/harry/.weather.sh 79772}
    Battery: ${battery_bar 8,80 BAT0} ${execi 1 /home/harry/.battery.sh}
    LAPPY TEMP:  ${acpitemp}c
    ${font sans-serif:bold:size=8}PROCESSORS ${hr 2}
    ${font sans-serif:normal:size=8}${cpugraph cpu1 ff0000 0000ff}
    CPU1: ${cpu cpu1}% ${cpubar cpu1}
    
    ${font sans-serif:bold:size=8}MEMORY ${hr 2}
    ${font sans-serif:normal:size=8}RAM $alignc $mem / $memmax $alignr $memperc%
    $membar
    ${font sans-serif:bold:size=8}DISKS ${hr 2}
    ${font sans-serif:normal:size=8}/ $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_used_perc /}%
    ${fs_bar /}
    ${font sans-serif:normal:size=8}/home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_used_perc /home}%
    ${fs_bar /home}
    SWAP $alignc ${swap} / ${swapmax} $alignr ${swapperc}%
    ${swapbar}
    ${font sans-serif:bold:size=8}TOP PROCESSES ${hr 2}
    ${font sans-serif:normal:size=8}${top_mem name 1}${alignr}${top mem 1} %
    ${top_mem name 2}${alignr}${top mem 2} %
    $font${top_mem name 3}${alignr}${top mem 3} %
    $font${top_mem name 4}${alignr}${top mem 4} %
    $font${top_mem name 5}${alignr}${top mem 5} %
    
    ${font sans-serif:bold:size=8}NETWORK ${hr 2}
    ${color}link strength: ${color} ${wireless_link_bar  wlan0}
    #${font sans-serif:normal:size=8}IP address: $alignr ${addr wlan0}
    #ESSID: $alignr ${wireless_essid wlan0}
    Connection quality: $alignr ${wireless_link_qual_perc wlan0}%
    ${downspeedgraph wlan0 ff0000 0000ff}
    DLS:${downspeed wlan0} kb/s $alignr total: ${totaldown wlan0}
    ${upspeedgraph wlan0 ff0000 0000ff}
    ULS:${upspeed wlan0} kb/s $alignr total: ${totalup wlan0}
    Last edited by rokytnji; 01-31-2013 at 03:39 AM.
    Linux Registered User # 475019
    Lead,Follow, or get the heck out of the way. I Have a Masters in Raising Hell
    Tech Books
    Free Linux Books
    Newbie Guide
    Courses at Home

  5. #5
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    Yeah, what he said!

    Nice first post Roky.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  6. #6
    Linux Guru rokytnji's Avatar
    Join Date
    Jul 2008
    Location
    Desert
    Posts
    4,037
    Puppy Linux



    Thread on figuring out how to make your Puppy look like mine at
    Puppy Linux Discussion Forum :: View topic - Conky With Lua

    For everyone else
    Bionic Conky GNOME-Look.org

    I have gotten this conky to work in Fluxbox,XFCE and Icewm Window Managers also in other Linux distros.
    Linux Registered User # 475019
    Lead,Follow, or get the heck out of the way. I Have a Masters in Raising Hell
    Tech Books
    Free Linux Books
    Newbie Guide
    Courses at Home

  7. #7
    Linux Guru rokytnji's Avatar
    Join Date
    Jul 2008
    Location
    Desert
    Posts
    4,037
    Attachment 4851

    AntiX 64 bit. Fluxbox . Original Author

    notifyOSD conky by ~BigRZA on deviantART

    I modified it after download. My .conkyrc for you english speakers

    Code:
    ######################
    # - Conky settings - #
    ######################
    update_interval 1
    total_run_times 0
    net_avg_samples 1
    cpu_avg_samples 1
    
    imlib_cache_size 0
    double_buffer yes
    no_buffers yes
    
    #####################
    # - Text settings - #
    #####################
    use_xft yes
    xftfont Ubuntu:size=9
    override_utf8_locale yes
    text_buffer_size 2048
    
    #############################
    # - Window specifications - #
    #############################
    own_window_class Conky
    own_window yes
    own_window_type override
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    #own_window_argb_visual yes
    #own_window_argb_value 100
    
    alignment tl
    gap_x -2
    gap_y 180
    minimum_size 350 300
    
    
    default_bar_size 60 8
    
    #########################
    # - Graphics settings - #
    #########################
    draw_shades no
    
    default_color efefef
    default_shade_color 1d1d1d
    color0 ffffff
    color1 ffffff
    color2 ffffff
    
    
    #lua_load ~/.conky/conkybg.lua
    #lua_draw_hook_pre conky_draw_bg
    
    TEXT
    ${voffset 5}
    ${goto 92}CPU1  Perc used: ${font Ubuntu:style=Bold:size=9}${color1}${cpu cpu1}%${font}${color} ${alignr 15}Temp: ${color1}${font Ubuntu:style=Bold:size=9}${color1}${execi 30 sensors | grep 'Core0' | cut -c15-16}°C${color}${font}  
    
    ${goto 92}CPU2  Perc used: ${font Ubuntu:style=Bold:size=9}${color1}${cpu cpu2}%${font}${color} ${alignr 15}Temp: ${font Ubuntu:style=Bold:size=9}${color1}${execi 30 sensors | grep 'Core1' | cut -c15-16}°C${color}${font}  
    
    ${goto 92}BATT:${color}${battery_percent BAT1}% ${battery_time BAT1}
    #${goto 92}WEATHER:${execi 300 /home/harry/.weather.sh 79772}
    ${goto 92}RAM:${color1} ${font Ubuntu:style=Bold:size=9}${memperc}%${font}${color}${font Ubuntu:style=Bold:size=9}${font}     Free: ${font Ubuntu:style=Bold:size=9}${color2}${memeasyfree}${color} ${font}${alignr 22}Used: ${font Ubuntu:style=Bold:size=9}${color2}${mem}${color}${font}
    
    ${goto 92}HDD:${color1} ${font Ubuntu:style=Bold:size=9}${fs_used_perc /home}%${font}${color}     Free: ${color2}${font Ubuntu:style=Bold:size=9}${fs_free /home}${color}${font} ${alignr 22}Used: ${font Ubuntu:style=Bold:size=9}${color2}${fs_used /home}${color}${font}
    ${goto 92}HDD:${color1} ${font Ubuntu:style=Bold:size=9}${fs_used_perc /}%${font}${color}   Free: ${color2}${font Ubuntu:style=Bold:size=9}${fs_free /}${color}${font} ${alignr 22}                 Used: ${font Ubuntu:style=Bold:size=9}${color2}${fs_used /}${color}${font}
    
    ${if_up wlan0}
    ${voffset -4}${goto 92}${voffset -6}Upload: ${font Ubuntu:style=Bold:size=9}${color1}${upspeed wlan0}${color}${font} ${goto 230}Total Up: ${font Ubuntu:style=Bold:size=9}${color2}${totalup wlan0}${color}${font}
    ${voffset 4}${goto 92}Signal:   ${font Ubuntu:style=Bold:size=9}${color1}${wireless_link_qual wlan0}%${color}${font} ${alignr 15}
    ${voffset 4}${goto 92}Down:   ${font Ubuntu:style=Bold:size=9}${color1}${downspeed wlan0}${color}${font} ${goto 230}Total Down: ${font Ubuntu:style=Bold:size=9}${color2}${totaldown wlan0}${color}${font}
    
    
    
    # |--ETH0
    ${else}${if_up eth0}
    ${voffset -13}${color0}${font VariShapes Solid:size=14}q${font}${color}${goto 92}${voffset -6}Up: ${font Ubuntu:style=Bold:size=9}${color1}${upspeed eth0}${color}${font} ${alignr 15}${color2}${upspeedgraph eth0 8,60 92B6F1 CCDFFF}${color}
    ${goto 92}Insgesamt: ${color2}${totalup eth0}${color}
    ${voffset -2}${color0}${font VariShapes Solid:size=14}Q${font}${color}${goto 92}${voffset -6}Down: ${font Ubuntu:style=Bold:size=9}${color1}${downspeed eth0}${color}${font} ${alignr 15}${color2}${downspeedgraph eth0 8,60 92B6F1 CCDFFF}${color}
    ${goto 92}Insgesamt: ${color2}${totaldown eth0}${color}
    ${voffset -2}${color0}${font Poky:size=13}w${font}${color}${goto 92}${voffset -4}Lokale IP: ${alignr 15}${color2}${addr eth0}${color}
    ${goto 92}Öffentliche IP: ${alignr 15}${color2}${execi 10800 ~/.conkycolors/bin/conkyIp}${color}
    # |--PPP0
    ${endif}${else}${if_up ppp0}
    ${voffset -13}${color0}${font VariShapes Solid:size=14}q${font}${color}${goto 92}${voffset -6}Up: ${font Ubuntu:style=Bold:size=9}${color1}${upspeed ppp0}${color}${font} ${alignr 15}${color2}${upspeedgraph ppp0 8,60 92B6F1 CCDFFF}${color}
    ${goto 92}Insgesamt: ${color2}${totalup ppp0}${color}
    ${voffset -2}${color0}${font VariShapes Solid:size=14}Q${font}${color}${goto 92}${voffset -6}Down: ${font Ubuntu:style=Bold:size=9}${color1}${downspeed ppp0}${color}${font} ${alignr 15}${color2}${downspeedgraph ppp0 8,60 92B6F1 CCDFFF}${color}
    ${goto 92}Insgesamt: ${color2}${totaldown ppp0}${color}
    ${voffset -2}${color0}${font Poky:size=13}w${font}${color}${goto 92}${voffset -4}Lokale IP: ${alignr 15}${color2}${addr ppp0}${color}
    ${endif}${else}${voffset 4}${color0}${font PizzaDude Bullets:size=12}4${font}${color}${goto 92}Netzwerk nicht verfügbar${endif}${endif}
    
    ${image ~/.conky/base.png -p 10,0 -s 339x86}${image ~/.conky/base.png -p 10,146 -s 339x86}${image ~/.conky/base.png -p 10,73 -s 339x86}${image ~/.conky/Task_Manager.png -p 32,20 -s 45x45}${image ~/.conky/Memory.png -p 32,93 -s 45x45}${image ~/.conky/wlan100.png -p 32,166 -s 45x45}
    You'll still need the original zip to use the .conky folder that has the images stored in it.
    Linux Registered User # 475019
    Lead,Follow, or get the heck out of the way. I Have a Masters in Raising Hell
    Tech Books
    Free Linux Books
    Newbie Guide
    Courses at Home

  8. #8
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Nice one, roky... that wallpaper is especially nifty looking!
    oz

  9. #9
    Just Joined! Sector11's Avatar
    Join Date
    Aug 2012
    Location
    With my wife.
    Posts
    23
    VSIDO - Debian SID - OpenBox, Tint2, and Conkys

    Clean --> Used a bit -->

    Requires: conkyEmail and conkyMisc
    NOTE: Hardy version works with every debian based distro. They are only python scripts.

    Main font used: monofur - the sexiest little mono font out there. (OK, that's an opinion!)

    Top Conky:
    Code:
    # ggsia /media/5/Conky/S11_VSIDO_v9.conkyrc &
    # killall conky && conky -c /media/5/Conky/S11_VSIDO_v9.conkyrc &
    # Thank you:
    # Original by: VastOne on: VSIDO
    # v9000 LUA weather - mrpeachy
    # background - londonali1010, mrpeachy, dk75
    ###  Begin Window Settings  ##################################################
    # Create own window instead of using desktop (required in nautilus)
    own_window yes
    own_window_type normal
    own_window_transparent yes
    own_window_hints undecorated,below,skip_taskbar,skip_pager
    #own_window_colour 000000
    own_window_class Conky
    own_window_title S11 VSIDO v9
    
    # Use the Xdbe extension? (eliminates flicker)
    # It is highly recommended to use own window with this one
    # so double buffer won't be so big.
    double_buffer yes
    
    ### ARGB can be used for real transparency
    ### NOTE that a composite manager is required for real transparency.
    ### This option will not work as desired (in most cases) in conjunction with
    ### own_window_type normal
    # own_window_argb_visual yes
    
    ### When ARGB visuals are enabled, this use this to modify the alpha value
    ### Use: own_window_type normal
    ### Use: own_window_transparent no
    ### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
    # own_window_argb_value 0
    
    minimum_size 1265 0  ## width, height
    #maximum_width 1250     ## width
    
    gap_x 5        ### left &right
    gap_y 5        ### up & down
    
    alignment tl #ml
    ####################################################  End Window Settings  ###
    ###  Font Settings  ##########################################################
    # Use Xft (anti-aliased font and stuff)
    use_xft yes
    #xftfont CorporateMonoExtraBold:size=9
    xftfont monofur:bold:size=12
    # X font when Xft is disabled, you can pick one with program xfontsel
    #font 5x7
    #font 6x10
    #font 7x13
    #font 8x13
    #font 9x15
    #font *mintsmild.se*
    #font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
    
    # Alpha of Xft font. Must be a value at or between 1 and 0 ###
    xftalpha 1
    # Force UTF8? requires XFT ###
    override_utf8_locale yes
    
    uppercase no
    ######################################################  End Font Settings  ###
    ###  Color Settings  #########################################################
    draw_shades yes
    default_shade_color 000000
    
    draw_outline no # amplifies text if yes
    default_outline_color 000000
    
    default_color DCDCDC #220 220 220  Gainsboro
    color0 F8F8FF #248 248 255  GhostWhite
    color1 F0FFFF #240 255 255  Azure
    color2 FF8C00 #255 140   0  DarkOrange
    color3 7FFF00 #127 255   0  Chartreuse
    color4 FFA07A #255 160 122  LightSalmon
    color5 FFDEAD #255 222 173  NavajoWhite
    color6 00BFFF #  0 191 255  DeepSkyBlue
    color7 00FFFF #  0 255 255  Cyan
    color8 FFFF00 #255 255   0  Yellow
    color9 FF0000 #255   0   0  Red
    #####################################################  End Color Settings  ###
    ###  Borders Section  ########################################################
    draw_borders no
    # Stippled borders?
    stippled_borders 0
    # border margins
    border_inner_margin 3
    border_outer_margin 0
    # border width
    border_width 0
    # graph borders
    draw_graph_borders yes #no
    #default_graph_size 15 40
    #####################################################  End Borders Secton  ###
    ###  Miscellaneous Section  ##################################################
    # Boolean value, if true, Conky will be forked to background when started.
    background yes
    
    # Adds spaces around certain objects to stop them from moving other things
    # around, this only helps if you are using a mono font
    # Options: right, left or none
    use_spacer none
    
    # Default and Minimum size is 256 - needs more for single commands that
    # "call" a lot of text IE: bash scripts
    text_buffer_size 256
    
    # Subtract (file system) buffers from used memory?
    no_buffers yes
    
    # change GiB to G and MiB to M
    short_units yes
    
    # Like it says, ot pads the decimals on % values
    # doesn't seem to work since v1.7.1
    pad_percents 2
    
    # If enabled, values which are in bytes will be printed in human readable
    # format (i.e., KiB, MiB, etc). If disabled, bytes is printed instead
    format_human_readable yes
    
    # Shortens units to a single character (kiB->k, GiB->G, etc.). Default is off.
    short_units yes
    
    #   Maximum size of user text buffer, i.e. layout below TEXT line in config file
    #  (default is 16384 bytes)
    # max_user_text 16384
    
    # Desired output unit of all objects displaying a temperature. Parameters are
    # either "fahrenheit" or "celsius". The default unit is degree Celsius.
    # temperature_unit Fahrenheit
    
    ##############################################  End Miscellaneous Section  ###
    ###  LUA Settings  ###########################################################
    ### draw-bg.lua ##############################################################
    #lua_load /media/5/Conky/LUA/draw-bg.lua
    #TEXT
    # ${lua conky_draw_bg 125 0 0 0 0 0x000000 0.2}
    # ============================================================================
    ## OR Both above TEXT - No composite manager required.
    # ----------------------------------------------------------------------------
    lua_load /media/5/Conky/LUA/draw-bg.lua
    lua_draw_hook_pre draw_bg 30 0 0 0 0 0x000000 0.1
    # TEXT
    ########################################################## end draw-bg.lua ###
    ### V9000 ####################################################################
    #starts the lua weather data gathering function, call once at top of conkyrc
     lua_load ~/v9000/v9000.lua
     lua_draw_hook_post weather
     lua_load /media/5/Conky/templates/VSIDO-v9-template.lua
    #################################################################### V9000 ###
    #######################################################  End LUA Settings  ###
    TEXT
           ${color1}Kernel ${color}${kernel}\
     ${color1}MEM${color}${if_match ${memperc}<10}  ${memperc}\
    ${else}${if_match ${memperc}<100} ${memperc}\
    ${else}${memperc}${endif}${endif}%\
     (${mem})\
     ${color1}MB${color}${if_match ${platform f71882fg.2560 temp 2}<100} ${platform f71882fg.2560 temp 2}\
    ${else}${platform f71882fg.2560 temp 2}${endif}°\
     ${color1}HD${color}${if_match ${execi 5 hddtemp -n /dev/sda}<100} ${execi 5 hddtemp -n /dev/sda}\
    ${else}${execi 5 hddtemp -n /dev/sda}${endif}°\
     ${color1}GPU${color}${if_match ${nvidia temp}<100} ${nvidia temp}\
    ${else}${nvidia temp}${endif}°
           ${color1}NET Dn: ${color}${downspeedgraph eth0 12,150 00ff00 ff0000 -t -l}     ${color1}Up:${color} ${upspeedgraph eth0 12,150 ff0000 00ff00 -t -l}  ${color1}Uptime${color} ${uptime_short}
           ${color1}CPU: 1${color}${if_match ${cpu cpu1}<10}  ${cpu cpu1}\
    ${else}${if_match ${cpu cpu1}<100} ${cpu cpu1}\
    ${else}${cpu cpu1}${endif}${endif}${color1}%${color}\
      ${color1}2${color}${if_match ${cpu cpu2}<10}  ${cpu cpu2}\
    ${else}${if_match ${cpu cpu2}<100} ${cpu cpu2}\
    ${else}${cpu cpu2}${endif}${endif}${color1}%${color}\
      ${color1}3${color}${if_match ${cpu cpu3}<10}  ${cpu cpu3}\
    ${else}${if_match ${cpu cpu3}<100} ${cpu cpu3}\
    ${else}${cpu cpu3}${endif}${endif}${color1}%${color}\
      ${color1}4${color}${if_match ${cpu cpu0}<10}  ${cpu cpu0}\
    ${else}${if_match ${cpu cpu0}<100} ${cpu cpu0}\
    ${else}${cpu cpu0}${endif}${endif}${color1}%${color}\
      ${color1}CPU${color}${if_match ${platform f71882fg.2560 temp 1}<100} ${platform f71882fg.2560 temp 1}\
    ${else}${platform f71882fg.2560 temp 1}${endif}°\
      ${color1}VRX${color}·06  26·05·${color1}${exec conkyDaysDiff 20130526}  ${color}06·${color1}${exec conkyDaysDiff 20130606}  ${color}12·${color1}${exec conkyDaysDiff 20130612}${color}
    VSIDO-v9-template.lua (weather) v9000 LUA required
    Code:
    --[[
     The latest script is a lua only weather script. aka: v9000
     http://crunchbanglinux.org/forums/topic/16100/weather-in-conky/
    
     the file:
     http://dl.dropbox.com/u/19008369/current%20v9000/v9000.tar.gz
    
     mrppeachys LUA Tutorial
     http://crunchbanglinux.org/forums/topic/17246/how-to-using-lua-scripts-in-conky/
    ]]
    _G.weather_script = function()--#### DO NOT EDIT THIS LINE ##############
    --these tables hold the coordinates for each repeat do not edit #########
    top_left_x_coordinate={}--###############################################
    top_left_y_coordinate={}--###############################################
    --#######################################################################
    --SET DEFAULTS ##########################################################
    --set defaults do not localise these defaults if you use a seperate display script
    -- default_font="CorporateMonoExtraBold"--font must be in quotes
    -- default_font_size=10
    default_font="monofur"--font must be in quotes
    default_font_size=12
    default_color=0xDCDCDC --Gainsboro
    default_alpha=1--fully opaque
    default_image_width=20
    default_image_height=20
    -- ## New Options ###
    default_face="bold"
    -- "normal" for normal/normal
    -- "bold" for normal/bold
    -- "italic" for italic/normal
    -- "bolditalic" for italic/bold
    --END OF DEFAULTS #######################################################
    --START OF WEATHER CODE -- START OF WEATHER CODE -- START OF WEATHER CODE
    
    datax=660
    dataxx=55
    dataxx1=dataxx+30
    
    datay1=13
    datay2=25
    datay3=40
    datay4=55
    
    
    imgx=677
    imgx1=55 -- (imgx1*1)
    
    -- out({,a=1,x=6,y=50,txt="cpu:"..conky_parse("${cpu}")})
    -- VSIDO ICON ORB
    image({w=55,h=55,x=0,y=2,file="/media/5/Conky/images/RCAF-Roundel.png"})
    image({w=3,h=55,x=648,y=3,file="/media/5/Conky/images/skyblue_1.png"})
    
    -- today
     out({c=0x000000,a=1,x=datax+1,y=datay1+1,txt=forecast_day_short[1]})
    out({a=1,x=datax,y=datay1,txt=forecast_day_short[1]})
     out({c=0x000000,a=1,x=datax+31,y=datay1+1,txt=forecast_date[1]})
    out({a=1,x=datax+30,y=datay1,txt=forecast_date[1]})
      image({x=imgx,y=17,h=25,w=25,file=weather_icon[1]})
    --image({x=imgx,y=17,h=25,w=25,file="/media/5/Conky/images/red+x.png"})
     out({c=0x000000,a=1,x=datax+1,y=datay2+1,txt=high_temp[1]})
    out({c=0xFF8C00,a=1,x=datax,y=datay2,txt=high_temp[1]})
     out({c=0x000000,a=1,x=datax+1,y=datay3+1,txt=low_temp[1]})
    out({c=0x00BFFF,a=1,x=datax,y=datay3,txt=low_temp[1]})
    
     out({c=0x000000,a=1,x=datax+dataxx+1,y=datay1+1,txt="Current"})
    out({a=1,x=datax+dataxx,y=datay1,txt="Current"})
     out({c=0x000000,a=1,x=datax+dataxx+1,y=datay2+1,txt=now["temp"]})
    out({c=0x00CED1,a=1,x=datax+dataxx,y=datay2,txt=now["temp"]})
     out({c=0x000000,a=1,x=datax+dataxx+1,y=datay3+1,txt=now["feels_like"]})
    out({c=0xFFDEAD,a=1,x=datax+dataxx,y=datay3,txt=now["feels_like"]})
      image({x=imgx+(imgx1*1),y=17,h=25,w=25,file=now["weather_icon"]})
    --image({x=imgx+(imgx1*1),y=17,h=25,w=25,file="/media/5/Conky/images/red+x.png"})
    
     out({c=0x000000,a=1,x=datax+dataxx*2+1,y=datay1+1,txt=forecast_day_short[2]})
    out({a=1,x=datax+dataxx*2,y=datay1,txt=forecast_day_short[2]})
     out({c=0x000000,a=1,x=datax+dataxx*2+31,y=datay1+1,txt=forecast_date[2]})
    out({a=1,x=datax+dataxx*2+30,y=datay1,txt=forecast_date[2]})
      image({x=imgx+(imgx1*2),y=17,h=25,w=25,file=weather_icon[2]})
    --image({x=imgx+(imgx1*2),y=17,h=25,w=25,file="/media/5/Conky/images/red+x.png"})
     out({c=0x000000,a=1,x=datax+dataxx*2+1,y=datay2+1,txt=high_temp[2]})
    out({c=0xFF8C00,a=1,x=datax+dataxx*2,y=datay2,txt=high_temp[2]})
     out({c=0x000000,a=1,x=datax+dataxx*2+1,y=datay3+1,txt=low_temp[2]})
    out({c=0x00BFFF,a=1,x=datax+dataxx*2,y=datay3,txt=low_temp[2]})
    
     out({c=0x000000,a=1,x=datax+dataxx*3+1,y=datay1+1,txt=forecast_day_short[3]})
    out({a=1,x=datax+(dataxx*3),y=datay1,txt=forecast_day_short[3]})
     out({c=0x000000,a=1,x=datax+dataxx*3+30+1,y=datay1+1,txt=forecast_date[3]})
    out({a=1,x=datax+(dataxx*3+30),y=datay1,txt=forecast_date[3]})
      image({x=imgx+(imgx1*3),y=17,h=25,w=25,file=weather_icon[3]})
    --image({x=imgx+(imgx1*3),y=17,h=25,w=25,file="/media/5/Conky/images/red+x.png"})
     out({c=0x000000,a=1,x=datax+dataxx*3+1,y=datay2+1,txt=high_temp[3]})
    out({c=0xFF8C00,a=1,x=datax+(dataxx*3),y=datay2,txt=high_temp[3]})
     out({c=0x000000,a=1,x=datax+dataxx*3+1,y=datay3+1,txt=low_temp[3]})
    out({c=0x00BFFF,a=1,x=datax+(dataxx*3),y=datay3,txt=low_temp[3]})
    
     out({c=0x000000,a=1,x=datax+dataxx*4+1,y=datay1+1,txt=forecast_day_short[4]})
    out({a=1,x=datax+(dataxx*4),y=datay1,txt=forecast_day_short[4]})
     out({c=0x000000,a=1,x=datax+dataxx*4+30+1,y=datay1+1,txt=forecast_date[4]})
    out({a=1,x=datax+(dataxx*4+30),y=datay1,txt=forecast_date[4]})
      image({x=imgx+(imgx1*4),y=17,h=25,w=25,file=weather_icon[4]})
    --image({x=imgx+(imgx1*4),y=17,h=25,w=25,file="/media/5/Conky/images/red+x.png"})
     out({c=0x000000,a=1,x=datax+dataxx*4+1,y=datay2+1,txt=high_temp[4]})
    out({c=0xFF8C00,a=1,x=datax+(dataxx*4),y=datay2,txt=high_temp[4]})
     out({c=0x000000,a=1,x=datax+dataxx*4+1,y=datay3+1,txt=low_temp[4]})
    out({c=0x00BFFF,a=1,x=datax+(dataxx*4),y=datay3,txt=low_temp[4]})
    
     out({c=0x000000,a=1,x=datax+dataxx*5+1,y=datay1+1,txt=forecast_day_short[5]})
    out({a=1,x=datax+(dataxx*5),y=datay1,txt=forecast_day_short[5]})
     out({c=0x000000,a=1,x=datax+dataxx*5+31,y=datay1+1,txt=forecast_date[5]})
    out({a=1,x=datax+(dataxx*5+30),y=datay1,txt=forecast_date[5]})
      image({x=imgx+(imgx1*5),y=17,h=25,w=25,file=weather_icon[5]})
    --image({x=imgx+(imgx1*5),y=17,h=25,w=25,file="/media/5/Conky/images/red+x.png"})
     out({c=0x000000,a=1,x=datax+dataxx*5+1,y=datay2+1,txt=high_temp[5]})
    out({c=0xFF8C00,a=1,x=datax+(dataxx*5),y=datay2,txt=high_temp[5]})
     out({c=0x000000,a=1,x=datax+dataxx*5+1,y=datay3+1,txt=low_temp[5]})
    out({c=0x00BFFF,a=1,x=datax+(dataxx*5),y=datay3,txt=low_temp[5]})
    
     out({c=0x000000,a=1,x=datax+dataxx*6+1,y=datay1+1,txt=forecast_day_short[6]})
    out({a=1,x=datax+(dataxx*6),y=datay1,txt=forecast_day_short[6]})
     out({c=0x000000,a=1,x=datax+dataxx*6+30+1,y=datay1+1,txt=forecast_date[6]})
    out({a=1,x=datax+(dataxx*6+30),y=datay1,txt=forecast_date[6]})
      image({x=imgx+(imgx1*6),y=17,h=25,w=25,file=weather_icon[6]})
    --image({x=imgx+(imgx1*6),y=17,h=25,w=25,file="/media/5/Conky/images/red+x.png"})
     out({c=0x000000,a=1,x=datax+dataxx*6+1,y=datay2+1,txt=high_temp[6]})
    out({c=0xFF8C00,a=1,x=datax+(dataxx*6),y=datay2,txt=high_temp[6]})
     out({c=0x000000,a=1,x=datax+dataxx*6+1,y=datay3+1,txt=low_temp[6]})
    out({c=0x00BFFF,a=1,x=datax+(dataxx*6),y=datay3,txt=low_temp[6]})
    
     out({c=0x000000,a=1,x=datax+dataxx*7+1,y=datay1+1,txt=forecast_day_short[7]})
    out({a=1,x=datax+(dataxx*7),y=datay1,txt=forecast_day_short[7]})
     out({c=0x000000,a=1,x=datax+dataxx*7+31,y=datay1+1,txt=forecast_date[7]})
    out({a=1,x=datax+(dataxx*7+30),y=datay1,txt=forecast_date[7]})
      image({x=imgx+(imgx1*7),y=17,h=25,w=25,file=weather_icon[7]})
    --image({x=imgx+(imgx1*7),y=17,h=25,w=25,file="/media/5/Conky/images/red+x.png"})
     out({c=0x000000,a=1,x=datax+dataxx*7+1,y=datay2+1,txt=high_temp[7]})
    out({c=0xFF8C00,a=1,x=datax+(dataxx*7),y=datay2,txt=high_temp[7]})
     out({c=0x000000,a=1,x=datax+dataxx*7+1,y=datay3+1,txt=low_temp[7]})
    out({c=0x00BFFF,a=1,x=datax+(dataxx*7),y=datay3,txt=low_temp[7]})
    
     out({c=0x000000,a=1,x=datax+dataxx*8+1,y=datay1+1,txt=forecast_day_short[8]})
    out({a=1,x=datax+(dataxx*8),y=datay1,txt=forecast_day_short[8]})
     out({c=0x000000,a=1,x=datax+dataxx*8+31,y=datay1+1,txt=forecast_date[8]})
    out({a=1,x=datax+(dataxx*8+30),y=datay1,txt=forecast_date[8]})
      image({x=imgx+(imgx1*8),y=17,h=25,w=25,file=weather_icon[8]})
    --image({x=imgx+(imgx1*8),y=17,h=25,w=25,file="/media/5/Conky/images/red+x.png"})
     out({c=0x000000,a=1,x=datax+dataxx*8+1,y=datay2+1,txt=high_temp[8]})
    out({c=0xFF8C00,a=1,x=datax+(dataxx*8),y=datay2,txt=high_temp[8]})
     out({c=0x000000,a=1,x=datax+dataxx*8+1,y=datay3+1,txt=low_temp[8]})
    out({c=0x00BFFF,a=1,x=datax+(dataxx*8),y=datay3,txt=low_temp[8]})
    
     out({c=0x000000,a=1,x=datax+dataxx*9+1,y=datay1+1,txt=forecast_day_short[9]})
    out({a=1,x=datax+(dataxx*9),y=datay1,txt=forecast_day_short[9]})
     out({c=0x000000,a=1,x=datax+dataxx*9+31,y=datay1+1,txt=forecast_date[9]})
    out({a=1,x=datax+(dataxx*9+30),y=datay1,txt=forecast_date[9]})
      image({x=imgx+(imgx1*9),y=17,h=25,w=25,file=weather_icon[9]})
    --image({x=imgx+(imgx1*9),y=17,h=25,w=25,file="/media/5/Conky/images/red+x.png"})
     out({c=0x000000,a=1,x=datax+dataxx*9+1,y=datay2+1,txt=high_temp[9]})
    out({c=0xFF8C00,a=1,x=datax+(dataxx*9),y=datay2,txt=high_temp[9]})
     out({c=0x000000,a=1,x=datax+dataxx*9+1,y=datay3+1,txt=low_temp[9]})
    out({c=0x00BFFF,a=1,x=datax+(dataxx*9),y=datay3,txt=low_temp[9]})
    
     out({c=0x000000,a=10,x=datax+dataxx*10+1,y=datay1+1,txt=forecast_day_short[10]})
    out({a=10,x=datax+(dataxx*10),y=datay1,txt=forecast_day_short[10]})
     out({c=0x000000,a=10,x=datax+dataxx*10+31,y=datay1+1,txt=forecast_date[10]})
    out({a=10,x=datax+(dataxx*10+30),y=datay1,txt=forecast_date[10]})
      image({x=imgx+(imgx1*10),y=17,h=25,w=25,file=weather_icon[10]})
    --image({x=imgx+(imgx1*10),y=17,h=25,w=25,file="/media/5/Conky/images/red+x.png"})
     out({c=0x000000,a=1,x=datax+dataxx*10+1,y=datay2+1,txt=high_temp[10]})
    out({c=0xFF8C00,a=1,x=datax+(dataxx*10),y=datay2,txt=high_temp[10]})
     out({c=0x000000,a=1,x=datax+dataxx*10+1,y=datay3+1,txt=low_temp[10]})
    out({c=0x00BFFF,a=1,x=datax+(dataxx*10),y=datay3,txt=low_temp[10]})
    
    -- BOTTOM LINE
     out({c=0x000000,a=1,x=datax+1,y=datay4+1,txt="Today's Weather:"})
    out({a=1,x=datax,y=datay4,txt="Today's Weather:"})
     out({c=0x000000,a=1,x=datax+116,y=datay4+1,txt="Pressure"})
    out({a=1,x=datax+115,y=datay4,txt="Pressure"})
     out({c=0x000000,a=1,x=datax+176,y=datay4+1,txt=now["pressure_mb"].." mb"})
    out({a=1,x=datax+175,y=datay4,txt=now["pressure_mb"].." mb"})
     out({c=0x000000,a=1,x=datax+246,y=datay4+1,txt="Humidity"})
    out({a=1,x=datax+245,y=datay4,txt="Humidity"})
     out({c=0x000000,a=1,x=datax+306,y=datay4+1,txt=now["humidity"].."%"})
    out({a=1,x=datax+305,y=datay4,txt=now["humidity"].."%"})
    
     out({c=0x000000,a=1,x=datax+339,y=datay4+1,txt="Dew Point"})
    out({a=1,x=datax+338,y=datay4,txt="Dew Point"})
     out({c=0x000000,a=1,x=datax+406,y=datay4+1,txt=now["dew_point"].."°"})
    out({a=1,x=datax+405,y=datay4,txt=now["dew_point"].."°"})
       out({c=0x000000,a=1,x=datax+436,y=datay4+1,txt="UV Index"})
      out({a=1,x=datax+435,y=datay4,txt="UV Index"})
       out({c=0x000000,a=1,x=datax+496,y=datay4+1,txt=now[uv_index_num]})
      out({a=1,x=datax+495,y=datay4,txt=uv_index_num[1]})
       out({c=0x000000,a=1,x=datax+516,y=datay4+1,txt=now[uv_index_txt]})
      out({a=1,x=datax+515,y=datay4,txt=uv_index_txt[1]})
    
    -- yellow line
    --image({w=45,h=1,x=5,y=550,file="/media/5/Conky/images/yellow_1.png"})
    
    --########################################################################################
    --END OF WEATHER CODE ----END OF WEATHER CODE ----END OF WEATHER CODE ---
    --#######################################################################
    end--of weather_display function do not edit this line ##################
    --#######################################################################
    draw-bg.lua
    Code:
    --[[Background originally by londonali1010 (2009)
        ability to set any size for background mrpeachy 2011
        ability to set variables for bg in conkyrc dk75
    
      the change is that if you set width and/or height to 0
      then it assumes the width and/or height of the conky window
    
    so:
    
    Above and After TEXT  (requires a composite manager or it blinks!)
    
     lua_load ~/wea_conky/draw_bg.lua
     TEXT
     ${lua conky_draw_bg 10 0 0 0 0 0x000000 0.2}
    
    OR Both above TEXT (no composite manager required - no blinking!)
    
     lua_load ~/wea_conky/draw_bg.lua
     lua_draw_hook_pre draw_bg 10 0 0 0 0 0x000000 0.2
     TEXT
    
    Note
    ${lua conky_draw_bg 20 0 0 0 0 0x000000 0.2}
      See below:        1  2 3 4 5 6        7
    
    ${lua conky_draw_bg corner_radius x_position y_position width height color alpha}
    
    covers the whole window and will change if you change the minimum_size setting
    
    1 = 20             corner_radius
    2 = 0             x_position
    3 = 0             y_position
    3 = 0             width
    5 = 0             height
    6 = 0x000000      color
    7 = 0.4           alpha
    
    ######### calendar function ##################################################
    
    then to use it, you activate the calendar function BELOW TEXT like this
    
    ${lua luacal {settings}}
    
    #${lua luacal {x=,y=,tf="",tfs=,tc=,ta=,bf="",bfs=,bc=,ba=,hf="",hfs=,hc=,ha=,sp="",gh=,gt=,gv=,sd=}}
    #    x=x position top left
    #    y=y position top left
    #    tf=title font, eg "mono" must be in quotes
    #    tfs=title font size
    #    tc=title color
    #    ta=title alpha
    #    bf=body font, eg "mono" must be in quotes
    #    bfs=body font size
    #    bc=body color
    #    ba=body alpha
    #    hf=highlight font, eg "mono" must be in quotes
    #    hfs=highlight font size
    #    hc=highlight color
    #    ha=highlight alpha
    #    sp=spacer, eg " " or sp="0"... 0,1 or 2 spaces can help with positioning of non-monospaced fonts
    
    #    gt=gap from title to body
    #    gh=gap horizontal between columns
    #    gv=gap vertical between rows
    #    sd=start day, 0=Sun, 1=Mon
    
    #    hstyle = heading style, 0=just days, 1=date insert
    #    tdf=title date font, eg "mono" must be in quotes
    #    tdfs=title date font size
    #    tdc=title date color
    #    tda=title date alpha
    
    # test line
    -- ${lua luacal {x=10,y=100,tf="Purisa",tfs=24,tc=0xf67e16,ta=1,bf="First Order",bfs=26,bc=0xecd32a,ba=1,hf="Purisa",hfs=18,hc=0xf67e16,ha=1,sp=" ",gh=40,gt=25,gv=20,sd=0,hstyle=1,tdf="First Order",tdfs=28,tdc=0xff0000,tda=1}}
    
    
    ]]
    
    require 'cairo'
    local    cs, cr = nil
    function rgb_to_r_g_b(colour,alpha)
    return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
    end
    function conky_draw_bg(r,x,y,w,h,color,alpha)
    if conky_window == nil then return end
    if cs == nil then cairo_surface_destroy(cs) end
    if cr == nil then cairo_destroy(cr) 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)
    w=w
    h=h
    if w=="0" then w=tonumber(conky_window.width) end
    if h=="0" then h=tonumber(conky_window.height) end
    cairo_set_source_rgba (cr,rgb_to_r_g_b(color,alpha))
    --top left mid circle
    local xtl=x+r
    local ytl=y+r
    --top right mid circle
    local xtr=(x+r)+((w)-(2*r))
    local ytr=y+r
    --bottom right mid circle
    local xbr=(x+r)+((w)-(2*r))
    local ybr=(y+r)+((h)-(2*r))
    --bottom right mid circle
    local xbl=(x+r)
    local ybl=(y+r)+((h)-(2*r))
    -----------------------------
    cairo_move_to (cr,xtl,ytl-r)
    cairo_line_to (cr,xtr,ytr-r)
    cairo_arc(cr,xtr,ytr,r,((2*math.pi/4)*3),((2*math.pi/4)*4))
    cairo_line_to (cr,xbr+r,ybr)
    cairo_arc(cr,xbr,ybr,r,((2*math.pi/4)*4),((2*math.pi/4)*1))
    cairo_line_to (cr,xbl,ybl+r)
    cairo_arc(cr,xbl,ybl,r,((2*math.pi/4)*1),((2*math.pi/4)*2))
    cairo_line_to (cr,xtl-r,ytl)
    cairo_arc(cr,xtl,ytl,r,((2*math.pi/4)*2),((2*math.pi/4)*3))
    cairo_close_path(cr)
    cairo_fill (cr)
    ------------------------------------------------------------
    cairo_surface_destroy(cs)
    cairo_destroy(cr)
    return ""
    end
    -- ###### calendar function ##################################################
    function conky_luacal(caltab) -- {x=,y=,tf="",tfs=,tc=,ta=,bf="",bfs=,bc=,ba=,hf="",hfs=,hc=,ha=,sp="",gt=,gh=,gv=,sd=,hstyle=,tdf=,tdfs=,tdc=,tda=}
    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)
    --############################################################################
    if caltab.x==nil then
    caltab=loadstring("return" .. caltab)()
    end
    local cal_x=caltab.x
    local cal_y=caltab.y
    local tfont=caltab.tf		or "mono"
    local tfontsize=caltab.tfs	or 12
    local tc=caltab.tc			or 0xffffff
    local ta=caltab.ta			or 1
    local bfont=caltab.bf		or "mono"
    local bfontsize=caltab.bfs	or 12
    local bc=caltab.bc			or 0xffffff
    local ba=caltab.ba			or 1
    local hfont=caltab.hf		or "mono"
    local hfontsize=caltab.hfs	or 12
    local hc=caltab.hc			or 0xff0000
    local ha=caltab.ha			or 1
    local spacer=caltab.sp		or " "
    local gaph=caltab.gh		or 20
    local gapt=caltab.gt		or 15
    local gapl=caltab.gv		or 15
    local sday=caltab.sd		or 0
    local hstyle=caltab.hstyle	or 0
    --convert colors
    --local font=string.gsub(font,"_"," ")
    local tred,tgreen,tblue,talpha=rgb_to_r_g_b(tc,ta)
    --main body text color
    local bred,bgreen,bblue,balpha=rgb_to_r_g_b(bc,ba)
    --highlight text color
    local hred,hgreen,hblue,halpha=rgb_to_r_g_b(hc,ha)
    --############################################################################
    --calendar calcs
    local year=os.date("%G")
    local today=tonumber(os.date("%d"))
    local t1 = os.time( {    year=year,month=03,day=01,hour=00,min=0,sec=0} );
    local t2 = os.time( {    year=year,month=02,day=01,hour=00,min=0,sec=0} );
    local feb=(os.difftime(t1,t2))/(24*60*60)
    local monthdays={ 31, feb, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }
    local day=tonumber(os.date("%w"))+1-sday
    local day_num = today
    local remainder=day_num % 7
    local start_day=day-(day_num % 7)
    if start_day<0 then start_day=7+start_day end
    local month=os.date("%m")
    local mdays=monthdays[tonumber(month)]
    local x=mdays+start_day
    local dnum={}
    local dnumh={}
    if mdays+start_day<36 then
    dlen=35
    plen=29
    else
    dlen=42
    plen=36
    end
    for i=1,dlen do
        if i<=start_day then
        dnum[i]="  "
        else
        dn=i-start_day
            if dn=="nil" then dn=0 end
            if dn<=9 then dn=(spacer .. dn) end
            if i>x then dn="" end
            dnum[i]=dn
            dnumh[i]=dn
            if dn==(spacer .. today) or dn==today then
            dnum[i]=""
            end
            if dn==(spacer .. today) or dn==today then
            dnumh[i]=dn
            place=i
            else dnumh[i]="  "
            end
        end
    end--for
    cairo_select_font_face (cr, tfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
    cairo_set_font_size (cr, tfontsize);
    cairo_set_source_rgba (cr,tred,tgreen,tblue,talpha)
    local extents=cairo_text_extents_t:create()
    tolua.takeownership(extents)
    if hstyle==0 then
        if tonumber(sday)==0 then
        dys={"SU","MO","TU","WE","TH","FR","SA"}
        else
        dys={"MO","TU","WE","TH","FR","SA","SU"}
        end
        --draw calendar titles
    elseif hstyle==1 then
        if tonumber(sday)==0 then
        dys={"SU","MO"," ","  ","  ","FR","SA"}
        cairo_text_extents(cr,"MO",extents)
        local s=extents.x_advance+gaph
        local f=gaph*5
        local tdfont=caltab.tdf        or "mono"
        local tdfontsize=caltab.tdfs    or 12
        local tdc=caltab.tdc        or 0xffffff
        local tda=caltab.tda        or 1
        cairo_select_font_face (cr, tdfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
        cairo_set_font_size (cr, tdfontsize);
        local tdred,tdgreen,tdblue,tdalpha=rgb_to_r_g_b(tdc,tda)
        cairo_set_source_rgba (cr,tdred,tdgreen,tdblue,tdalpha)
        local insert=os.date("%b %y")
        cairo_text_extents(cr,insert,extents)
        local w=extents.x_advance
        cairo_move_to (cr, cal_x+((s+f)/2)-(w/2), cal_y)
        cairo_show_text (cr,insert)
        cairo_stroke (cr)
        else
        dys={"MO","TU"," ","  ","  ","SA","SU"}
        cairo_text_extents(cr,"TU",extents)
        local s=extents.x_advance+gaph
        local f=gaph*5
        local tdfont=caltab.tdf        or "mono"
        local tdfontsize=caltab.tdfs    or 12
        local tdc=caltab.tdc        or 0xffffff
        local tda=caltab.tda        or 1
        cairo_select_font_face (cr, tdfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
        cairo_set_font_size (cr, tdfontsize);
        local tdred,tdgreen,tdblue,tdalpha=rgb_to_r_g_b(tdc,tda)
        cairo_set_source_rgba (cr,tdred,tdgreen,tdblue,tdalpha)
        local insert=os.date("%b %y")
        cairo_text_extents(cr,insert,extents)
        local w=extents.x_advance
        cairo_move_to (cr, cal_x+((s+f)/2)-(w/2), cal_y)
        cairo_show_text (cr,insert)
        cairo_stroke (cr)
        end
    end
    --draw calendar titles
    for i=1,7 do
    cairo_select_font_face (cr, tfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
    cairo_set_font_size (cr, tfontsize);
    cairo_set_source_rgba (cr,tred,tgreen,tblue,talpha)
    cairo_move_to (cr, cal_x+(gaph*(i-1)), cal_y)
    cairo_show_text (cr, dys[i])
    cairo_stroke (cr)
    end
    --draw calendar body
    cairo_select_font_face (cr, bfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
    cairo_set_font_size (cr, bfontsize);
    cairo_set_source_rgba (cr,bred,bgreen,bblue,balpha)
    for i=1,plen,7 do
    local fn=i
        for i=fn,fn+6 do
        cairo_move_to (cr, cal_x+(gaph*(i-fn)),cal_y+gapt+(gapl*((fn-1)/7)))
        cairo_show_text (cr, dnum[i])
        cairo_stroke (cr)
        end
    end
    --highlight
    cairo_select_font_face (cr, hfont, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
    cairo_set_font_size (cr, hfontsize);
    cairo_set_source_rgba (cr,hred,hgreen,hblue,halpha)
    for i=1,plen,7 do
    local fn=i
        for i=fn,fn+6 do
        cairo_move_to (cr, cal_x+(gaph*(i-fn)),cal_y+gapt+(gapl*((fn-1)/7)))
        cairo_show_text (cr, dnumh[i])
        cairo_stroke (cr)
        end
    end
    --############################################################################
    caltab=nil
    dlen=nil
    plen=nil
    cairo_destroy(cr)
    cairo_surface_destroy(cs)
    cr=nil
    return ""
    end
    -- end main function #########################################################
    bottom right - Date conky:
    Code:
    # To use #! in a conky use: ${exec echo '#!'}
    # by Sector11 - 14 Aug 2011
    # killall conky && conky -c /media/5/Conky/S11_Cal_br.conky &
    
    background yes
    own_window yes
    own_window_type normal
    own_window_transparent yes
    own_window_hints undecorated,below,skip_taskbar,skip_pager
    own_window_title S11-Cal-br
    own_window_class Conky
    
    ### ARGB can be used for real transparency
    ### NOTE that a composite manager is required for real transparency.
    ### This option will not work as desired (in most cases) in conjunction with
    ### own_window_type normal
    ###  own_window_argb_visual yes
    
    ### When ARGB visuals are enabled, this use this to modify the alpha value
    ### Use: own_window_type normal
    ### Use: own_window_transparent no
    ### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
    #own_window_argb_value 140
    
    
    double_buffer yes
    use_spacer right
    
    uppercase no
    stippled_borders 0
    border_width 0
    draw_borders no
    draw_graph_borders no
    
    border_inner_margin 5
    border_outer_margin 0
    ## ============================
    draw_outline no
    default_outline_color black
    draw_shades yes #no
    default_shade_color black
    
    default_color DCDCDC #220 220 220	Gainsboro
    color0 8FBC8F #143 188 143	DarkSeaGreen
    color1 778899 #119 136 153	LightSlateGray
    color2 FF8C00 #255 140   0	DarkOrange
    color3 7FFF00 #127 255   0	Chartreuse
    color4 FFA07A #255 160 122	LightSalmon
    color5 FFDEAD #255 222 173	NavajoWhite
    color6 00BFFF #  0 191 255	DeepSkyBlue
    color7 00FFFF #  0 255 255	Cyan
    color8 FFFF00 #255 255   0	Yellow
    color9 B22222 #178  34  34	FireBrick
    ## ============================
    
    text_buffer_size 510 # 256 is minimum
    no_buffers yes
    short_units yes
    pad_percents 2
    
    imlib_cache_size 0
    gap_x 10           ## left &right
    gap_y 35         ## up & down
    
    minimum_size 240 0 ## width, height
    maximum_width 240   ## make this equal to minimum size width
    
    alignment br
    
    use_xft yes
    #xftfont Droid Sans Mono:bold:size=7
    #  xftfont Santana:bold:size=8
    xftfont WenQuanYi Macro Hei Mono:bold:size=8
    #xftfont WenQuanYi Zen Hei Mono:bold:size=8
    xftalpha 1.0
    override_utf8_locale yes
    
    ###  LUA Settings  ###########################################################
    ## Above and After TEXT
    ##
    #                     lua_load /media/5/Conky/LUA/draw-bg.lua
    ## TEXT
    ##                   ${lua conky_draw_bg 10 0 0 0 0 0x000000 0.2}
    ## ${lua conky_draw_bg corner_radius x_position y_position width height color alpha}
    ##
    ##
    ## OR Both above TEXT (No xcompmgr required - no blinking!)
    lua_load /media/5/Conky/LUA/draw-bg.lua
    #lua_draw_hook_pre draw_bg 5 0 0 0 0 0x000000 0.2
    ##
    #######################################################  End LUA Settings  ###
    
    # temperature_unit celsius  # fahrenheit or celsius
    #update_interval 43200 ## 12 hours
    update_interval 1
    
    TEXT
    ${lua conky_draw_bg 10 0 0 0 0 0x000000 0.2}\
    ${goto 60}${execpi 600 /media/5/Conky/scripts/week-2.sh}\
    ${voffset -4}${goto 5}${font Digital tech:size=25}${color7}${time %a}${goto 190}${time %b}${color}\
    ${font digitalk:bold:size=13}${goto 65}${color8}${time %C}${goto 165}${time %y}${color}${font}${voffset -12}
    week-2.sh
    Code:
    #!/bin/bash
    # By: mobilediesel
    
    font=("\${voffset -10}\${font digitalk:size=4}" "\${voffset -0}\${font digitalk:size=8}" "\${voffset -0}\${font digitalk:size=12}" "\${voffset -3}\${font digitalk:size=30}\${color 00FFFF}" "\${voffset -15}\${font digitalk:size=12}" "\${voffset -4}\${font digitalk:size=7}" "\${voffset -2}\${font digitalk:size=4}")
    color=("" "" "" "\${color}" "" "" "")
    
    for i in $(seq -3 3); do
    echo -n "${font[$[i+3]]}$(date '+%d' -d "$i days")${color[3]}\${offset 3}"
    done
    bottom centre conky: Email - Currency Exchange
    Code:
    # To use #! in a conky use: ${exec echo '#!'}
    # killall conky && conky -c /media/5/Conky/S11_Email_1.conky &
    # WARNING: Change name and passwords on e-mail code if posting!!
    
    ###  Begin Window Settings  ##################################################
    # Create own window instead of using desktop (required in nautilus)
    own_window yes
    own_window_type normal
    own_window_transparent yes
    own_window_hints undecorated,sticky,below,skip_taskbar,skip_pager
    #own_window_colour gray
    own_window_class Conky
    own_window_title Email 1 Line
    
    # Use the Xdbe extension? (eliminates flicker)
    # It is highly recommended to use own window with this one
    # so double buffer won't be so big.
    double_buffer yes
    
    ### ARGB can be used for real transparency
    ### NOTE that a composite manager is required for real transparency.
    ### This option will not work as desired (in most cases) in conjunction with
    ### own_window_type normal
    # own_window_argb_visual yes # Options: yes or no
    
    ### When ARGB visuals are enabled, this use this to modify the alpha value
    ### Use: own_window_type normal
    ### Use: own_window_transparent no
    ### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
    # own_window_argb_value 255
    
    minimum_size 610 0  ##420 420   ## width, height
    maximum_width 610     ##420       ## width
    
    gap_x 0		### left &right
    gap_y 35		### up & down
    
    alignment bm
    ####################################################  End Window Settings  ###
    ###  Font Settings  ##########################################################
    # Use Xft (anti-aliased font and stuff)
    use_xft yes
    xftfont Monofur:bold:size=12
    #xftfont White Rabbit:size=9
    
    # X font when Xft is disabled, you can pick one with program xfontsel
    #font 5x7
    #font 6x10
    #font 7x13
    #font 8x13
    #font 9x15
    #font *mintsmild.se*
    #font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
    
    # Alpha of Xft font. Must be a value at or between 1 and 0 ###
    xftalpha 1
    # Force UTF8? requires XFT ###
    override_utf8_locale yes
    
    uppercase no
    
    draw_shades yes
    default_shade_color 000000
    
    draw_outline no # amplifies text if yes
    default_outline_color 000000
    
    ######################################################  End Font Settings  ###
    ###  Color Settings  #########################################################
    
    default_color DCDCDC #220 220 220	Gainsboro
    color0 8FBC8F #143 188 143	DarkSeaGreen
    color1 778899 #119 136 153	LightSlateGray
    color2 FF8C00 #255 140   0	DarkOrange
    color3 7FFF00 #127 255   0	Chartreuse
    color4 FFA07A #255 160 122	LightSalmon
    color5 FFDEAD #255 222 173	NavajoWhite
    color6 00BFFF #  0 191 255	DeepSkyBlue
    color7 00FFFF #  0 255 255	Cyan
    color8 FFFF00 #255 255   0	Yellow
    color9 FF0000 #255   0   0	Red
    #####################################################  End Color Settings  ###
    ###  Borders Section  ########################################################
    draw_borders no
    # Stippled borders?
    stippled_borders 0
    # border margins
    border_inner_margin 5
    border_outer_margin 0
    # border width
    border_width 0
    # graph borders
    draw_graph_borders yes #no
    #default_graph_size 15 40
    #####################################################  End Borders Secton  ###
    ###  Miscellaneous Section  ##################################################
    # Boolean value, if true, Conky will be forked to background when started.
    background yes
    
    # Adds spaces around certain objects to stop them from moving other things
    # around, this only helps if you are using a mono font
    # Options: right, left or none
    use_spacer none
    
    # Default and Minimum size is 256 - needs more for single commands that
    # "call" a lot of text IE: bash scripts
    text_buffer_size 256
    
    # Subtract (file system) buffers from used memory?
    no_buffers yes
    
    # change GiB to G and MiB to M
    short_units yes
    
    # Like it says, ot pads the decimals on % values
    # doesn't seem to work since v1.7.1
    pad_percents 2
    
    # Imlib2 image cache size, in bytes. Default 4MiB Increase this value if you use
    # $image lots. Set to 0 to disable the image cache.
    
    imlib_cache_size 0
    
    #   Maximum size of user text buffer, i.e. layout below TEXT line in config file
    #  (default is 16384 bytes)
    # max_user_text 16384
    
    # Desired output unit of all objects displaying a temperature. Parameters are
    # either "fahrenheit" or "celsius". The default unit is degree Celsius.
    # temperature_unit Fahrenheit
    
    ##############################################  End Miscellaneous Section  ###
    ###  LUA Settings  ###########################################################
    ## Above and After TEXT - requires a composite manager or blinks.
    ##
    # lua_load /media/5/Conky/LUA/draw-bg.lua
    #TEXT
    # ${lua conky_draw_bg 125 0 0 0 0 0x000000 0.2}
    #
    ## ${lua conky_draw_bg corner_radius x_position y_position width height color alpha}
    ##
    ## OR Both above TEXT (No composite manager required - no blinking!)
    #
    #--------------------------------
    lua_load /media/5/Conky/LUA/draw-bg.lua
    #lua_draw_hook_pre draw_bg 20 0 0 0 0 0x000000 0.2
    #lua_draw_hook_post draw_bg 20 0 0 0 0 0x000000 0.2
    #
    # TEXT
    # ${lua conky_draw_bg 20 0 0 0 0 0x000000 0.2}
    ##
    #
    #######################################################  End LUA Settings  ###
    
    update_interval 1
    
    TEXT
    ${lua conky_draw_bg 10 0 0 0 0 0x000000 0.2}\
    Email   ${color5}C ${color7}${if_match ${execi 90 conkyEmail --servername=pop3.MAILSERVER --servertype=POP --port=### --username=USERNAME --password=MAGICWORD} == 0}\
    00${else}\
    ${if_match ${execi 90 conkyEmail --servername=pop3.MAILSERVER --servertype=POP --port=### --username=USERNAME --password=MAGICWORD} < 9}0\
    ${execi 90 conkyEmail --servername=pop3.MAILSERVER --servertype=POP --port=### --username=USERNAME --password=MAGICWORD}${else}\
    ${execi 90 conkyEmail --servername=pop3.MAILSERVER --servertype=POP --port=### --username=USERNAME --password=MAGICWORD}\
    ${endif}${endif}\
    :\
    ${if_match ${execi 90 conkyEmail --servername=MAILSERVER --servertype=POP --ssl --PORT=### --username=USERNAME --password=MAGICWORD} == 0}\
    00${else}\
    ${if_match ${execi 90 conkyEmail --servername=MAILSERVER --servertype=POP --ssl --PORT=### --username=USERNAME --password=MAGICWORD} < 10}0\
    ${execi 90 conkyEmail --servername=MAILSERVER --servertype=POP --ssl --PORT=### --username=USERNAME --password=MAGICWORD}${else}\
    ${execi 90 conkyEmail --servername=MAILSERVER --servertype=POP --ssl --PORT=### --username=USERNAME --password=MAGICWORD}\
    ${endif}${endif}\
    ${goto 170}${color5}S ${color7}${if_match ${execi 90 conkyEmail --servername=pop3.MAILSERVER --servertype=POP --port=### --username=USERNAME --password=MAGICWORD} == 0}\
    00${else}\
    ${if_match ${execi 90 conkyEmail --servername=pop3.MAILSERVER --servertype=POP --port=### --username=USERNAME --password=MAGICWORD} < 9}0\
    ${execi 90 conkyEmail --servername=pop3.MAILSERVER --servertype=POP --port=### --username=USERNAME --password=MAGICWORD}${else}\
    ${execi 90 conkyEmail --servername=pop3.MAILSERVER --servertype=POP --port=### --username=USERNAME --password=MAGICWORD}\
    ${endif}${endif}\
    :\
    ${if_match ${execi 90 conkyEmail --servername=MAILSERVER --servertype=POP --ssl --PORT=### --username=USERNAME --password=MAGICWORD} == 0}\
    00${else}\
    ${if_match ${execi 90 conkyEmail --servername=MAILSERVER --servertype=POP --ssl --PORT=### --username=USERNAME --password=MAGICWORD} < 10}0\
    ${execi 90 conkyEmail --servername=MAILSERVER --servertype=POP --ssl --PORT=### --username=USERNAME --password=MAGICWORD}${else}\
    ${execi 90 conkyEmail --servername=MAILSERVER --servertype=POP --ssl --PORT=### --username=USERNAME --password=MAGICWORD}\
    ${endif}${endif}\
    ${goto 265}${color5}D ${color6}${desktop_name}\
       ${color5}1 CAD ${color}=${color7} ${execi 1800 wget --timeout=1.0 --tries=1 -O - http://themoneyconverter.com/rss-feed/CAD/rss.xml | grep "Argentine Peso" | cut -c 40-47}\
       ${color5}1 ARS ${color}=${color7} ${execi 1800 wget --timeout=1.0 --tries=1 -O - http://themoneyconverter.com/rss-feed/ARS/rss.xml | grep "Canadian Dollar" | cut -c 39-45}

  10. #10
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    You do very well with your setups Sector11, thanks for posting.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

Page 1 of 2 1 2 LastLast

Posting Permissions

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