Conky Support, Codes and Screenshots

Sector11

Stay Home

Sector11

#346
OPINION ALERT!

There is only one thing wrong with that - and I do mean ONE! --- UNO! --- UN .... 9 less than 10!

RED!  I do not like red - never have!

Now if it was a nice blue!  WOW!!!!!!!  Or a shade of grey maybe!

Saying that - snagged anyway!
Stay Home

lwfitz

^ Possibly. I am a huge fan of those grad bars and maybe I can edit the lua to draw the graph..... or break something while trying  ;D
Don't Be A Dick!

lwfitz

 :D Oh I know you dont and normally neither do I but this one just fell into place

Heres a little blue for you....... I think the colors match  :P







Don't Be A Dick!

Sector11

Thank you ... I'll play with those as soon as I get time. :D
Stay Home

jedi

Ok, this is an oldy that's been 'floating' (get it, floating at the top of my screen?) around a long time.  (yeah I'm humorless)  Anyway, it originally only showed either the current condition icon during the daytime hours, and the moon phase icon during the night time hours.  So with some help from the "Great One", Sector11, I now have it showing both but cannot get rid of the errant "Sunrise" you see at the bottom left of the Conky.



Here is my Conky, and configs...

The Conky I call "time";


######################
# - Conky settings - #
######################

background no
update_interval .3
cpu_avg_samples 2
total_run_times 0
override_utf8_locale yes

double_buffer yes
#no_buffers yes

text_buffer_size 10240
#imlib_cache_size 0

minimum_size 1250 0
maximum_width 1250

gap_x 60
gap_y 50
#####################
# - Text settings - #
#####################
use_xft yes
xftfont Santana:size=8
xftalpha .8
uppercase no
alignment top_left
#############################
# - Window specifications - #
#############################
own_window yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_class conky-semi
#own_window_argb_visual yes
#own_window_argb_value 255
border_inner_margin 0
border_outer_margin 0
#########################
# - Graphics settings - #
#########################
draw_shades no
#default_shade_color 292421
draw_outline no
draw_borders no
stippled_borders 0
draw_graph_borders no
TEXT
${execpi 36000 /home/jed/Conky/Scripts/horical.sh}
${font CaviarDreams:size=20}${goto 60}${color 949494}${voffset 10}${time %l:%M %P}
${font CaviarDreams:size=12.5}${goto 90}${color 3881C7}${voffset -20}${time %A %B %d %Y}
${voffset 20}${goto 700}${color 3881C7}${font CaviarDreams:size=10}${execi 1 conkyForecast-SunsetSunriseCountdown  -t} in: ${color 949494}${execi 1 conkyForecast-SunsetSunriseCountdown -L}
${goto 700}${color 3881C7}Current Moon Phase: ${goto 900}${color 949494}${execi 300 conkyForecast --imperial --datatype=MP}
${execpi 1800 conkyForecast --location=USME0330 --imperial --template=$HOME/Conky/LUA/day-night.template}


The script to show the horizontal days of the month.  "horical.sh";


#!/bin/bash
# a script to display a horizontal calendar on conky (hence the name horical :D)
#
TODAY=`date +%d`
TOPLINE=" "
OVER=" "
REST=" "
# -------- This part is to find out the number of days in a month to display-----------#
a=`date +%-Y`
e1=`expr $a % 400`
e2=`expr $a % 100`
e3=`expr $a % 4`
if [ $e1 == 0 ]
  then c=1
  elif [ $e2 == 0 ]
  then c=0
  elif [ $e3 == 0 ]
  then c=1
  else c=0
fi
p=`date +%-m`
# if the current year is not a leap one, c = 0
if [ $c == 0 ]
  then
if [ $p == 2 ]
then b=28 # this is the number of days in Febuary
elif [ $p == 11 ] || [ $p == 4 ] || [ $p == 6 ] ||  [ $p == 9 ]
then b=30
else b=31
fi
  else
if [ $p == 2 ]
then b=29 # the number of days in Febuary in a leap year
elif [ $p == 11 ] || [ $p == 4 ] || [ $p == 6 ] ||  [ $p == 9 ]
then b=30
else b=31
fi
fi
#--------------------- The bottom line which displays the days of month ----------#
i=1
if [ $TODAY -ne 1 ]
then
    while [ $i -lt $TODAY ]; do
        if [ $i -lt 10 ]
        then
            OVER="$OVER 0$i"
        else
            OVER="$OVER $i"
        fi
        i=$[$i+1]
    done
fi
i=$[$i+1]
if [ $TODAY -ne $b ]
then
    while [ $i -ne $[$b] ]; do
        if [ $i -lt 10 ]
        then
            REST="$REST 0$i"
        else
            REST="$REST $i"
        fi
        i=$[$i+1]
    done
    REST="$REST $b"
fi
#------------- the top line which displays the abbreviated weekday names-------#
k=`date +%u`
j=`date +%e`
f=`expr $j % 7`
if [ $k -lt $f ]
then
y=$[$k+8-$f]
else
y=$[$k-$f+1]
fi
while [ $b -gt 0 ]; do
    case "$y" in
    1) TOPLINE="$TOPLINE Mo";;
    2) TOPLINE="$TOPLINE Tu";;
    3) TOPLINE="$TOPLINE We";;
    4) TOPLINE="$TOPLINE Th";;
    5) TOPLINE="$TOPLINE Fr";;
    6) TOPLINE="$TOPLINE Sa";;
    7) TOPLINE="$TOPLINE Su";;
    esac
    b=$[$b-1]
    y=$[$y+1]
    if [ $y -eq 8 ]
    then
        y=1
    fi
done
echo '${goto 15}''${color 949494}${font Droid Sans Mono:size=7.5}'$TOPLINE | sed 's/Su/${color 48a3fd}Su${color 949494}/g' | sed 's/Su/${color 3881C7}Su/g'
echo '${goto 15}''${font Droid Sans Mono:bold:size=7.5}''${color 3c3c3c}'$OVER '${color 3881C7}'$TODAY'${color}${color 949494}'$REST


