use_xft yes
xftfont 123:size=8
xftalpha 0.1
update_interval 1
total_run_times 0

own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_colour 000000
own_window_argb_visual no
own_window_argb_value 0

double_buffer yes
#minimum_size 720 720
maximum_width 1920
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color white
default_shade_color red
default_outline_color green
alignment bottom_right
gap_x 0
gap_y 0
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 1
override_utf8_locale yes
use_spacer yes

#====================================
#   Color Scheme
#====================================
default_color FFFFFF

color0 FFFFFF   # clock
color1 FFA300   # date
color2 FFA300   # current temperature
color3 FFA300   # high tempratures
color4 FFFFFF   # low tempratures
color5 FFFFFF   # days
color6 FFA300   # text
color7 EAEAEA   # smoked white
color8 A5B1B7   # pidgin

#====================================
#   Icon Sources
#====================================
template0 ~/.conky-vision-icons/FFFFFF  # today
template1 ~/.conky-vision-icons/FFFFFF  # +1day
template2 ~/.conky-vision-icons/FFFFFF  # +2days
template3 ~/.conky-vision-icons/FFFFFF  # +3days
template4 ~/.conky-vision-icons/FFFFFF  # +4days

#====================================
#   WOEID (Where On Earth ID)
#====================================
template7 487949


#====================================
#   Temp Unit (c = Celsius, f = Fahrenheit)
#====================================
template8 c


#====================================
#   Language (e.g. es_ES.UTF-8)
#====================================
template9  pl_PL.UTF-8 # leave empty for locale

minimum_size 1920 0
TEXT
#----------------------------------------
#   CURL
#----------------------------------------
\
\
${execi 300 curl -s "http://weather.yahooapis.com/forecastrss?w=${template7}&u=${template8}" -o ~/.cache/weather.xml}\
\
\
#----------------------------------------
#   Current Temperature
#----------------------------------------
\
\
${font Poiret One:weight=Bold:size=18}${color2}\
${voffset 35}\
${goto 1504}${execi 300 grep "yweather:condition" ~/.cache/weather.xml | grep -o "temp=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"}°\
${font}${color}\
\
#----------------------------------------
#   High Temperatures
#----------------------------------------
\
\
${font Poiret One:weight=Bold:size=12}${color3}\
${goto 1579}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "high=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2'}°\
\
${goto 1654}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "high=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3'}°\
\
${goto 1744}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "high=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==4'}°\
\
${goto 1824}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "high=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==5'}°\
${font}${color}\
\
\
#----------------------------------------
#   Low Temparatures
#----------------------------------------
\
\
${font Poiret One:weight=Bold:size=12}${color8}\
${voffset 20}\
${goto 1579}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "low=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2'}°\
${goto 1654}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "low=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3'}°\
${goto 1744}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "low=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==4'}°\
${goto 1824}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "low=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==5'}°\
${font}${color}
\
\
#----------------------------------------
#   Day Names
#----------------------------------------
\
\
${font Poiret One:weight=Bold:size=10}${color8}\
${voffset 0}\
${goto 1504}${execi 300 LANG=${template9} LC_TIME=${template9} date +%^a}\
${goto 1579}${execi 300 LANG=${template9} LC_TIME=${template9} date -d +1day +%^a}\
${goto 1654}${execi 300 LANG=${template9} LC_TIME=${template9} date -d +2days +%^a}\
${goto 1744}${execi 300 LANG=${template9} LC_TIME=${template9} date -d +3days +%^a}\
${goto 1824}${execi 300 LANG=${template9} LC_TIME=${template9} date -d +4days +%^a}\
${font}${color}
\
\
#----------------------------------------
#   Weather Icons
#----------------------------------------
\
\
${execi 300 cp -f ${template0}/$(grep "yweather:condition" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*").png ~/.cache/weather-1.png}${image ~/.cache/weather-1.png -p 1506,55 -s 48x48}\
\
${execi 300 cp -f ${template1}/$(grep "yweather:forecast" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2').png ~/.cache/weather-2.png}${image ~/.cache/weather-2.png -p 1581,55 -s 48x48}\
\
${execi 300 cp -f ${template2}/$(grep "yweather:forecast" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3').png ~/.cache/weather-3.png}${image ~/.cache/weather-3.png -p 1656,55 -s 48x48}\
\
${execi 300 cp -f ${template3}/$(grep "yweather:forecast" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==4').png ~/.cache/weather-4.png}${image ~/.cache/weather-4.png -p 1746,55 -s 48x48}\
\
${execi 300 cp -f ${template4}/$(grep "yweather:forecast" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==5').png ~/.cache/weather-5.png}${image ~/.cache/weather-5.png -p 1826,55 -s 48x48}\



#TEXT
${voffset -50}${offset 1300}${color0}${font Poiret One:weight=Light:pixelsize=120}${time %H:%M}${font}${voffset -84}${offset 10}${color1}${font Poiret One:weight=Light:pixelsize=42}${time %d} ${voffset -15}${color0}${font Poiret One:weight=Bold:pixelsize=22}${time  %B} ${time %Y}${font}${voffset 2}${color8}${font Poiret One:weight=Light:pixelsize=40}${offset -108}${time %A}${font}
${voffset 40}${font Ubuntu:pixelsize=12}${color1} SYSTEM $color8 $nodename || $sysname $kernel ${offset 30}${color1} ESSID $color8|| ${wireless_essid wlan2}${offset 30}${color1}IP $color8|| ${addr wlan2} ${offset 30}${color1}HD $color8|| ${fs_free /} / ${fs_size /}${offset 30}${color1}RAM $color8|| $mem / $memmax${offset 30}${color1}BAT $color8|| $battery ${offset 30}${color1}CPU $color8 ${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'| uniq | cut -c 1-26} || ${cpu cpu0}%${offset 30}${color2}TEMP $color8|| ${hwmon 0 temp 1}°C${offset 30}${color1}AUDIO $color8 $audacious_status || $audacious_position ${audacious_title 100}
