Page 2250 of 2284 FirstFirst ... 12501750215022002240224822492250225122522260 ... LastLast
Results 22,491 to 22,500 of 22832

Thread: Post your .conkyrc files w/ screenshots

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

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by stinkeye View Post
    Dear Applicant,
    I regretfully have to inform you that you are not eligible for our 12 step program
    until all 12 desktops are completely filled with conky.
    Yours Truly,
    stinkeye CCCC
    (Collaborative Creative Conky Community)
    Only 12 desktops? I could fill a fifty easily and a hundred if you want to count "testers" ... and a few of those would be yours too.

    Didn't anyone tell you? Conky Anonymous is only a 1 step program - because we love it.

    I leave you with one more, an old bash script by and old friend Mobilediesel:
    Code:
    update_interval 1
    TEXT
    ${execpi 5 /media/5/Conky/scripts/wordclock.sh}
    wordclock.sh
    Code:
    #!/bin/bash
    # wordclock.sh
    # copyright 2010 by Mobilediesel
    #This program is free software: you can redistribute it and/or modify
    #it under the terms of the GNU General Public License as published by
    #the Free Software Foundation, either version 3 of the License, or
    #(at your option) any later version.
    
    #This program is distributed in the hope that it will be useful,
    #but WITHOUT ANY WARRANTY; without even the implied warranty of
    #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    #GNU General Public License for more details.
    
    #You should have received a copy of the GNU General Public License
    #along with this program.  If not, see <http://www.gnu.org/licenses/>.
    TIME=$(date '+%-I:%-M' --date="${@:-now}")
    HOUR=${TIME%:*}
    MIN=${TIME#*:}
    COLOR="\${color@}"
    ON=" white"
    OFF=" 606060"
    case ${MIN} in
    [1-4]|[6-9]|[1-5][1-4]|[1-5][6-9]) ABOUT="${COLOR/@/$ON}" ;;
    esac
    case ${MIN} in
    5[8-9]) OCLOCK=${COLOR/@/$ON}
    HOURS[$((${HOUR/#12/0}+1))]=${COLOR/@/$ON}
    ;;
    [0-2]) OCLOCK=${COLOR/@/$ON}
    HOURS[${HOUR}]=${COLOR/@/$ON}
    ;;
    [3-7]) FIVE=${COLOR/@/$ON}
    PAST=${COLOR/@/$ON}
    HOURS[${HOUR}]=${COLOR/@/$ON}
    ;;
    [8-9]|1[0-2]) TEN=${COLOR/@/$ON}
    PAST=${COLOR/@/$ON}
    HOURS[${HOUR}]=${COLOR/@/$ON}
    ;;
    1[3-7]) QUARTER=${COLOR/@/$ON}
    PAST=${COLOR/@/$ON}
    HOURS[${HOUR}]=${COLOR/@/$ON}
    ;;
    1[8-9]|2[0-2]) TWENTY=${COLOR/@/$ON}
    PAST=${COLOR/@/$ON}
    HOURS[${HOUR}]=${COLOR/@/$ON}
    ;;
    2[3-7]) TWENTY=${COLOR/@/$ON}
    FIVE=${COLOR/@/$ON}
    PAST=${COLOR/@/$ON}
    HOURS[${HOUR}]=${COLOR/@/$ON}
    ;;
    2[8-9]|3[0-2]) HALF=${COLOR/@/$ON}
    PAST=${COLOR/@/$ON}
    HOURS[${HOUR}]=${COLOR/@/$ON}
    ;;
    3[3-7]) TWENTY=${COLOR/@/$ON}
    FIVE=${COLOR/@/$ON}
    HOURS[$((${HOUR/#12/0}+1))]=${COLOR/@/$ON}
    TO=${COLOR/@/$ON}
    ;;
    3[8-9]|4[0-2]) TWENTY=${COLOR/@/$ON}
    HOURS[$((${HOUR/#12/0}+1))]=${COLOR/@/$ON}
    TO=${COLOR/@/$ON}
    ;;
    4[3-7]) QUARTER=${COLOR/@/$ON}
    HOURS[$((${HOUR/#12/0}+1))]=${COLOR/@/$ON}
    TO=${COLOR/@/$ON}
    ;;
    4[8-9]|5[0-2]) TEN=${COLOR/@/$ON}
    HOURS[$((${HOUR/#12/0}+1))]=${COLOR/@/$ON}
    TO=${COLOR/@/$ON}
    ;;
    5[3-7]) FIVE=${COLOR/@/$ON}
    HOURS[$((${HOUR/#12/0}+1))]=${COLOR/@/$ON}
    TO=${COLOR/@/$ON}
    ;;
    esac
    cat<<:EOF
    ${COLOR/@/$ON}I T ' S${COLOR/@/$OFF} L ${ABOUT}A B O U T${ABOUT/$ON/$OFF} L
    D ${QUARTER}A${QUARTER/$ON/$OFF} C ${QUARTER}Q U A R T E R${QUARTER/$ON/$OFF} C
    ${TWENTY}T W E N T Y${TWENTY/$ON/$OFF} X ${FIVE}F I V E${FIVE/$ON/$OFF}
    ${HALF}H A L F${HALF/$ON/$OFF} B ${TEN}T E N${TEN/$ON/$OFF} F ${TO}T O${TO/$ON/$OFF}
    ${PAST}P A S T${PAST/$ON/$OFF} E R ${HOURS[9]}N I N E${HOURS[9]/$ON/$OFF} U
    ${HOURS[1]}O N E${HOURS[1]/$ON/$OFF} ${HOURS[6]}S I X${HOURS[6]/$ON/$OFF} ${HOURS[3]}T H R E E${HOURS[3]/$ON/$OFF}
    ${HOURS[4]}F O U R${HOURS[4]/$ON/$OFF} ${HOURS[5]}F I V E${HOURS[5]/$ON/$OFF} ${HOURS[2]}T W O${HOURS[2]/$ON/$OFF}
    ${HOURS[8]}E I G H T${HOURS[8]/$ON/$OFF} ${HOURS[11]}E L E V E N${HOURS[11]/$ON/$OFF}
    ${HOURS[7]}S E V E N${HOURS[7]/$ON/$OFF} ${HOURS[12]}T W E L V E${HOURS[12]/$ON/$OFF}
    ${HOURS[10]}T E N${HOURS[10]/$ON/$OFF} S ${OCLOCK}O ' C L O C K${OCLOCK/$ON/$OFF}
    :EOF

    Any mono font will do.

  2. #22492
    Join Date
    Dec 2012
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Sector11 View Post
    Conky Anonymous

    Step 1 - Admitted that we were powerless over conky - and love it!

    Desktop 1, 2 & 3 - My general area of work.

    #3 is usually empty, but there are a couple of conkys there under development.

    Desktop #4 - my wife's area, with her weather open in a window:


    That's it normally ... today I opened Desktops 5, 6 & 7 and put the conkys in there that I have an OB menu entry to start.

    There are a 'few' more but ... ... ...




    LOL, whats this, the enginerr's flight deck of a 747??

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

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by os2 View Post
    LOL, whats this, the enginerr's flight deck of a 747??
    hahahah --- I fly the SR-71 modified to the SR-11

  4. #22494
    Join Date
    Feb 2012
    Beans
    46
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Post your .conkyrc files w/ screenshots

    I found this link when working a little on my conky script yesterday.

    http://crunchbang.org/forums/viewtopic.php?id=12087

    Lets you monitor monthly bandwidth (up/down) totals using vnstat. Here's how it looks on mine:



    Code:
    # Create own window instead of using desktop (required in nautilus)
    own_window yes
    own_window_hints undecorated,below,skip_taskbar
    background yes
    
    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes
    
    # fiddle with window
    use_spacer true
    use_xft yes
    
    # window size controls
    minimum_size 170 550    ## width, height
    maximum_width 170    ## width
    
    # Update interval in seconds
    update_interval 3.0
    
    # Minimum size of text area
    minimum_size 160
    
    # Draw shades?
    draw_shades yes
    
    # Text stuff
    draw_outline no # amplifies text if yes
    draw_borders no
    
    uppercase no # set to yes if you want all text to be in uppercase
    
    # Stippled borders?
    stippled_borders 8
    
    # border margins
    border_margin 4
    
    # border width
    border_width 1
    
    # Default colors and also border colors, grey90 == #e5e5e5
    default_color white
    default_shade_color black
    default_outline_color white
    
    own_window_colour brown
    own_window_transparent yes
    
    # Text alignment, other possible values are commented
    #alignment top_left
    alignment top_right
    #alignment bottom_left
    #alignment bottom_right
    
    # Gap between borders of screen and text
    gap_x 5
    gap_y 5
    
    # stuff after 'TEXT' will be formatted on screen
    
    override_utf8_locale yes
    xftfont Terminus:size=8
    xftalpha 0.8
    
    TEXT
    ${color #FF6666}              SYSTEM PROFILE
    ${color slate grey}Computer Name: ${color }$nodename
    ${color slate grey}Kernel: ${color }$kernel
    ${color slate grey}Distro: ${color } ${pre_exec lsb_release -d | cut -f 2 } 
    ${color slate grey}Uptime: ${color }$uptime
    ${color slate grey}Storage: ${color }${fs_free /home} ${color slate grey}of ${color }${fs_size /}
    ${fs_bar 9,160 /home}
    ${color slate grey}Battery: ${color }${battery}
    ${battery_bar}
    
    ${color #FF6666}            SYSTEM SUMMARY
    ${color slate grey}CPU Freq: ${color } $freq MHz at ${acpitemp}°C
    ${color slate grey}Core A: ${color }${cpu cpu1}% ${alignr}${cpubar cpu1 9,80}
    ${color slate grey}Core B: ${color }${cpu cpu2}% ${alignr}${cpubar cpu2 9,80}
    ${color slate grey}Load: ${alignr}${font Monospace:size=8}${color #6699FF}1.00 = 50% ${color #DDDD66}2.00 = 100%${font}
    ${color }${color #E87511}${loadavg 1}   ${color #6B4423}${loadavg 2}   ${color #00FFD2}${loadavg 3}   ${color #E87511}1${color slate grey} / ${color #6B4423}5${color slate grey} / ${color #00FFD2}15${color slate grey}min
    ${color slate grey}Swap: ${color } ${alignr}$swap ${color slate grey}of ${color } $swapmax
    ${color slate grey}Memory:${color } ${alignr}$mem ${color slate grey}of ${color } $memmax
    $memperc% ${alignr}${membar 9,80}
    
    ${color #FF6666}           ACTIVE PROCESSES
    ${color slate grey}Processes: ${color }$processes ${alignr}${color slate grey}Running: ${color }$running_processes
    
    ${color #3366FF}Process Name: ${alignr}% CPU
    ${color #ddaa00}${top name 1} ${alignr}${top_mem cpu 1}
    ${color slate grey}${top name 2} ${alignr}${top cpu 2}
    ${color slate grey}${top name 3} ${alignr}${top cpu 3}
    ${color slate grey}${top name 4} ${alignr}${top cpu 4}
    ${color slate grey}${top name 5} ${alignr}${top cpu 5}
    
    ${color #FF6666}           NETWORK NUMBERS
    ${color #FF0000}${if_empty ${exec cat /proc/net/arp | grep eth0}}${if_empty ${exec cat /proc/net/arp | grep wlan0}}No network connection 
    ${else}${color slate grey}Internal IP: ${alignr}${color }${addr wlan0}
    ${color slate grey}External IP: ${color } ${alignr}${execi 1800 wget -O - http://ip.tupeux.com | tail}
    ${color slate grey}Router: ${alignr}${color }${wireless_essid wlan0}
    ${color slate grey}Signal: ${color }${wireless_link_qual_perc wlan0}% ${alignr}${color }${wireless_bitrate wlan0}
    
    ${color slate grey}Down: ${color }${downspeed wlan0} ${color slate grey}${alignr}Up: ${color }${upspeed wlan0}
    ${color slate grey}Session Total Down: ${alignr}${color }${totaldown wlan0}
    ${color slate grey}Session Total Up: ${alignr}${color }${totalup wlan0}
    ${color #ddaa00}Month Total Down: ${alignr}${color }${execi 300 vnstat -i wlan0+eth0 -m | grep "`date +"%b '%y"`" | awk '{print $3 $4}'}
    ${color #ddaa00}Month Total Up: ${alignr}${color }${execi 300 vnstat -i wlan0+eth0 -m | grep "`date +"%b '%y"`" | awk '{print $6 $7}'}
    ${color slate grey}Connections: ${color #3366FF}In: ${color }${tcp_portmon 1 32767 count} ${alignr}${color #3366FF}Out: ${color }${tcp_portmon 32768 61000 count}${endif}
    ${else}${color slate grey}LAN IP:  ${alignr}${color }${addr eth0}
    ${color slate grey}External IP: ${color } ${alignr}${execi 1800 curl ifconfig.me}
    ${color slate grey}Down: ${color }${downspeed eth0} ${alignr}${color slate grey}Up: ${color }${upspeed eth0}
    ${color slate grey}Session Total Down: ${alignr}${color }${totaldown eth0}
    ${color slate grey}Session Total Up: ${alignr}${color }${totalup eth0}
    ${color #ddaa00}Month Total Down: ${alignr}${color }${execi 300 vnstat -i wlan0+eth0 -m | grep "`date +"%b '%y"`" | awk '{print $3 $4}'}
    ${color #ddaa00}Month Total Up: ${alignr}${color }${execi 300 vnstat -i wlan0+eth0 -m | grep "`date +"%b '%y"`" | awk '{print $6 $7}'}
    ${color slate grey}Connections: ${color #3366FF}In: ${color }${tcp_portmon 1 32767 count} ${alignr}${color #3366FF}Out: ${color }${tcp_portmon 32768 61000 count}${endif}
    Still have to work on bringing the traffic monitor back with code trimming, and color battery bar that actually works. Maybe characters that are colored, dunno.

    EDIT: Got the battery bar colored yeah, but I found that any modifications to the size of the bar would either cause it to stop working, like ${battery_bar BAT0 9,80} works, but the resize feature doesn't; if you use ${battery_bar 9,80 BAT0} or ${battery_bar 9,80} then you'll see it trip up in the Terminal, returning a line like this:

    Conky: can't open /sys/class/power_supply/9,80/uevent: No such file or directory
    Conky: can't open /proc/acpi/battery/9,80/state: No such file or directory

    yeah. Not good. I found battery color coding here but have a look at this:



    Getting a little whacky with that blink feature. Ahh well. Don't need it anyways. I also ended up removing the battery status indicator (shows unknown when it's fully charged) and the timer (doesn't work when it's charging) and I can infer most of what I need from just the % battery anyways.

    You'll see me working on some code in the background there, how do I split up conky so I can display a full-size port monitor view in a seperate conky window? The arrangement as you see there is nice because I get a browser or working window like gedit or openoffice with XGA size, yet still have my conky monitor.
    Last edited by Mk32; December 6th, 2013 at 01:08 AM.

    iMac G4 800MHz, Compaq E500, ThinkPad X200
    Likes: Ubuntu 9.10, 10.04LTS with 9.10 back-theme
    Classic Mac Networking v3.1 http://applefool.com/se30/
    "Linux assumes you know exactly what you are doing." -oboedad55, ubuntuforums.org

  5. #22495
    Join Date
    Feb 2010
    Location
    SR11 Cockpit
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    @ Mk32
    You got me thinking about vnstat and conky again. I knew I had an old conky here that read a bit more than just the common stuff ... so with a little trick I picked up from Habitual regarding ${date} and a lot of trial and error (bash is still a big mystery to me), plus and old conky from "giovanni" that displayed month data using 'tail' and 'head'.

    Putting all that together and I have a way to read back on 'vnstat -d', and 'vnstat -m'

    Pretty neat if I do say so ... not all my work, a combination of stuff from various sources.

    Also for "last Week", 7, 6, 5 Dec and Nov, Oct & Sep I'm using ${pre_exec} ... since vnstat isn't updating those any more ... just data for display.

    Here's the test conky seen on the left:
    Code:
    # killall conky && conky -c /media/5/conky/test_vnstat.conky &
    # pkill -xf "conky -c /media/5/conky/test_vnstat.conky" &
    
    ###  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 gray
    own_window_class Conky
    own_window_title A vnstat test
    
    # 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 120 0  ##420 420   ## width, height
     maximum_width 120     ##420       ## width
    
    gap_x 10		### left &right
    gap_y 10		### up & down
    
    alignment tl
    ####################################################  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
    ######################################################  End Font Settings  ###
    ###  Color Settings  #########################################################
    draw_shades yes
    default_shade_color black
    
    draw_outline no # amplifies text if yes
    default_outline_color black
    
    default_color DCDCDC # Gainsboro
    color0 B0E0E6 # PowderBlue
    color1 778899 # LightSlateGray
    color2 D8BFD8 # Thistle
    color3 9ACD32 # YellowGreen
    color4 FFA07A # LightSalmon
    color5 FFDEAD # NavajoWhite
    color6 00BFFF # DeepSkyBlue
    color7 5F9EA0 # CadetBlue
    color8 BDB76B # DarkKhaki
    color9 CD5C5C # IndianRed
    #####################################################  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 6144
    
    # 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}
    ##
    #
    ############### 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/cF-2013.template.lua
    #######################################################  End LUA Settings  ###
    
    update_interval 1
    TEXT
    ${lua conky_draw_bg 10 0 0 0 0 0x000000 0.5}\
    ${alignc}${color6}${membar 0,10} Net Stats ${membar 0,10}${color}
    Now: tx ↑ ${upspeed eth0}
    ${color0}Now: rx ↓ ${downspeed eth0}${color}
    ${alignc}${color5}${membar 0,100}${color}
    ${color5}${exec date --date="0 day" | awk '{print $3" "$2}'}${alignr}${execpi 300 vnstat | grep "today" | awk '{print $8" "$9}'}${color}
    tx ↑${alignr}${execpi 300 vnstat | grep "today" | awk '{print $5" "$6}'}
    ${color0}rx ↓${alignr}${execpi 300 vnstat | grep "today" | awk '{print $2" "$3}'}${color}
    ${color5}${pre_exec date --date="-1 day" | awk '{print $3" "$2}'}${alignr}${pre_exec vnstat | grep "yesterday" | awk '{print $8" "$9}'}${color}
    tx ↑${alignr}${pre_exec vnstat | grep "yesterday" | awk '{print $5" "$6}'}
    ${color0}rx ↓${alignr}${pre_exec vnstat | grep "yesterday" | awk '{print $2" "$3}'}${color}
    ${color5}${pre_exec date --date="-2 day"|awk '{print $3" "$2}'}${alignr}${exec vnstat -d | tail -n 5 | head -n 1 | awk '{print $8" "$9}'}${color}
    tx ↑${alignr}${pre_exec vnstat -d | tail -n 5 | head -n 1 | awk '{print $5" "$6}'}
    ${color0}rx ↓${alignr}${pre_exec vnstat -d | tail -n 5 | head -n 1 | awk '{print $2" "$3}'}
    ${color5}${pre_exec date --date="-3 day"|awk '{print $3" "$2}'}${alignr}${exec vnstat -d | tail -n 6 | head -n 1 | awk '{print $8" "$9}'}${color}
    tx ↑${alignr}${pre_exec vnstat -d | tail -n 6 | head -n 1 | awk '{print $5" "$6}'}
    ${color0}rx ↓${alignr}${pre_exec vnstat -d | tail -n 6 | head -n 1 | awk '{print $2" "$3}'}
    ${alignc}${color5}${membar 0,100}${color}
    ${color5}Curr Wk${alignr}${execpi 300 vnstat -w | grep "current week" | awk '{print $9" "$10}'}${color}
    tx ↑${alignr}${execpi 300 vnstat -w | grep "current week" | awk '{print $6" "$7}'}
    ${color0}rx ↓${alignr}${execpi 300 vnstat -w | grep "current week" | awk '{print $3" "$4}'}${color}
    ${color5}Last Wk${alignr}${pre_exec vnstat -w | grep "last week" | awk '{print $9" "$10}'}${color}
    tx ↑${alignr}${pre_exec vnstat -w | grep "last week" | awk '{print $6" "$7}'}
    ${color0}rx ↓${alignr}${pre_exec vnstat -w | grep "last week" | awk '{print $3" "$4}'}${color}
    ${alignc}${color5}${membar 0,100}${color}
    ${color5}${time %b %y}${alignr}${execi 300 vnstat -m | grep "`date +"%b %y"`" | awk '{print $9" "$10}'}${color}
    tx ↑${alignr}${execi 300 vnstat -m | grep "`date +"%b %y"`" | awk '{print $6" "$7}'}
    ${color0}rx ↓${alignr}${execi 300 vnstat -m | grep "`date +"%b %y"`" | awk '{print $3" "$4}'}
    ${color5}${pre_exec date --date="-1 month" +"%b %y"}${alignr}${pre_exec vnstat -m | tail -n 4 | head -n 1 | awk '{print $9" "$10}'}${color}
    tx ↑${alignr}${pre_exec vnstat -m | tail -n 4 | head -n 1 | awk '{print $6" "$7}'}
    ${color0}rx ↓${alignr}${pre_exec vnstat -m | tail -n 4 | head -n 1 | awk '{print $3" "$4}'}
    ${color5}${pre_exec date --date="-2 month" +"%b %y"}${alignr}${exec vnstat -m | tail -n 5 | head -n 1 | awk '{print $9" "$10}'}${color}
    tx ↑${alignr}${pre_exec vnstat -m | tail -n 5 | head -n 1 | awk '{print $6" "$7}'}
    ${color0}rx ↓${alignr}${pre_exec vnstat -m | tail -n 5 | head -n 1 | awk '{print $3" "$4}'}
    ${color5}${pre_exec date --date="-3 month" +"%b %y"}${alignr}${exec vnstat -m | tail -n 6 | head -n 1 | awk '{print $9" "$10}'}${color}
    tx ↑${alignr}${pre_exec vnstat -m | tail -n 6 | head -n 1 | awk '{print $6" "$7}'}
    ${color0}rx ↓${alignr}${pre_exec vnstat -m | tail -n 6 | head -n 1 | awk '{print $3" "$4}'}
    ${alignc}${color5}${membar 0,100}${color}
    On the right is my regular conky (See: Desktop #1) that has been tweaked a bit through the process as well.

    NOTE: Your mileage will vary with this conky vnstat code. I have edited my ~/.vnstatrc file to get rid of the ' before the year: Dec '13 - Mine displays: Dec 13 That ' messes things up in bash
    Code:
    # date output formats for -d, -m, -t and -w
    # see 'man date' for control codes
    #DayFormat    "%x"
    DayFormat    "%d/%m/%y"
    MonthFormat  "%b %y"
    #TopFormat    "%x"
    TopFormat    "%d/%m/%y"

  6. #22496
    Join Date
    Feb 2008
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Sector11 View Post
    a little trick I picked up from Habitual
    There's an antidote around here somewhere.


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

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Habitual View Post
    There's an antidote around here somewhere.
    Yes, conkicillin but my doctor refuses to prescribe it.

  8. #22498
    Join Date
    Feb 2008
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Sector11 View Post
    Yes, conkicillin but my doctor refuses to prescribe it.
    It's incurable, I'm afraid.

    I guess you'll have to live with it.


  9. #22499
    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 incurable, I'm afraid.

    I guess you'll have to live with it.
    OH DARN!
    If you could only see the smile.

  10. #22500
    Join Date
    Feb 2012
    Beans
    46
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Post your .conkyrc files w/ screenshots

    Good news! I have just invented conkinocin but I'm held up in the patent office! Cures all cases of Conkyitis and all related symptoms! No side effects! Ever!

    Anyway. I thought this could be beneficial to someone:



    You'll note my conky isn't indexing properly off the menu bar. If I autohide the menubar I can see that it is positioned off the top of the screen rather than the menu bar. Ooops. Usually happens after a restart. A temporary fix I use is:

    $ sudo killall conky
    <enter password>
    $ conky

    This kills conky, then restarts it. There's probably a way to make it delay in starting up or make the terminal command a one-liner but I'm not aware of it.
    Last edited by Mk32; December 19th, 2013 at 12:17 AM.

    iMac G4 800MHz, Compaq E500, ThinkPad X200
    Likes: Ubuntu 9.10, 10.04LTS with 9.10 back-theme
    Classic Mac Networking v3.1 http://applefool.com/se30/
    "Linux assumes you know exactly what you are doing." -oboedad55, ubuntuforums.org

Page 2250 of 2284 FirstFirst ... 12501750215022002240224822492250225122522260 ... 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
  •