Last but not least, the template that shows the icons.  "day-night.template"


${execi 1 conkyForecast-SunsetSunriseCountdown --location=USME0330 -t}${image [--datatype=WI --night] -p 405,20 -s 100x100}${image [--datatype=MI] -p 555,40 -s 100x100}


Thanks for advice/help.  Much appreciated!
Forum Netiquette

"No matter how smart you are you can never convince someone stupid that they are stupid."  Anonymous

VastOne

^ Nice jedi!  Well balanced and clean

Impressive!  8)
VSIDO      VSIDO Change Blog    

    I dev VSIDO

Sector11

@ jedi ...

change:
background no
to
background yes

text_buffer_size 10240
is WAY WAY too much - try 512 or 1024

and kill the conky and restart it that "should fix" the "Sunrise" - it's a left over from just "saving"  - you should kill the conky and restart it when working on it.

I played with your setup as well and part way through I realized I had the the weather icon for Maine and the times for Buenos Aires ... Gee, no wonder the sunrise sunset times "times" didn't match.  So I switched Maine to ${tztime US/Eastern  %l:%M %P} so I could see things happen at "your time"


Top is your original code... centre is the font doubled - you have something strange going on there.

Bottom is using a different "calendar" that:
  • is multi-lingual
  • horizontal or vertical (text_buffer_size needs to be increased in vertical mode)
  • always displays 31 days - therefore always the same width (or height) filling in days from the next month where needed.

    And here is the final result I have - I had to pop Buenos Aires in there to actually show a moon in the current conditions as "cloudy" is cloudy day or night:


    I also put "ALL" weather related (plus sunrise-sunset calls) commands into the template and as you see the times work as well.

    The conky for Maine and BsAs
    ###  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 000000
    own_window_class Conky
    own_window_title jedi-time.conky

    # 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 1220 0     ## width, height
    #maximum_width 1900     ## width, usually a good idea to equal minimum width

    gap_x 10 # left-right
    gap_y 30 # up-down

    alignment top_left  #bottom_left
    ###################################################  End Window Settings  ###
    ###  Font Settings  #########################################################
    # Use Xft (anti-aliased font and stuff)
    use_xft yes
    xftfont DejaVu Sans Mono:bold:size=10

    # 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 FFDEAD #255 222 173 NavajoWhite DCDCDC #220 220 220 Gainsboro
    color0 8FBC8F #143 188 143 DarkSeaGreen
    color1 778899 #119 136 153 LightSlateGray
    color2 FF8C00 #255 140   0 DarkOrange
    color3 62C2C2 #098 194 194 S11 Light Green #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
    #####################################################  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 no #yes
    #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 1024

    # 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

    #   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  ###
    update_interval 1

    TEXT
    ${font Monofur:bold:size=18}${execpi 60 /media/5/Conky/scripts/conkycal.sh|sed 's/^/\${goto 20}/'}${font}
    ${goto 60}${font monofur:size=40}${color 949494}${tztime US/Eastern  %l:%M %P}${font}
    ${goto 60}${font monofur:size=25}${color 3881C7}${tztime US/Eastern %A %B %d %Y}${font}
    ${execpi 1800 conkyForecast --location=USME0330 --imperial --template=/media/5/conky/jedi/day-night3.template}

    ==== BsAs ====

    ${font Monofur:bold:size=18}${execpi 60 /media/5/Conky/scripts/conkycal.sh|sed 's/^/\${goto 20}/'}${font}
    ${goto 60}${font monofur:size=40}${color 949494}${time %T}${font}
    ${goto 60}${font monofur:size=25}${color 3881C7}${time %a %d %b %y}${font}
    ${execpi 1800 conkyForecast --location=ARBA0009 --template=/media/5/conky/jedi/day-night_bsas.template}



    day-night3.template - for Maine
    ${if_match "${execi 1 conkyForecast-SunsetSunriseCountdown --location=USME0330 -t}"=="Sunrise"}${image [--datatype=WI] -p 475,55 -s 150x150}${else}${image [--datatype=WI --night] -p 475,55 -s 150x150}${endif}${image [--datatype=MI] -p 775,65 -s 100x100}

    ${font monofur:size=20}${color 3881C7}Sunrise: ${color 949494}[--location=USME0330 --datatype=SR] ${color 3881C7}Sunset: ${color 949494}[--location=USME0330 --datatype=SS]${font}
    ${color 3881C7}${font monofur:size=20}${execi 1 conkyForecast-SunsetSunriseCountdown --location=USME0330 -t} in: ${color 949494}${execi 1 conkyForecast-SunsetSunriseCountdown --location=USME0330 -L}${goto 720}${color 949494}[--datatype=MP]${color}${font}


    day-night_bsas.template - for Buenos Aires
    ${if_match "${execi 1 conkyForecast-SunsetSunriseCountdown -t}"=="Sunrise"}${image [--datatype=WI] -p 475,300 -s 150x150}${else}${image [--datatype=WI --night] -p 475,300 -s 150x150}${endif}${image [--datatype=MI] -p 775,310 -s 100x100}

    ${font monofur:size=20}${color 3881C7}Sunrise: ${color 949494}[--location=ARBA0009 --datatype=SR] ${color 3881C7}Sunset: ${color 949494}[--location=ARBA0009 --datatype=SS]${font}
    ${color 3881C7}${font monofur:size=20}${execi 1 conkyForecast-SunsetSunriseCountdown --location=ARBA0009 -t} in: ${color 949494}${execi 1 conkyForecast-SunsetSunriseCountdown --location=ARBA0009 -L}${goto 720}${color 949494}[--datatype=MP]${color}${font}



    And just because it is multi-lingual -  doesn't mean you have to use it that way: conkycal.sh
    #!/bin/bash
    cd ${0%/*}

    # horizontal and vertical calendar for conky by ans
    # Updated by: mobilediesel, dk75, Bruce, Crinos512, et al.
    # This update by dk75 - 15 Feb 2011

    #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/>.
    # locale depend week day names
    # The 'lang' file must be in the same directory as this script.
    # Horizontal and English are the defaults:
    #   conkycal.sh
    # Make it vertical:
    #   conkycal.sh -v
    # Change the language to Spanish:
    #   conkycal.sh -l es
    # Or both at once:
    #   conkycal.sh -v -l es
    # The order of the arguments doesn't matter:
    #   conkycal.sh -l es -v
    # Test other year and/or month, eg. February 2000
    #   conkycal.sh -d "2000 2"
    # Need to use a goto:
    #   conkycal.sh -l es|sed 's/^/\${goto 240}/'
    # or a goto and a tab:
    #   conkycal.sh |sed -e 's/^/\${goto 240}/' -e 's/$/\${tab 20}/'

    DOW=("Mo" "Tu" "We" "Th" "Fr" "Sa" "Su")

    while getopts ":vl:d:" opts; do
    case "$opts" in
    l) lang=$OPTARG;;
    v) orientation="$opts";;
    d) DATE=$OPTARG;;
    esac
    done
    if [ -f conkycal.lang ]; then
        . conkycal.lang
    fi

    COLOROLD="445566" #MidSlateGrey
    COLORTODAY="00BFFF" #DeepSkyBlue
    COLORREST="445566" #MidSlateGrey
    COLORNEXT="778899" #LightSlateGrey
    COLORSATURDAY="00BFFF" #DeepSkyBlue
    COLORSUNDAY="00BFFF" #DeepSkyBlue

    COLOR=("" "" "" "" "" "\${color $COLORSATURDAY}" "\${color $COLORSUNDAY}")
    COLOREND="\${color}"

    DAYS=( $(echo "" |gawk -v dateS="$DATE" 'END{
    if (dateS) {
    print strftime("%-u",mktime(dateS" 1 0 0 0")),strftime("%-d",mktime(dateS" 1 0 0 0")),strftime("%-d",mktime(strftime("%Y %m 0 0 0 0",mktime(dateS" 32 0 0 0"))))
    }
    else {
    print strftime("%-u",mktime(strftime("%Y %m 1 0 0 0"))),strftime("%-d"),strftime("%-d",mktime(strftime("%Y %m 0 0 0 0",mktime(strftime("%Y %m 32 0 0 0")))))
    }
    }') )

    k=${DAYS[0]}
    for ((j=1; j<=${DAYS[2]}; j++)); do
      days[$j]="${COLOR[k-1]}${DOW[k-1]}"
      k=$((${k/#7/0}+1))
    done
    for ((j=$((${DAYS[2]}+1)); j<=31; j++)); do
      days[$j]="${DOW[k-1]}"
      k=$((${k/#7/0}+1))
    done

    # horizontal function
    h () {
    for ((i=1; i<=${DAYS[2]}; i++)); do
      echo -n "${days[$i]/${DOW[6]}/${DOW[6]}$COLOREND} "
    done
    echo -n "\${color $COLORREST}"
    for ((i=$((${DAYS[2]}+1)); i<=31; i++)); do
      echo -n "${days[$i]} "
    done
    echo $'\n'"\${color $COLOROLD}$(a=; for ((x=1; x<=$[${DAYS[1]}-1]; x++));do printf "%02d " $x; done)\${color $COLORTODAY}$(printf "%02d" ${DAYS[1]})\${color $COLORREST} $(a=; for ((x=$[${DAYS[1]}+1];x<=${DAYS[2]};x++)); do printf "%02d " $x; done)\${color $COLORNEXT}$(a=; for ((x=1; x<=$((31-${DAYS[2]})); x++)); do printf "%02d " $x; done)" |sed -e 's/ *$//'
    }

    #vertical function
    v () {
    for ((i=1; i<=$((${DAYS[1]}-1)); i++)); do
        TODAYC[$i]="\${color $COLOROLD}"
    done
    TODAYC[${DAYS[1]}]="\${color $COLORTODAY}"
    for ((i=$((${DAYS[1]}+1)); i<=${DAYS[2]}; i++)); do
        TODAYC[$i]="\${color $COLORREST}"
    done
    for ((j=1; j<=${DAYS[2]}; j++)); do
        echo  "${days[$j]} ${TODAYC[$j]}$(printf "%02d" $j)\${color}"
    done
    for ((j=1; j<=$((31-${DAYS[2]})); j++)); do
        echo  "\${color $COLORNEXT}${days[$j]} $(printf "%02d" $j)\${color}"
    done
    }
    # call function based on "$orientation" - default is horizontal
    ${orientation:-h}

Stay Home

Sector11

#353
conkycal.sh can be found in the post above.  The conkycal.lang file is NOT needed if you are going to use it in English, it's the default.

And to make it complete it also does different month in different years.  I show three languages with three months here to show the "extra days" padded to the end to make it a universal width:

TEXT
${alignc}Apr 2013 - English
${font Monofur:size=20}${execpi 3600 /media/5/Conky/scripts/conkycal.sh|sed 's/^/\${goto 30}/'}${font}${color}

${alignc}Jan 2013 - Spanish
${font Monofur:size=20}${execpi 3600 /media/5/Conky/scripts/conkycal.sh -d "2013 1" -l es|sed 's/^/\${goto 30}/'}${font}${color}

${alignc}Feb 2013 - Portuguese
${font Monofur:size=20}${execpi 3600 /media/5/Conky/scripts/conkycal.sh -d "2013 2" -l pt|sed 's/^/\${goto 30}/'}${font}${color}


While not all want or need the language function there are Linux users that will appreciate it.  Easy to add to as well, if you can add a language please let me know.  Profanity doesn't count.  :D

NOTE: The conkycal.lang file MUST be in the same directory as conkycal.sh

conkycal.lang
case ${lang:-$LANG} in
af* )  DOW=("Ma" "Di" "Wo" "Do" "Vr" "Sa" "So");; # Afrikaans (Afrikaans)
be* )  DOW=("Па" "Аў" "Се" "Ча" "Пя" "Су" "Ня");; # Belarusian (Беларуская)
bs* )  DOW=("Po" "Ut" "Sr" "Če" "Pe" "Su" "Ne");; # Bosnian (Bosanac)
bg* )  DOW=("По" "Вт" "Ср" "Че" "Пе" "Съ" "Не");; # Bulgarian (Български)
zh* )  DOW=("周一" "周二" "周三" "周四" "周五" "周六" "周天");; # Chinese (中文)
hr* )  DOW=("Po" "Ut" "Ut" "Sr" "Če" "Su" "Ne");; # Croatian (Hrvatska)
cs* )  DOW=("Po" "Út" "St" "Čt" "Pá" "So" "Ne");; # Czech (Čeština)
da* )  DOW=("Ma" "Ti" "On" "To" "Fr" "Lø" "Sø");; # Danish (Dánština)
nl* )  DOW=("Ma" "Di" "Wo" "Do" "Vr" "Za" "Zo");; # Dutch (Nederlandse)
de* )  DOW=("Mo" "Di" "Mi" "Do" "Fr" "Sa" "So");; # German (Deutche)
el* )  DOW=("Δε" "Τρ" "Τε" "Πέ" "Πα" "Σά" "Κυ");; # Greek (Ελληνικά)
et* )  DOW=("Es" "Te" "Ko" "Ne" "Re" "La" "Pü");; # Estonian (Eesti)
tl* )  DOW=("Lu" "Ma" "Mi" "Hu" "Bi" "Sa" "Li");; # Filipino (Filipino)
fi* )  DOW=("Ma" "Ti" "Ke" "To" "Pe" "La" "Su");; # Finnish (Suomen)
fr* )  DOW=("Lu" "Ma" "Me" "Je" "Ve" "Sa" "Di");; # French (Français)
gl* )  DOW=("Lu" "Ma" "Mé" "Xo" "Ve" "Sá" "Do");; # Galician (Galego)
hi* )  DOW=("सोम" "मंगल" "बुध" "गुरु" "शुक्र" "शनि" "सूर्य") ;; # Hindi (हिन्दी)
hu* )  DOW=("Hé" "Ke" "Se" "Cü" "Pé" "So" "Va");; # Hungarian (Magyar)
is* )  DOW=("Má" "Þr" "Mi" "Fi" "Fö" "La" "Su");; # Icelandic (Íslenska)
id* )  DOW=("Se" "Se" "Ra" "Ka" "Ju" "Sa" "Mi");; # Indonesian (Indonesia)
it* )  DOW=("Lu" "Ma" "Me" "Gi" "Ve" "Sa" "Do");; # Italian (Italiano)
ja* )  DOW=("月曜" "火曜" "水曜" "木曜" "金曜" "土曜" "日曜");; # Japanese (日本語) x
ko* )  DOW=("월요" "화요" "수요" "목요" "금요" "토요" "일요");; # Korean (한국어) x
lv* )  DOW=("Pr" "Ot" "Tr" "Ce" "Pe" "Se" "Sv");; # Latvian (Latviešu)
lt* )  DOW=("pi" "an" "tr" "ke" "pe" "še" "se");; # Lithuanian (Lietuviškai)
mk* )  DOW=("По" "Вт" "Ср" "Че" "Пе" "Са" "Не");; # Macedonian (Македонски)
ml* )  DOW=("Is" "Se" "Ra" "Ra" "Ju" "Sa" "Mi");; # Malayam (Bahasa Melayu)
nb* )  DOW=("ma" "ti" "on" "to" "fr" "lø" "sø");; # Norwegian (Norsk)
pl* )  DOW=("Po" "Wt" "Śr" "Cz" "Pt" "So" "Nd");; # Polish (Polska)
pt* )  DOW=("Sq" "Te" "Qa" "Qi" "Se" "Sá" "Do");; # Portuguese (Português)
ro* )  DOW=("Lu" "Ma" "Mi" "Jo" "Vi" "Sa" "Du");; # Romanian (Român)
ru* )  DOW=("По" "Вт" "Ср" "Че" "Пя" "Су" "Во");; # Russian (Русский)
sr* )  DOW=("Po" "Ut" "Sr" "Če" "Pe" "Su" "Ne");; # Serbian (Српски)
sk* )  DOW=("Po" "Ut" "St" "Št" "Pi" "So" "Ne");; # Slovak (Slovenčina)
sl* )  DOW=("Po" "To" "Sr" "Če" "Pe" "So" "Ne");; # Slovenian (Slovenski)
es* )  DOW=("Lu" "Ma" "Mi" "Ju" "Vi" "Sá" "Do");; # Spanish (Español)
sv* )  DOW=("Må" "Ti" "On" "To" "Fr" "Lö" "Sö");; # Swedish (Svenska)
tr* )  DOW=("Pa" "Sa" "Ça" "Pe" "Cu" "Cu" "Pa");; # Turkish (Türkçe)
uk* )  DOW=("По" "Ві" "Се" "Че" "Пя" "Су" "Не");; # Ukrainian (Українська)
        * ) DOW=("Mo" "Tu" "We" "Th" "Fr" "Sa" "Su") ;;
esac


It does horizontal as well as vertical with the "-v" switch:

Enjoy!
Stay Home

jedi

Using your exact configs;

It is SO HUGE!!!  (yeah I know some dingleberry is gonna come along and post a reply saying TWSS!)  Anyway even changing the font size it stays that big on the screen.  This is part of my graphics puzzle I've been unable to figure out.  This is your config on my 1920x1080 resolution screen;



I know something isn't right, because a few days ago I had installed Debian Netinst and these graphic problems did not exist.  So, I'm not sure what the deal is.  The same still holds true also when I try to "open" or "save" a file in any application.  The "save" and "open" dialog screens are so big they go off the display making me have to 'alt-mouseclick' to move them around so I can click the button.  I know different topic should be another thread somewhere.  Oh well...

So I changed the font sizes (once again) and got what I want!  However, that said, no matter what I did to the "conkycal.sh", it would not change the size of the horizontal calendar.  SO, to fix that, I just switched back to the original "horical.sh" from my previous post, and voila (that's some of my language skills there everyone!) I got it back down to the size I want.


Forum Netiquette

"No matter how smart you are you can never convince someone stupid that they are stupid."  Anonymous

jedi

#355
And one more thing before I forget!  If I use my original configs, posted above, it still has the "Sunrise" showing at the bottom left of the Conky.  This is after saving it, closing it, KILLING it, and then even re-booting the computer and restarting the Conky!!!  Who says I can't "MAKE" problems for myself!!!  Go figure.  Maybe some puzzles aren't meant to be figured out...

Oh and the text_buffer_size 10240 had me actually laughing out loud in a room by myself.  My family is starting to worry about me!  Somehow I'd inadvertently placed a 0 at the end of the 1024.  I'd have left it that way till the end of "time" (get it? 'time' Conky) if you hadn't noticed it Sector11...  Yeah I know, the humor is way to dry...

Edited by Sector11: Response found here
Forum Netiquette

"No matter how smart you are you can never convince someone stupid that they are stupid."  Anonymous

Sector11

#356
This come about because of this post and the very next post after that.

CASE IN POINT:  Be careful of code not needed and where code is placed.

Sometimes; nothing, 0, Zero, zilch can be a big thing indeed!   ;)

And I like your sense of "haha"  :D but then some question mine!  ::)

To continue ... Lets look for the mysterious Sunrise
0 TEXT
1 ${execpi 36000 /home/jed/Conky/Scripts/horical.sh}
2 ${font CaviarDreams:size=20}${goto 60}${color 949494}${voffset 10}${time %l:%M %P}
3 ${font CaviarDreams:size=12.5}${goto 90}${color 3881C7}${voffset -20}${time %A %B %d %Y}
4 ${voffset 20}${goto 700}${color 3881C7}${font CaviarDreams:size=10}${execi 1 conkyForecast-SunsetSunriseCountdown  -t} in: ${color 949494}${execi 1 conkyForecast-SunsetSunriseCountdown -L}
5 ${goto 700}${color 3881C7}Current Moon Phase: ${goto 900}${color 949494}${execi 300 conkyForecast --imperial --datatype=MP}
6 ${execpi 1800 conkyForecast --location=USME0330 --imperial --template=$HOME/Conky/LUA/day-night.template}


Analizing it here in a text editor made it super simple.....
  • Conky works from the top down one line at a time ... normally people see "blink" an it's there BUT it really does start top down, left to right, line by line.
  • Next "conkyForecast-SunsetSunriseCountdown" depends on conkyForecast to be running in order to work ....
    With those two facts out of the way we continue ...

    Lines 1, 2 and 3 - perfect, got your calendar and times in place
    line 4 - - aaaHA! - - you call conkyForecast-SunsetSunriseCountdown twice - where is conkyForecast? - NO OUTPUT for either!
    line 5 - - now you call conkyForecast to get the moon phase text. KEY: conkyForecast is now running
    line 6 - - you call for the conky template

    Template:
    ${execi 1 conkyForecast-SunsetSunriseCountdown --location=USME0330 -t}${image [--dataty... blah blah
    First command in that template you are asking "conkyForecast-SunsetSunriseCountdown" to display (-t) the text: Sunrise or Sunset depending on the time.

    And that's it, the mysterious Sunrise! on line 6 of your conky
    ... the images command moved the images but nothing moved the text output of conkyForecast-SunsetSunriseCountdown

    Now, according to your "update_interval", 0.3 seconds later conky refreshes and the FIRST "Sunrise" appears on line 4 because conkyForecast is now running.

    Change your update_interval to 1 second - you won't notice the difference but your CPU will thank you.

    Put the moon phase above sunrise/set and you eliminate the problem of conkyForecast dependency:
    ${voffset 20}${goto 700}${color 3881C7}Current Moon Phase: ${goto 900}${color 949494}${execi 300 conkyForecast --imperial --datatype=MP}
    ${goto 700}${color 3881C7}${font CaviarDreams:size=10}${execi 1 conkyForecast-SunsetSunriseCountdown  -t} in: ${color 949494}${execi 1 conkyForecast-SunsetSunriseCountdown -L}


    and change your template:
    ${image [--datatype=WI --night] -p 405,20 -s 100x100}${image [--datatype=MI] -p 555,40 -s 100x100}

    and that conky will work.

    OR do what I did - put ALL the weather stuff in the template  :D

    ======

    That calendar has NO font in the script. It is dependant on the font that is active when it is called.
    Try just this test conky with only three lines after TEXT and see what happens.
    NOTE: Change the path to the calendar file.

    ###  Begin Window Settings  ##################################################
    own_window yes
    own_window_type normal
    own_window_transparent yes
    own_window_hints undecorated,sticky,below,skip_taskbar,skip_pager
    own_window_colour 000000
    own_window_class Conky
    own_window_title jedi-test.conky

    # 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 1220 0     ## width, height
    #maximum_width 1900     ## width, usually a good idea to equal minimum width

    gap_x 10 # left-right
    gap_y 30 # up-down

    alignment top_left  #bottom_left
    ###################################################  End Window Settings  ###
    ###  Font Settings  #########################################################
    # Use Xft (anti-aliased font and stuff)
    use_xft yes
    xftfont DejaVu Sans Mono:bold:size=10

    # 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 FFDEAD #255 222 173 NavajoWhite DCDCDC #220 220 220 Gainsboro
    color0 8FBC8F #143 188 143 DarkSeaGreen
    color1 778899 #119 136 153 LightSlateGray
    color2 FF8C00 #255 140   0 DarkOrange
    color3 62C2C2 #098 194 194 S11 Light Green #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
    #####################################################  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 no #yes
    #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 1024

    # 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

    #   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  ###
    update_interval 1

    TEXT
    ${font Monofur:bold:size=18}${execpi 3600 /path/to/conkycal.sh|sed 's/^/\${goto 20}/'}${font}
    this will be DejaVu Sans Mono - bold - size 10
    ${font Monofur:bold:size=9}${execpi 3600 /path/to/conkycal.sh|sed 's/^/\${goto 20}/'}${font}
Stay Home

Sector11

I just updated my daily use weather conky to include sunrise/set and moonrise/set times along with the moon phase image for the complete 10 days:


The conky: S11_v9_Vert.conky
## killall conky && conky -c /media/5/Conky/S11_v9_Vert.conky &
##
## 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/weatheragain9000.lua.tar.gz
##
## mrppeachys LUA Tutorial
## http://crunchbanglinux.org/forums/topic/17246/how-to-using-lua-scripts-in-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 000000
own_window_class Conky
own_window_title S11 v9 Vertical
# 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 150

minimum_size 110 875  ##820 260   ## width, height
maximum_width 110     ##820       ## width, usually a good idea to equal minimum width

gap_x 10    ### l|r
gap_y 10    ### u|d
alignment top_left #tl
####################################################  End Window Settings  ###
###  Font Settings  ##########################################################
# Use Xft (anti-aliased font and stuff)
use_xft yes
#xftfont Anonymous Pro:size=9
xftfont monofur:bold:size=9

# Alpha of Xft font. Must be a value at or between 1 and 0 ###
xftalpha 1
# Force UTF8? requires XFT ###
override_utf8_locale yes

draw_shades yes
default_shade_color black

draw_outline no # amplifies text if yes
default_outline_color black

uppercase no
######################################################  End Font Settings  ###
###  Color Settings  #########################################################
default_shade_color 000000
default_outline_color 000000

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
#####################################################  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 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 512

# 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

#   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 it blinks.
##
# lua_load ~/wea_conky/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 composite manager required - no blinking!)
##
lua_load /media/5/Conky/LUA/draw-bg.lua
lua_draw_hook_pre draw_bg 10 0 0 0 0 0x000000 0.2
#
# TEXT
#
############### 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/S11_V9_Vert-template.lua
#######################################################  End LUA Settings  ###
# The all important - How often conky refreshes.
# If you have a "Crey" try: 0.2 - smokin' - but watch the CPU useage go UP!
update_interval 1
### one blank line after TEXT
TEXT


S11_V9_Vert-template.lua
--[[
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/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="Anonymous Pro" --font must be in quotes
default_font="monofur" -- font must be in quotes
default_font_size=14
default_color=0xF0FFFF -- Azure
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 CURRENT WEATHER CONDITIONS  ##################################################
--## Moon ICON Placement for today ###
-- image({x=25,y=20,w=62,h=62,file=moon_icon[1]})
-- image({x=25,y=20,w=62,h=62,file="/media/5/Conky/images/RCAF-Roundel.png"})

out({c=0x00FFFF,a=1,x=20,y=10,txt=forecast_day_short[1].." "..forecast_date[1].." "..forecast_month_short[1]})
   out({c=0xF0FFFF,a=1,x=15,y=33,txt=now["temp"]})
   out({c=0xFFDEAD,a=1,x=15,y=47,txt=now["feels_like"]})

image({x=40,y=15,h=45,w=45,file=now["weather_icon"]})
--  image({x=40,y=15,h=45,w=45,file="/media/5/Conky/images/red+x.png"})

out({c=0x00FFFF,a=1,x=5,y=73,txt="Bar P"})
out({c=0xF0FFFF,a=1,x=60,y=73,txt=now["pressure_mb"]})
out({c=0x00FFFF,a=1,x=5,y=86,txt="Humid"})
out({c=0xF0FFFF,a=1,x=60,y=86,txt=now["humidity"].." %"})
out({c=0x00FFFF,a=1,x=5,y=99,txt="Dew P"})
out({c=0xF0FFFF,a=1,x=60,y=99,txt=now["dew_point"].." °"})
out({c=0x00FFFF,a=1,x=5,y=112,txt="U V"})
out({c=0xF0FFFF,a=1,x=60,y=112,txt=uv_index_num[1]})
out({c=0xF0FFFF,a=1,x=90,y=112,txt=uv_index_txt[1]})
out({c=0x00FFFF,a=1,x=5,y=125,txt="Cloud"})
out({c=0xF0FFFF,a=1,x=60,y=125,txt=cloud_cover[1].." %"})
out({c=0x00FFFF,a=1,x=5,y=138,txt="Rain"})
out({c=0xF0FFFF,a=1,x=60,y=138,txt=precipitation[1].." %"})
-- 10 Day Forecast starts here
out({c=0xF5F5DC,a=1,x=12,y=158,txt="10  Forecast"})
out({c=0xF5F5DC,a=1,x=10,y=171,txt="Starts Today"})
-- START OF WEATHER REPEAT CODE - WEATHER REPEAT CODE - WEATHER REPEAT CODE ##############
--start or weather forecast table section
--set start forecast day
start_day=1
--set total forecast days you want to display
number_of_days=10
-- up-down
topy=195 --300  --125 -- y = u|d
tyy=70 --55 -- topy+(tyy*1)
-- left-right
topx=5 -- x = l|r
-- txx=130
--set coordinates for top lef corners for each repeat
top_left_x_coordinate[1],top_left_y_coordinate[1]        =topx ,topy
   top_left_x_coordinate[2],top_left_y_coordinate[2]     =topx ,topy+(tyy*1)
top_left_x_coordinate[3],top_left_y_coordinate[3]        =topx ,topy+(tyy*2)
   top_left_x_coordinate[4],top_left_y_coordinate[4]     =topx ,topy+(tyy*3)
top_left_x_coordinate[5],top_left_y_coordinate[5]        =topx ,topy+(tyy*4)
   top_left_x_coordinate[6],top_left_y_coordinate[6]     =topx ,topy+(tyy*5)
top_left_x_coordinate[7],top_left_y_coordinate[7]        =topx ,topy+(tyy*6)
   top_left_x_coordinate[8],top_left_y_coordinate[8]     =topx ,topy+(tyy*7)
top_left_x_coordinate[9],top_left_y_coordinate[9]        =topx ,topy+(tyy*8)
   top_left_x_coordinate[10],top_left_y_coordinate[10]   =topx ,topy+(tyy*9)
--########################################################################################
for i=start_day,number_of_days-(start_day-1) do --start of day repeat, do not edit #######
tlx=top_left_x_coordinate[i] --sets top left x position for each repeat ##################
tly=top_left_y_coordinate[i] --sets top left y position for each repeat ##################
--########################################################################################
-- Day and Date
out({c=0x00FFFF,a=1,x=tlx+10,y=tly,txt=forecast_day_short[i].." "..forecast_date[i].." "..forecast_month_short[i]})
-- Forecasted High & Low
out({c=0xFF8C00,a=1,x=tlx,y=tly+13,txt=high_temp[i]})
   out({c=0x87CEFA,a=1,x=tlx,y=tly+26,txt=low_temp[i]})
-- condition images and moon phase images
image({x=30,y=tly+5,file=weather_icon[i]})image({x=75,y=tly+5,file=moon_icon[i]})
-- repeat test images
--   image({x=30,y=tly+5,file="/media/5/Conky/images/red+x.png"})image({x=75,y=tly+5,file="/media/5/Conky/images/red+x.png"})
-- Sunrise & Sunset
out({c=0xEEE8AA,a=1,x=tlx,y=tly+40,txt="S:"..sun_rise_24[i]})
   out({c=0x48D1CC,a=1,x=tlx+60,y=tly+40,txt=sun_set_24[i]})
-- Moonrise & Moonset
out({a=1,x=tlx,y=tly+53,txt="M:"..moon_rise_24[i]})
   out({c=0x48D1CC,a=1,x=tlx+60,y=tly+53,txt=moon_set_24[i]})
-- out({c=0xFAFAEC,a=1,x=tlx,y=tly+78,txt="P:"..moon_phase[i]})
--########################################################################################
end--of forecast repeat section ##########################################################
--########################################################################################
--END OF WEATHER CODE ----END OF WEATHER CODE ----END OF WEATHER CODE ---
--########################################################################################
end--of weather_display function do not edit this line ###################################
--########################################################################################

Stay Home

Sector11

#358
Just another general run of the mill conky to show off the new GNUS VSIDO (Debian SID Class) that goes where no other sub goes.

GNUS VSIDO on patrol

Note: Calendar alignment problem fixed in code below.

The conky (graphics are optional):
###  Begin Window Settings  ##################################################
own_window yes

# 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

own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager
own_window_class Conky
own_window_title General 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 override
# 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 150

minimum_size 270 965 ## width, height
maximum_width 270 ## 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

# 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 #no # amplifies text if yes
default_shade_color 000000

draw_outline no # amplifies text if yes
default_outline_color 000000

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
#####################################################  End Borders Secton  ###
###  Miscellaneous Section  ##################################################

# Boolean value, if true, Conky will be forked to background when started.
background no

# 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

#   Maximum size of user text buffer, i.e. layout below TEXT line in config file
#  (default is 16384 bytes)
# max_user_text 16384

## default bar size
default_bar_size 200 20

# Width for $top name value (default 15 characters)
top_name_width 8

## Specify a default width and height for graphs.
## Example: 'default_graph_size 0 25'. This is particularly useful for execgraph
## and execigraph as they do not take size arguments
## default_graph_size 200 0

#draw_graph_borders no

##############################################  End Miscellaneous Section  ###
###  LUA Settings  ###########################################################
## Above and After TEXT - requires a composite manager or blinks.
##
# lua_load /media/5/Conky/LUA/dra2w-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 composite manager required - no blinking!)
#
lua_load /media/5/Conky/LUA/draw-bg.lua
#lua_draw_hook_pre draw_bg 10 0 0 0 0 0x000000 0.2
### mount.lua ##################################################################
#
##instructions
##load script
##lua_load ~/path_to/mounted.lua
#lua_load /media/5/Conky/LUA/mounted.lua
## first lua command below text:
## ${lua get_mounted_data interval}, where interval is a number.  This starts data gathering
## to get output:
## ${lua mount partition_number data_type}, where partition number is a number
## data_type can be
## total - shows total number of partitions mounted, requires a partition_number also, use 1, could be used in an if_match
## fsys - shows filesystem
## size - shows space used in appropriate units
## free - shows free space in appropriate units
## use% - shows % used
## mount - shows mountpoint
#######################################################  End LUA Settings  ###

#digiThe all important - How often conky refreshes.
# If you have a "Crey" try: 0.2 - smokin' - but watch the CPU useage go UP!
update_interval 1 # in seconds

# stuff after 'TEXT' will be formatted on screen
TEXT
${lua conky_draw_bg 20 0 0 0 0 0x000000 0.4}\
  ${font Dock 51:size=40}${color1}Sector${color}${font}\
${image /media/5/My_Images/Sector11_Avatar/S11_falldown3.png -p 200,0 -s 60x60}\
${image /media/5/Conky/images/EVE.png -p -5,65 -s 80x80}
${image /media/5/Conky/images/Wall.E.png -p 205,65 -s 80x80}
${color5}${font LED_Mono:size=30}${alignc}${time %T}${font}${color}
${alignc}${color6}Easter${color}
${alignc}${exec ncal -e}
${alignc}SU MO ${color6}${time %b %Y}${color} FR SA
${goto 60}${color}${execp LAR=`date +%-d`; ncal -bh | sed '2d' | sed -e '1d' -e 's/\<'$LAR'\>/${color6}&${color}/' | sed ':a;N;$!ba;s/\n/\n${goto 60}/g'}
${voffset 5} Time online: ${alignr 15}${uptime_short}
${voffset 5}${alignc}${kernel}
${voffset 5}${alignc}${color5}Temperatures${color}
${alignc}CPU  ${color5}${platform f71882fg.2560 temp 1}${color}°\
     MB  ${color5}${platform f71882fg.2560 temp 2}${color}°
${alignc}GPU  ${color5}${nvidia temp}${color}°\
     HD  ${color5}${hddtemp /dev/sda}${color}°
${voffset 5}${alignc}${color5}Nvidia GPU${color}
GPU ${color5}${nvidia gpufreq} ${color}MHz${alignr 15}MEM ${color5}${nvidia memfreq} ${color}MHz
${voffset 5}${alignc}${color5}Disk Activity${color}
${goto 10}${diskiograph 50,250 FF0000 0000FF -t -l}${goto 10}${color1}${cpubar cpu4 50,250}${color}\
${voffset -35}${goto 80}SDA: R: ${diskio_read /dev/sda}
${goto 80}     W: ${diskio_write /dev/sda}
${voffset 9}${goto 60}${color1}${fs_bar /}${color}
${voffset -28}/Root   ${fs_size /}${goto 170}Used${goto 220}${fs_used_perc /}%
${goto 60}${color1}${fs_bar /home}${color}
${voffset -28}/Home   ${fs_size /home}${goto 170}Used${goto 220}${fs_used_perc /home}%
${goto 60}${color1}${fs_bar /media/5}${color}
${voffset -28} /M/5   ${fs_size /media/5}${goto 170}Used${goto 220}${fs_used_perc /media/5}%
${voffset 5} RAM    Used ${mem}${goto 170}Total ${memmax}
${voffset 5}${alignc}${color5}CPU${color}
${voffset 5}${goto 10}CPU1\
${voffset -8}${goto 60}${color1}${cpubar cpu1}${goto 60}${cpugraph cpu1 -t 20,200 FF0000 FFFF00}\
${voffset -12}${goto 70}${color}${if_match ${cpu cpu1}<10}  ${cpu cpu1}\
${else}${if_match ${cpu cpu1}<100} ${cpu cpu1}\
${else}${cpu cpu1}${endif}${endif}%
${voffset 8}${goto 10}CPU2\
${voffset -8}${goto 60}${color1}${cpubar cpu2}${goto 60}${cpugraph cpu2 -t 20,200 FF0000 FFFF00}\
${voffset -12}${goto 70}${color}${if_match ${cpu cpu2}<10}  ${cpu cpu2}\
${else}${if_match ${cpu cpu2}<100} ${cpu cpu2}\
${else}${cpu cpu2}${endif}${endif}%
${voffset 8}${goto 10}CPU3\
${voffset -8}${goto 60}${color1}${cpubar cpu3}${goto 60}${cpugraph cpu3 -t 20,200 FF0000 FFFF00}\
${voffset -12}${goto 70}${color}${if_match ${cpu cpu3}<10}  ${cpu cpu3}\
${else}${if_match ${cpu cpu3}<100} ${cpu cpu3}\
${else}${cpu cpu3}${endif}${endif}%
${voffset 8}${goto 10}Avg\
${voffset -8}${goto 60}${color1}${cpubar cpu0}${goto 60}${cpugraph cpu0 -t 20,200 FF0000 FFFF00}\
${voffset -12}${goto 70}${color}${if_match ${cpu cpu0}<10}  ${cpu cpu0}\
${else}${if_match ${cpu cpu0}<100} ${cpu cpu0}\
${else}${cpu cpu0}${endif}${endif}%           μm ${freq_g}
${voffset 8}${alignc}${color5}Network${color}
${voffset 5} Down${voffset -6}${goto 60}${color1}${downspeedgraph eth0 20,200 0000ff fff000 5 -lt}\
${voffset -12}${goto 90}${color}${downspeed eth0}
${voffset 5} Up${voffset -6}${goto 60}${color1}${upspeedgraph eth0 20,200 0000ff fff000 5 -lt}\
${voffset -12}${goto 90}${color}${upspeed eth0}
${voffset 8}${alignc}${color5}Processes${color}
Total ${color5}${processes}${color}${alignr 15}Running ${color5}${running_processes}${color}
${goto 220}${color0}mem${color}
Name${goto 90}${color7}cpu${color}   mem  ${color1}uid${color}${goto 220}${color0}res${color}
${cpubar cpu0 0,250}
${top name 1}${goto 75}${color7}${top cpu 1}${color}${color}${top mem 1}${color1}${top uid 1}${color0}${goto 220}${top mem_res 1}${color}
${top name 2}${goto 75}${color7}${top cpu 2}${color}${top mem 2}${color1}${top uid 2}${color0}${goto 220}${top mem_res 2}${color}
${top name 3}${goto 75}${color7}${top cpu 3}${color}${top mem 3}${color1}${top uid 3}${color0}${goto 220}${top mem_res 3}${color}
${top name 4}${goto 75}${color7}${top cpu 4}${color}${top mem 4}${color1}${top uid 4}${color0}${goto 220}${top mem_res 4}${color}
${top name 5}${goto 75}${color7}${top cpu 5}${color}${top mem 5}${color1}${top uid 5}${color0}${goto 220}${top mem_res 5}${color}
${top name 6}${goto 75}${color7}${top cpu 6}${color}${top mem 3}${color1}${top uid 6}${color0}${goto 220}${top mem_res 6}${color}
${top name 7}${goto 75}${color7}${top cpu 7}${color}${top mem 7}${color1}${top uid 7}${color0}${goto 220}${top mem_res 7}${color}
${top name 8}${goto 75}${color7}${top cpu 8}${color}${top mem 8}${color1}${top uid 8}${color0}${goto 220}${top mem_res 8}${color}
${top name 9}${goto 75}${color7}${top cpu 9}${color}${top mem 9}${color1}${top uid 9}${color0}${goto 220}${top mem_res 9}${color}
Stay Home

lwfitz

Ohhhhhh I like!

That wallpaper is pretty cool too! Great job my friend!
Don't Be A Dick!