Page 2246 of 2291 FirstFirst ... 12461746214621962236224422452246224722482256 ... LastLast
Results 22,451 to 22,460 of 22903

Thread: Post your .conkyrc files w/ screenshots

  1. #22451
    Join Date
    Feb 2008
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Sector11 View Post
    You Rule, I'm older, I'm the Ruler!

    I actually went back to "Unicode UTF-8"... checking the man pages for ncal to try and figure out how to highlight a specific date in the future there were a few oopsies!:
    "It's always 'something'" - Gilda Radnor


  2. #22452
    Join Date
    Aug 2009
    Beans
    3,195
    Distro
    Ubuntu Development Release

    Re: Post your .conkyrc files w/ screenshots

    VinDSL gets all of the credit for this and paramvir for the weather. I just managed to do a little tweaking here and there. And of course the others on VinDSL's thread that helped too.

    .conkyrc.vindsl:



    Code:
    ###############################################
    ## VinDSL | rev. 12-11-19 11:55 | ver. 1.0.0 ##
    ###############################################
    ##          November 2012 Series             ##
    ###############################################
    
    ## ¡PLEASE READ THE FINE PRINT! ##
    
    ####
    ## Development Platforms (current)
    #
    #  Ubuntu 14.04 'Trusty Tahr'  (GNOME 3.8 - Conky 1.9.0-3)
    #  Screen Resolution: 1920x1200x24 (Hanns-G 28" monitor)
    #
    ## Tips n' Tricks: conky 1.8.1 will no longer be supported. RIP :)
    
    ####
    ## Prerequisites (required)
    #
    #  conky-all 1.8.0-1 or 1.9.0-3
    #  Conkywx 1.0.0 (Paramvir Likhari)
    #  UTF-8 Compatible Text Editor
    
    ####
    ## Installed fonts (required)
    #
    #  Arrows (JLH Fonts - not included in link below)
    #  ConkyWeather (Stanko Metodiev)
    #  Cut Outs for 3D FX (Fonts & Things)
    #  Droid Font Family (Google Android SDK)
    #  KR A Round (Kat's Fun Fonts)
    #  Moon Phases (Curtis Clark)
    #  OpenLogos (Icoma)
    #  PizzaDude Bullets (Jakob Fischer)
    #  Radio Space (Iconian Fonts)
    #  StyleBats (Vinterstille)
    #  Ubuntu Font Family (Canonical Ltd)
    #  Ubuntu Title Bold (Paulo Silva - not included in link below)
    #  Weather (Jonathan Macagba)
    # 
    ## Tips n' Tricks from: Mr. Peachy, djyoung4, and 42dorian (Thanks!)
    ## Most necessary fonts can be downloaded here: http://ompldr.org/vOHdoag
    ## Unzip the fonts into your font folder, for example: /home/username/.fonts
    ## Run this command in a terminal (rebuilds font cache file): sudo fc-cache -fv
    
    ####
    ## Use XFT? Required to Force UTF8 (see below)
    #
    use_xft yes
    xftfont DroidSans:size=8.75
    xftalpha 0.1
    
    ####
    ## Force UTF8? Requires XFT (see above)
    ## Displays degree symbol, instead of °, etc.
    #
    override_utf8_locale yes
    
    ####
    ## This buffer is used for single lines, text, output from $exec, and other variables.
    ## Increasing the 'text_buffer_size' (too high) will drastically reduce Conky's performance.
    ## Decreasing the buffer size (too low) will truncate content and cause strange display output.
    ## Standard text buffer size is 256 bytes (cannot be less). Adjust YOUR buffer wisely!
    ## Tips n' Tricks from dk75:"You don't need to create a 12KiB buffer for every Conky config line."
    #
    text_buffer_size 4352
    
    ####
    ## Maximum number of special things, e.g. fonts, offsets, aligns, etc. (default is 512)
    ## Tips n' Tricks from: sparker256 (Thanks, Bill!)
    #
    max_specials 700
    
    ####
    ## Daemonize Conky, aka 'fork to background'.
    #
    background yes
    
    ####
    ## Update interval in seconds.
    #
    update_interval 2.0
    
    ####
    ## The number of times Conky will update before quitting.
    ## Zero makes Conky run forever.
    #
    total_run_times 0
    
    ####
    ## Create 'own_window' type. Makes Conky behave like other panels.
    #
    own_window yes
    own_window_transparent yes
    own_window_type normal
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    ####
    ## Some distros require the following lines for true transparency.
    ## BOTH of these lines need to be Commented/Uncommented in tandem.
    #
    own_window_argb_visual yes
    own_window_argb_value 255
    
    ####
    ## Force images to redraw when they change.
    #
    imlib_cache_size 1
    
    ####
    ## Use double buffering? Reduces flicker.
    #
    double_buffer yes
    
    ####
    ## Draw shades?
    #
    draw_shades yes
    default_shade_color 330
    
    ####
    ## Draw outlines?
    #
    draw_outline no
    
    ####
    ## Draw borders around text?
    #
    draw_borders no
    
    ####
    ## Draw borders around graphs?
    #
    draw_graph_borders no
    
    ####
    ## Print text to stdout?
    ## Print text in console?
    #
    out_to_ncurses no
    out_to_console no
    
    ####
    ## Text alignment.
    #
    alignment top_right
    
    ####
    ## Minimum size of the text area.
    ## Syntax: minimum_size [width] [height]
    #
    #minimum_size 245 1394
    minimum_size 445 1894
    maximum_width 1200 
    ####added by me
    ## Maximum size of user text buffer, i.e. layout below TEXT line in config file (default is 16384 bytes)
    max_user_text 114688
    
    ####
    ## Maximum width of the text area.
    ## Syntax: maximum_width [width]
    #
    maximum_width 245
    
    ####
    ## Gap between text and screen borders.
    #
    gap_x 6      # Left/Right
    gap_y 32  # Top/Bottom
    
    ####
    ## Shorten MiB/GiB to M/G in stats.
    #
    short_units yes
    
    ####
    ## Pad % symbol spacing after numbers.
    #
    pad_percents 0
    
    ####
    ## Pad spacing between text and borders.
    #
    border_inner_margin 4
    
    ####
    ## Limit the length of names in "Top Processes".
    #
    top_name_width 10
    
    ####
    ## Subtract file system -/+buffers/cache from used memory?
    ## Set to yes, to produce meaningful physical memory stats.
    #
    no_buffers yes
    
    ####
    ## Set to yes, if you want all text to be in UPPERCASE.
    #
    uppercase no
    
    ####
    ## Number of cpu samples to average.
    ## Set to 1 to disable averaging.
    #
    cpu_avg_samples 2
    
    ####
    ## Number of net samples to average.
    ## Set to 1 to disable averaging.
    #
    net_avg_samples 2
    
    ####
    ## Add spaces to keep things from moving around?
    ## Only affects certain objects.
    #
    use_spacer right
    
    ####
    ## My colors (suit yourself)
    #
    color0 White        #FFFFFF
    color1 Ivory        #FFFFF0
    color2 Ivory2        #EEEEE0
    color3 Ivory3        #CDCDC1
    color4 Tan1        #FFA54F
    color5 Tan2        #EE9A49
    color6 Gray        #7E7E7E
    color7 AntiqueWhite4    #8B8378
    color8 DimGray        #696969
    color9 Tomato        #FF6347
    # colorX OrangeRed    #FF4500
    
    #####
    ## Load Lua for shading (optional)
    ## Set the path to your script here.
    #
    lua_load ~/.conky/draw_bg.lua
    lua_draw_hook_pre draw_bg
    
    ####
    ## Load Lua for bargraphs (required)
    ## Set the path to your script here.
    #
    # lua_load ~/.conky/bargraph_small.lua
    lua_load ~/.conky/bargraph_testing.lua
    lua_draw_hook_post main_bars
    
    ####
    ## Define the locations of Conkywx files (required)
    ## Set the path to your .confs and templates here.
    #
    template0 "/usr/share/conkywx/conkywx.sh"
    template1 "/home/cavsfan/.config/conkywx/vindsl-imperial-conkywx.conf"
    template4 "/home/cavsfan/.config/conkywx/wx-wu-vindsl-imperial-weather-graphic-template.sh"
    template7 /tmp/wx-cavsfan-vindsl-imperial-conkywx.conf-pChA_r_27u0-m39/wxalert
    
    TEXT
    ##################################
    ##             LOGO             ##
    ##################################
    ## Uncomment for hard-coded ID (static)
    # ${voffset -33}${font OpenLogos:size=103}${color2}v${font}${voffset -75}${goto 179}${font UbuntuTitleBold:size=19.6}${color4}1${offset 1}2${offset 1}.${offset 0}0${offset 0}4${font}
    ####
    ## Uncomment for soft-coded ID (dynamic)
    ${voffset -30}${font OpenLogos:size=93}${color2}v${font}${voffset -75}${goto 179}${font UbuntuTitleBold:size=12.6}${color4}${pre_exec cat /etc/*release | grep 'RELEASE' | awk -F'=' '{print $2}'}${font}
    ####
    ## Additional ID (branch version, code name, release date, etc.)
    ${voffset -2}${goto 181}${font Ubuntu-B:bold:size=7.55}${color5}Conky ${conky_version}${font}
    # ${voffset 0}${goto 181}${font Ubuntu-B:size=8}${color4}Pre-Alpha${font}
    ####
    ## Uncomment to display YOUR custom graphic image (upper-right corner)
    #${voffset -30}${font OpenLogos:size=103}${color2}v${font}${voffset -52}${image /home/cavsfan/Pictures/ABC.jpg -p 180,0 -s 52x52 -n}
    ##################################
    ##            SYSTEM            ##
    ##################################
    ${voffset 7}${font DroidSans:bold:size=8.25}${color4}SYSTEM${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 4}${font OpenLogos:size=10}${color2}u${voffset -4}${font DroidSans:size=8.6}${color0}${offset 5}${pre_exec lsb_release -sd | sed -e 's/development/dev/g'}${alignr}${pre_exec lsb_release -sr}${font}
    ${voffset 2}${offset -2}${font OpenLogos:size=12}${color2}Z${voffset -4}${font DroidSans:size=8.6}${color0}${offset 3}${sysname}${offset 3}${kernel}${alignr}${font DroidSans:size=8.3}${machine}${font}
    ####
    ## Uncomment for nVidia ID (nvidia-smi version - dynamic)
    ${voffset 2}${font StyleBats:size=10}${color2}d${voffset -2}${font DroidSans:size=8.6}${color0}${offset 5}${pre_exec nvidia-smi -q | grep "Product Name" | sed -e 's/.*: /nVidia /'}${alignr}${pre_exec nvidia-smi -q | grep "Driver Version" | awk '{print $4}'}${font}
    ####
    ## Uncomment for 'nvidia-current' driver ID (DPKG version - hybrid)
    # ${voffset 2}${font StyleBats:size=10}${color2}d${voffset -2}${font DroidSans:size=8.6}${color0}${offset 5}nVidia GeForce 7600 GT${alignr}${font DroidSans:size=8.3}${pre_exec dpkg --status nvidia-current | grep Version | cut -f 1 -d '-' | sed 's/[^.,0-9]//g'}${font}
    ####
    ## Uncomment for nvidia driver ID (OpenGL version - hydrid)
    # ${voffset 2}${font StyleBats:size=10}${color2}d${voffset -2}${font DroidSans:size=8.6}${color0}${offset 5}nVidia GeForce 7600 GT${alignr}${font DroidSans:size=8.3}${pre_exec glxinfo | grep 'OpenGL version string' | sed -e 's/OpenGL.*: //' | cut -c '14-19'}${font}
    ####
    ## Uncomment for hard-coded video ID (any card / any driver - static)
    # ${voffset 2}${font StyleBats:size=10}${color2}d${voffset -2}${font DroidSans:size=8.6}${color0}${offset 5}Video Card Product Name${alignr}Driver Version${font DroidSans:size=8.3}${font}
    ####
    ## Uncomment for CPU ID / CPU frequency (hybrid)
    #${voffset 2}${font StyleBats:size=10}${color2}A${voffset -1}${font DroidSans:size=8.6}${color0}${offset 5}Intel${offset 3}Core${offset 3}2${offset 3}Quad Q9550${alignr 1}${font DroidSans:size=8.3}${freq_g cpu0}${offset 1}GHz${font}
    ${voffset 2}${font StyleBats:size=10}${color2}A${voffset -1}${font DroidSans:size=8.6}${color0}${offset 5}Intel${offset 3}Core${offset 3}2${offset 3}Quad Q9550${alignr 1}${font DroidSans:size=8.3}2.83${offset 1}GHz${font}
    ####
    ## Uncomment for System Uptime (hybrid)
    ${voffset 2}${font StyleBats:size=10}${color2}q${voffset -1}${font DroidSans:size=8.6}${color0}${offset 5}System${offset 3}Uptime${alignr}${font DroidSans:size=8.3}${uptime_short}${font}
    ## uncoment for grub version
    ${voffset 2}${font OpenLogos:size=10}${color2}u${voffset -1}${font DroidSans:size=8.6}${color0}${offset 5}Grub${offset 3}Version${alignr}${font DroidSans:size=8.3}${pre_exec grub-install -v | grep grub-install | cut -c21-42}${font}
    ##################################
    ##          PROCESSORS          ##
    ##################################
    ${voffset 4}${font DroidSans:bold:size=8}${color4}PROCESSORS${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU1${offset 5}${font DroidSans:size=8.3}${cpu cpu1}%${font}
    ${voffset 2}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU2${offset 5}${font DroidSans:size=8.3}${cpu cpu2}%${font}
    ${voffset 2}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU3${offset 5}${font DroidSans:size=8.3}${cpu cpu3}%${font}
    ${voffset 2}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU4${offset 5}${font DroidSans:size=8.3}${cpu cpu4}%${font}
    ##################################
    ##            MEMORY            ##
    ##################################
    ${voffset 5}${font DroidSans:bold:size=8}${color4}MEMORY${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 6}${font StyleBats:size=10}${color2}l${voffset -2}${font DroidSansFallback:size=8.3}${color0}${offset 3}RAM${goto 97}${font DroidSans:size=8.3}${mem}${goto 133}/${offset 5}${memmax}${alignr}${memperc}%${font}
    ##################################
    ##             HDD              ##
    ##################################
    ${voffset 15}${font DroidSans:bold:size=8}${color4}HDD${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 7}${font StyleBats:size=9.9}${color2}x${voffset -2}${font DroidSansFallback:size=8.3}${color0}${offset 4}ROOT${goto 95}${font DroidSans:size=8.3}${fs_used /}${goto 133}/${offset 5}${fs_size /}${alignr}${fs_free_perc /}%${font}
    ${voffset 16}${font StyleBats:size=9.9}${color2}x${voffset -2}${font DroidSansFallback:size=8.3}${color0}${offset 4}FANTOM USB${goto 95}${font DroidSans:size=8.3}${fs_used /media/cavsfan/Fantom}${goto 133}/${offset 5}${fs_size /media/cavsfan/Fantom}${alignr}${fs_free_perc /media/cavsfan/Fantom}%${font}
    ${voffset 16}${font StyleBats:size=9.9}${color2}4${voffset -2}${font DroidSansFallback:size=8.3}${color0}${offset 4}SWAP${goto 95}${font DroidSans:size=8.3}${swap}${goto 133}/${offset 5}${swapmax}${alignr}${swapperc}%${font}
    ##################################
    ##         TEMPERATURES         ##
    ##################################
    ${voffset 15}${font DroidSans:bold:size=8}${color4}CPU/GPU TEMPERATURES${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU Core 1 Temp: $alignr${execi 600 sensors -f | grep 'Core 0' | awk '{print $3}' | cut -c2-9}
    ${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU Core 2 Temp: $alignr${execi 600 sensors -f | grep 'Core 1' | awk '{print $3}' | cut -c2-9}
    ${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU Core 3 Temp: $alignr${execi 600 sensors -f | grep 'Core 2' | awk '{print $3}' | cut -c2-9}
    ${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}CPU Core 4 Temp: $alignr${execi 600 sensors -f | grep 'Core 3' | awk '{print $3}' | cut -c2-9}
    ${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color0}${offset 2}GPU Temperature: $alignr${execi 10 nvidia-settings -q GPUCoreTemp | awk '{if (NR==2) {print ($4*9)/5+32}}'}°F
    ##################################
    ##         TOP PROCESSES        ##
    ##################################
    ${voffset 6}${font DroidSans:bold:size=8}${color4}TOP PROCESSES${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 6}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 1}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 1}${alignr}${top_mem mem 1}%${font}
    ${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 2}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 2}${alignr}${top_mem mem 2}%${font}
    ${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 3}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 3}${alignr}${top_mem mem 3}%${font}
    #${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 4}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 4}${alignr}${top_mem mem 4}%${font}
    #${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 5}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 5}${alignr}${top_mem mem 5}%${font}
    #${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 6}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 6}${alignr}${top_mem mem 6}%${font}
    #${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 7}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 7}${alignr}${top_mem mem 7}%${font}
    #${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 8}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 8}${alignr}${top_mem mem 8}%${font}
    #${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 9}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 9}${alignr}${top_mem mem 9}%${font}
    #${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color0}${offset 5}${top_mem name 10}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 10}${alignr}${top_mem mem 8}%${font}
    ##################################
    ##          NETWORK             ##
    ##################################
    ${voffset 4}${font DroidSans:bold:size=8}${color4}NETWORK${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 4}${font PizzaDudeBullets:size=9.5}${color6}T${font DroidSans:size=8.65}${color0}${offset 5}Download${goto 120}${font DroidSans:size=8.3}${totaldown eth0}${alignr}${font DroidSans:size=8.3}${downspeed eth0}${font}
    ${voffset 0}${font PizzaDudeBullets:size=9.5}${color6}N${font DroidSans:size=8.65}${color0}${offset 5}Upload${goto 120}${font DroidSans:size=8.3}${totalup eth0}${alignr}${font DroidSans:size=8.3}${upspeed eth0}${font}
    ${voffset 4}${font PizzaDudeBullets:size=9.5}${color6}a${font DroidSans:size=8.65}${color0}${offset 5}Private${offset 3}IP${goto 123}${font DroidSansFallback:size=8.5}LAN${alignr}${font DroidSans:size=8.3}${addr eth0}${font}
    #${voffset 0}${font PizzaDudeBullets:size=9.5}${color6}a${font DroidSans:size=8.65}${color0}${offset 5}Public${offset 7}IP${goto 121}${font DroidSansFallback:size=8.5}WAN${alignr}${font DroidSans:size=8.3}${execi 1800 wget -q -O - checkip.dyndns.org | sed -e 's/[^[:digit:]\|.]//g'}${font}
    ${voffset 0}${font PizzaDudeBullets:size=9.5}${color6}a${font DroidSans:size=8.65}${color0}${offset 5}Public${offset 7}IP${goto 121}${font DroidSansFallback:size=8.5}WAN${alignr}${font DroidSans:size=8.3}Demo mode
    ##################################
    ##      CONKYWX WEATHER         ##
    ##################################
    ${voffset 4}${font DroidSans:bold:size=8.25}${color4}CONKYWX${if_existing ${template7}} \
    ${color2}Alert: ${if_match ${execi 60 expr length "$(cat ${template7})"}>=32}\
    ${color5}${scroll 30 10 ${execi 60 cat ${template7}}}${else}\
    ${color5}${execi 60 cat ${template7}}${endif}${endif} ${color6}${hr 2}${font}${color8}
    ####
    ## Uncomment for IMPERIAL Weather Stats (GRAPHIC icon set).
    ${execpi 900 ${template0} -c "${template1}" -t "${template4}"}${font}
    ##################################
    ##           TIME               ##
    ##################################
    ${voffset 0}${font DroidSans:bold:size=8}${color4}TIME${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset -10}${font RadioSpace:size=32}${color0}${if_match ${time %l}<=9}${alignc 7}${time %l:%M}${offset 3}${time %p}${else}${if_match ${time %l}>=10}${alignc -1}${time %l:%M}${offset 3}${time %p}${endif}${endif}${font}
    ##################################
    ##         CALENDAR             ##
    ##################################
    ${voffset -1}${font DroidSans:bold:size=8}${color4}DATE${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 10}${font DroidSansMono:size=7.55}${color2}${alignc 60}${time %A}${font}
    ${voffset -4}${font DroidSansFallback:bold:size=18}${if_match ${time %e}<=9}${color0}${alignc 65}${time %e}${font}${else}${if_match ${time %e}>=10}${color0}${alignc 60}${time %e}${endif}${endif}${font}
    ${voffset 0}${font DroidSansMono:size=7.55}${color2}${alignc 60}${time %B}${font}
    ${voffset 0}${font DroidSansMono:size=7.6}${color2}${alignc 60}${time %Y}${font}
    ${voffset -80}${font CutOutsFor3DFX:size=67}${color7}${alignc 99}2${font}
    ####
    ## Uncomment for "SUNDAY = First Day-of-the-Week" (use mono fonts only)
    ${voffset -70}${font DroidSansMono:size=7.55}${color0}${execpi 60 VinDSL_Cal_9=`date +%-d`; cal -h | sed -e 's/\r//g' -e 's/^/ /g' -e '1d' -e s/^/"\$\{offset 100"\}/ -e 's/\<'"$VinDSL_Cal_9"'\>/${color4}&${color0}/'}
    ####
    ## Uncomment for "MONDAY = First Day-of-the-Week" (use mono fonts only)
    # ${voffset -68}${font DroidSansMono:size=7.55}${color0}${execpi 60 VinDSL_Cal_9=`date +%-d`; ncal -M -C -h | sed -e 's/\r//g' -e 's/^/ /g' -e '1d' -e s/^/"\$\{offset 100"\}/ -e 's/\<'"$VinDSL_Cal_9"'\>/${color4}&${color0}/'}
    ##################################
    ##  RHYTHMBOX 1 (Experimental)  ##
    ##################################
    #${if_running rhythmbox}
    #${voffset -13}${font DroidSans:bold:size=8}${color4}RHYTHMBOX${offset 8}${color6}${voffset -2}${hr 1}${font}
    #${voffset 2}${font DroidSans:size=8.25}${color3}${if_match "${execpi 2 expr length "`/usr/bin/rhythmbox-client --print-playing-format %tt | head -n 1`"}" >= "48"}${alignr 15}${scroll 38 4* ${execi 2 rhythmbox-client --print-playing-format %tt --no-start}}${font}${else}${alignc}${execi 2 rhythmbox-client --print-playing-format %tt --no-start}${font}${endif}${endif}
    ##################################
    ##  RHYTHMBOX 2 (Experimental)  ##
    ##################################
    ${if_running rhythmbox}
    ${voffset -13}${font DroidSans:bold:size=8}${color4}RHYTHMBOX${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 5}${font DroidSans:size=8.25}${color3}${if_match "${execpi 2 expr length "`qdbus org.mpris.MediaPlayer2.rhythmbox /\org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep title | cut -c 14-""`"}" >= "48"}${alignr 15}${scroll 38 4* ${execi 2 qdbus org.mpris.MediaPlayer2.rhythmbox /\org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep title | cut -c 14-""}}${font}${else}${alignc}${execi 2 qdbus org.mpris.MediaPlayer2.rhythmbox /\org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep title | cut -c 14-""}${font}${endif}${endif}
    ##################################
    ##    BANSHEE (Experimental)    ##
    ##################################
    ${if_running banshee}
    ${voffset -26}${font DroidSans:bold:size=8}${color4}BANSHEE${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset -10}${font DroidSans:size=8.25}${color0}${if_match "${execpi 2 expr length "`/usr/bin/banshee --query-title --no-present | cut -f1- -d " "`"}" >= "48"}${alignr 15}${scroll 38 4* ${execi 2 banshee --query-title --no-present | cut -f2- -d " "}}${font}${else}${alignc}${execi 2 banshee --query-title --no-present | cut -f2- -d " "}${font}${endif}${endif}
    ##################################
    ##   GUAYADEQUE (Experimental)  ##
    ##################################
    ${if_running guayadeque}
    ${voffset -33}${font DroidSans:bold:size=8}${color4}GUAYADEQUE${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset 4}${font DroidSans:size=8.25}${color3}${if_match "${execpi 2 expr length "`qdbus org.mpris.guayadeque /\Player org.freedesktop.MediaPlayer.GetMetadata | grep title | cut -f2- -d" "`"}" >= "48"}${alignr 15}${scroll 38 4* ${execi 2 qdbus org.mpris.guayadeque /\Player org.freedesktop.MediaPlayer.GetMetadata | grep title | cut -f2- -d" "}}${font}${else}${alignc}${execi 2 qdbus org.mpris.guayadeque /\Player org.freedesktop.MediaPlayer.GetMetadata | grep title | cut -f2- -d" "}${font}${endif}${endif}
    ##################################
    ##     VLC (Experimental)       ##
    ##################################
    ${if_running vlc}
    ${voffset -55}${font DroidSans:bold:size=8}${color4}VLC${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${voffset -3}${font DroidSans:size=8.25}${color3}${if_match "${execpi 2 expr length "`/usr/bin/xlsclients -l | grep "VLC media player" | cut -c -9 --complement | rev | cut -c 19- | rev`"}" >= "48"}${alignr 15}${scroll 38 4* ${execi 2 xlsclients -l | grep "VLC media player" | cut -c -9 --complement | rev | cut -c 19- | rev}}${font}${else}${alignc}${execi 2 xlsclients -l | grep "VLC media player" | cut -c -9 --complement | rev | cut -c 19- | rev}${font}${endif}${endif}
    ##################################
    ##     Audaciuos                ##
    ##################################
    ${if_running audacious}
    ${voffset -70}${font DroidSans:bold:size=8}${color4}Audacious${offset 8}${color6}${voffset -2}${hr 2}$font$
    ${voffset -3}${font DroidSans:bold:size=8}${color6}${audacious_title 250}
    ${color4}${audacious_bar 10,250 }${color6}
    ${audacious_position}/${audacious_length}  Sample Rate${alignc} ${audacious_frequency} Hz ${alignr}${audacious_status}${endif}
    Check Java Version | Install Java via WEB UPD8 PPA
    Creating a Custom Maintenance Free GRUB2 Screen Community Wiki
    Ubuntu 12.04 | 14.04 | 14.10 | Mint 13 | Mint 17 | Windows 7 | All 64 bit

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

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Habitual View Post
    "It's always 'something'" - Gilda Radnor
    Yes it is ... screenruler is my thing ...

  4. #22454
    Join Date
    Aug 2013
    Beans
    5

    Re: Post your .conkyrc files w/ screenshots

    Cavsfan: I Liiike It.

  5. #22455
    Join Date
    May 2012
    Beans
    2

    Re: Post your .conkyrc files w/ screenshots

    Is there a way to make it show public IP? addr eth0 only shows your private ip

  6. #22456
    Join Date
    Jul 2012
    Location
    Oklahoma, USA
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by blobx View Post
    Is there a way to make it show public IP? addr eth0 only shows your private ip
    I believe this is what I used in the past...

    Code:
    ${pre_exec wget -O - http://ip.tupeux.com | tail}
    Who's Awesome? You're Awesome.

  7. #22457
    Join Date
    Feb 2008
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Who's Pawsome, you're Pawsome!


  8. #22458
    Join Date
    Aug 2013
    Beans
    5

    Re: Post your .conkyrc files w/ screenshots

    Well, on to new conky.
    I had to delete Crunch Bang off the 32bit machine as it is getting sold and most people are Windows only users. I put SuperX on it as it seems the most "New Linux User Friendly" distro that works well with the hardware and architechture thats on it. When sold it will have Windows XP on one half and SuperX on the other.
    I have made a partition on /dev/sdb of the keeper 64bit machine to accomodate Crunch Bang when I get another blank DVD, so I will deal with that Conky when the time comes.

    Anyway, I was looking through the back pages of this Conky Super Thread, when I saw the Infinity Conky that was done up by NRP. This will work great with my Linux Mint 15 with a Cairo Dock.
    Checked out a few tutorials and now have it displaying on the desktop.
    No matter what I type in the screen resolution section of the .conkyrc, the size of the conky remains the same and only shifts left or right across the screen.
    There is mention of editing the screen resolution in the haunted.lua file, but nobody ever says specifically what to edit.
    Any Ideas?
    My screen resolution is 1024 X 768.
    Code:
       --[[
    Infinity by Harshit 
    original by someone i can't remeber the name
    This script draws the left rings of the screen that is with the clock
    
    To call this script in Conky, use the following (assuming that you save this script to ~/scripts/rings.lua):
        lua_load ~/scripts/haunted.lua
        lua_draw_hook_pre ring_stats
        
    Changelog:
    + v1.0 -- Original release (07/06/2012)
    ]]
    
    settings_table = {
        {
            -- Edit this table to customise your rings.
            -- You can create more rings simply by adding more elements to settings_table.
            -- "name" is the type of stat to display; you can choose from 'cpu', 'memperc', 'fs_used_perc', 'battery_used_perc'.
            name='time',
            -- "arg" is the argument to the stat type, e.g. if in Conky you would write ${cpu cpu0}, 'cpu0' would be the argument. If you would not use an argument in the Conky variable, use ''.
            arg='%I.%M',
            -- "max" is the maximum value of the ring. If the Conky variable outputs a percentage, use 100.
            max=12,
            -- "bg_colour" is the colour of the base ring.
            bg_colour=0xffffff,
            -- "bg_alpha" is the alpha value of the base ring.
            bg_alpha=0.1,
            -- "fg_colour" is the colour of the indicator part of the ring.
            fg_colour=0xffffff,
            -- "fg_alpha" is the alpha value of the indicator part of the ring.
            fg_alpha=0.2,
            -- "x" and "y" are the x and y coordinates of the centre of the ring, relative to the top left corner of the Conky window.
            x=165, y=170,
            -- "radius" is the radius of the ring.
            radius=50,
            -- "thickness" is the thickness of the ring, centred around the radius.
            thickness=5,
            -- "start_angle" is the starting angle of the ring, in degrees, clockwise from top. Value can be either positive or negative.
            start_angle=0,
            -- "end_angle" is the ending angle of the ring, in degrees, clockwise from top. Value can be either positive or negative, but must be larger (e.g. more clockwise) than start_angle.
            end_angle=360
        },
        {
            name='time',
            arg='%M.%S',
            max=60,
            bg_colour=0xffffff,
            bg_alpha=0.1,
            fg_colour=0x4a89a7,
            fg_alpha=0.4,
            x=165, y=170,
            radius=56,
            thickness=5,
            start_angle=0,
            end_angle=360
        },
        {
            name='time',
            arg='%S',
            max=60,
            bg_colour=0xffffff,
            bg_alpha=0.1,
            fg_colour=0xe83737,
            fg_alpha=0.6,
            x=165, y=170,
            radius=62,
            thickness=5,
            start_angle=0,
            end_angle=360
        },
        {
            name='cpu',
            arg='cpu1',
            max=100,
            bg_colour=0xffffff,
            bg_alpha=0,
            fg_colour=0xffffff,
            fg_alpha=0.1,
            x=165, y=170,
            radius=70,
            thickness=5,
            start_angle=60,
            end_angle=120
        },
        {
            name='cpu',
            arg='cpu2',
            max=100,
            bg_colour=0xffffff,
            bg_alpha=0,
            fg_colour=0xebff46,
            fg_alpha=0.1,
            x=165, y=170,
            radius=76,
            thickness=5,
            start_angle=60,
            end_angle=120
        },
        {
            name='cpu',
            arg='cpu0',
            max=100,
            bg_colour=0xffffff,
            bg_alpha=0.1,
            fg_colour=0x46a646,
            fg_alpha=0.4,
            x=165, y=170,
            radius=84.5,
            thickness=8,
            start_angle=60,
            end_angle=120
        },
        {
            name='battery_percent',
            arg='BAT1',
            max=100,
            bg_colour=0xffffff,
            bg_alpha=0.1,
            fg_colour=0xebff46,
            fg_alpha=0.6,
            x=165, y=170,
            radius=72,
            thickness=11,
            start_angle=122,
            end_angle=210
        },
        {
            name='memperc',
            arg='',
            max=100,
            bg_colour=0xffffff,
            bg_alpha=0.1,
            fg_colour=0x46a646,
            fg_alpha=0.8,
            x=165, y=170,
            radius=83.5,
            thickness=8,
            start_angle=122,
            end_angle=210
        },
        {
            name='time',
            arg='%d',
            max=31,
            bg_colour=0xffffff,
            bg_alpha=0.1,
            fg_colour=0xebff46,
            fg_alpha=0.8,
            x=165, y=170,
            radius=70,
            thickness=5,
            start_angle=212,
            end_angle=360
        },
        {
            name='time',
            arg='%m',
            max=12,
            bg_colour=0xffffff,
            bg_alpha=0.1,
            fg_colour=0xf4732d,
            fg_alpha=0.8,
            x=165, y=170,
            radius=76,
            thickness=5,
            start_angle=212,
            end_angle=360
        },
        {
            name='memperc',
            arg='%m',
            max=100,
            bg_colour=0xb7b7b7,
            bg_alpha=0.5,
            fg_colour=0x2c2c2c,
            fg_alpha=1.0,
            x=165, y=170,
            radius=120,
            thickness=17,
            start_angle=-90,
            end_angle=30
        },
            {
            name='',
            arg='',
            max=100,
            bg_colour=0xb7b7b7,
            bg_alpha=0.2,
            fg_colour=0x2c2c2c,
            fg_alpha=1.0,
            x=165, y=170,
            radius=116,
            thickness=17,
            start_angle=82,
            end_angle=180
        },
        {
            name='fs_used_perc',
            arg='/home',
            max=100,
            bg_colour=0xffffff,
            bg_alpha=0.5,
            fg_colour=0xffffff,
            fg_alpha=0.6,
            x=165, y=170,
            radius=95,
            thickness=5,
            start_angle=0,
            end_angle=90
        },
    }
    
    
    clock_r=125
    
    
    
    clock_x=165
    clock_y=170
    
    
    
    clock_colour=0xffffff
    clock_alpha=0.5
    
    
    
    show_seconds=true
    
    require 'cairo'
    
    function rgb_to_r_g_b(colour,alpha)
        return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
    end
    
    function draw_ring(cr,t,pt)
        local w,h=conky_window.width,conky_window.height
    
        local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle']
        local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha']
    
        local angle_0=sa*(2*math.pi/360)-math.pi/2
        local angle_f=ea*(2*math.pi/360)-math.pi/2
        local t_arc=t*(angle_f-angle_0)
    
        
    
        cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f)
        cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga))
        cairo_set_line_width(cr,ring_w)
        cairo_stroke(cr)
    
        
    
        cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc)
        cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga))
        cairo_stroke(cr)
    end
    
    function draw_clock_hands(cr,xc,yc)
        local secs,mins,hours,secs_arc,mins_arc,hours_arc
        local xh,yh,xm,ym,xs,ys
    
        secs=os.date("%S")
        mins=os.date("%M")
        hours=os.date("%I")
    
        secs_arc=(2*math.pi/60)*secs
        mins_arc=(2*math.pi/60)*mins+secs_arc/60
        hours_arc=(2*math.pi/12)*hours+mins_arc/12
    
        
    
        xh=xc+0.7*clock_r*math.sin(hours_arc)
        yh=yc-0.7*clock_r*math.cos(hours_arc)
        cairo_move_to(cr,xc,yc)
        cairo_line_to(cr,xh,yh)
    
        cairo_set_line_cap(cr,CAIRO_LINE_CAP_ROUND)
        cairo_set_line_width(cr,5)
        cairo_set_source_rgba(cr,rgb_to_r_g_b(clock_colour,clock_alpha))
        cairo_stroke(cr)
    
        
    
        xm=xc+clock_r*math.sin(mins_arc)
        ym=yc-clock_r*math.cos(mins_arc)
        cairo_move_to(cr,xc,yc)
        cairo_line_to(cr,xm,ym)
    
        cairo_set_line_width(cr,3)
        cairo_stroke(cr)
    
        
    
        if show_seconds then
            xs=xc+clock_r*math.sin(secs_arc)
            ys=yc-clock_r*math.cos(secs_arc)
            cairo_move_to(cr,xc,yc)
            cairo_line_to(cr,xs,ys)
    
            cairo_set_line_width(cr,1)
            cairo_stroke(cr)
        end
    end
    
    function conky_clock_rings()
        local function setup_rings(cr,pt)
            local str=''
            local value=0
    
            str=string.format('${%s %s}',pt['name'],pt['arg'])
            str=conky_parse(str)
    
            value=tonumber(str)
            if value == nil then value = 0 end
            pct=value/pt['max']
    
            draw_ring(cr,pct,pt)
        end
    
        
    
        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)    
    
        local updates=conky_parse('${updates}')
        update_num=tonumber(updates)
    
        if update_num>5 then
            for i in pairs(settings_table) do
                setup_rings(cr,settings_table[i])
            end
        end
    
        draw_clock_hands(cr,clock_x,clock_y)
    end
    
    --[[ RING WIDGET ]]
    --[[ Options (name, arg, max, bg_colour, bg_alpha, xc, yc, radius, thickness, start_angle, end_angle):
        "name" is the type of stat to display; you can choose from 'cpu', 'memperc', 'fs_used_perc', 'battery_used_perc'.
        "arg" is the argument to the stat type, e.g. if in Conky you would write ${cpu cpu0}, 'cpu0' would be the argument. If you would not use an argument in the Conky variable, use ''.
        "max" is the maximum value of the ring. If the Conky variable outputs a percentage, use 100.
        "bg_colour" is the colour of the base ring.
        "bg_alpha" is the alpha value of the base ring.
        "fg_colour" is the colour of the indicator part of the ring.
        "fg_alpha" is the alpha value of the indicator part of the ring.
        "x" and "y" are the x and y coordinates of the centre of the ring, relative to the top left corner of the Conky window.
        "radius" is the radius of the ring.
        "thickness" is the thickness of the ring, centred around the radius.
        "start_angle" is the starting angle of the ring, in degrees, clockwise from top. Value can be either positive or negative.
        "end_angle" is the ending angle of the ring, in degrees, clockwise from top. Value can be either positive or negative, but must be larger (e.g. more clockwise) than start_angle. ]]
    
    function ring(cr, name, arg, max, bgc, bga, fgc, fga, xc, yc, r, t, sa, ea)
        local function rgb_to_r_g_b(colour,alpha)
            return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
        end
        
        local function draw_ring(pct)
            local angle_0=sa*(2*math.pi/360)-math.pi/2
            local angle_f=ea*(2*math.pi/360)-math.pi/2
            local pct_arc=pct*(angle_f-angle_0)
    
            -- Draw background ring
    
            cairo_arc(cr,xc,yc,r,angle_0,angle_f)
            cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga))
            cairo_set_line_width(cr,t)
            cairo_stroke(cr)
        
            -- Draw indicator ring
    
            cairo_arc(cr,xc,yc,r,angle_0,angle_0+pct_arc)
            cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga))
            cairo_stroke(cr)
        end
        
        local function setup_ring()
            local str = ''
            local value = 0
            
            str = string.format('${%s %s}', name, arg)
            str = conky_parse(str)
            
            value = tonumber(str)
            if value == nil then value = 0 end
            pct = value/max
            
            draw_ring(pct)
        end    
        
        local updates=conky_parse('${updates}')
        update_num=tonumber(updates)
        
        if update_num>5 then setup_ring() end
    end
    
    --[[ END RING WIDGET ]]
    Screenshot from 2013-11-17 15:33:29.xcf
    Last edited by Andy_Browning; November 17th, 2013 at 10:53 PM.

  9. #22459
    Join Date
    Apr 2013
    Location
    North Sweden
    Beans
    99
    Distro
    Ubuntu Gnome 13.10 Saucy Salamander

    Re: Post your .conkyrc files w/ screenshots

    Anyone with a cool/nice conky script that are all over desktop? (like some "computer hacker" style? ) also provide fonts and other files that may be needed please.

  10. #22460
    Join Date
    Feb 2008
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Niemil View Post
    Anyone with a cool/nice conky script that are all over desktop? (like some "computer hacker" style? ) also provide fonts and other files that may be needed please.

    What is your skill level with conky?


Page 2246 of 2291 FirstFirst ... 12461746214621962236224422452246224722482256 ... 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
  •