Code: Select all
##################################
## VinDSL | rev. 11-02-17 01:46 ##
##################################
## Screen res: 1280x1024x24 ##
##################################
####
## Prerequisites (required).
## conky-all 1.8.0 or 1.8.1
## conkyForecast 2.16
## weather.com XML Data Feed (XOAP)
#
####
## Use XFT? Required to Force UTF8 (see below).
#
use_xft yes
xftfont DroidSans:size=8.75
xftalpha 0.1
text_buffer_size 4096
####
## Force UTF8? Requires XFT (see above).
## Displays degree symbol, instead of °, etc.
#
override_utf8_locale yes
####
## Daemonize Conky, aka 'fork to background'.
#
background yes
####
## Update interval in seconds.
#
update_interval 1.5
####
## This is the number of times Conky will update before quitting.
## Set to zero to run forever.
#
total_run_times 0
####
## Create own window instead of using desktop (required in nautilus)?
#
own_window yes
own_window_argb_visual yes
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
####
## Force images to redraw when they change.
#
imlib_cache_size 0
####
## Use double buffering? Reduces flicker.
#
double_buffer yes
####
## Draw shades?
#
draw_shades no
####
## Draw outlines?
#
draw_outline no
####
## Draw borders around text?
#
draw_borders no
####
## Draw borders around graphs?
#
draw_graph_borders yes
####
## Print text to stdout?
## Print text in console?
#
out_to_ncurses no
out_to_console no
####
## Text alignment.
#
alignment lower_right
####
## Minimum size of text area.
#
minimum_size 0 0
####
## Gap between text and screen borders.
#
gap_x 0
gap_y 0
####
## 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
color1 Ivory
color2 Ivory2
color3 Ivory3
color4 Tan1
color5 Tan2
color6 Gray
color7 AntiqueWhite4
color8 DarkSlateGray
color9 Black
####
## Installed fonts (required).
#
# ConkyWeather (Stanko Metodiev)
# ConkyWindNESW (Stanko Metodiev)
# Cut Outs for 3D FX (Fonts & Things)
# Droid Font Family (Google Android SDK)
# Moon Phases (Curtis Clark)
# OpenLogos (Icoma)
# PizzaDude Bullets (Jakob Fischer)
# Radio Space (Iconian Fonts)
# StyleBats (Vinterstille)
# Ubuntu (Canonical Ltd)
# Ubuntu Title Bold (Paulo Silva)
# Weather (Jonathan Macagba)
TEXT
##################
## WEATHER ##
##################
${execpi 1000 conkyForecast -l ASXX0016 -t /home/user/.conky/conkyForecast.template}
${voffset 0}
Code: Select all
${voffset -8}${font DroidSans:bold:size=8}${color4}WEATHER${color8}${hr 2}${font}
${voffset -8}${color2}${font}${font RadioSpace:size=23}${if_match [--datatype=HT --hideunits --hidedegreesymbol]<=1}${color 0000EE}[--datatype=HT]${color}${else}${if_match [--datatype=HT --hideunits --hidedegreesymbol]<=4}${color 0033FF}[--datatype=HT]${color}${else}${if_match [--datatype=HT --hideunits --hidedegreesymbol]<=7}${color 0066FF}[--datatype=HT]${color}${else}${if_match [--datatype=HT --hideunits --hidedegreesymbol]<=10}${color 0099FF}[--datatype=HT]${color}${else}${if_match [--datatype=HT --hideunits --hidedegreesymbol]<=13}${color 00CCFF}[--datatype=HT]${color}${else}${if_match [--datatype=HT --hideunits --hidedegreesymbol]<=16}${color 00FFFF}[--datatype=HT]${color}${else}${if_match [--datatype=HT --hideunits --hidedegreesymbol]<=19}${color 99FFDD}[--datatype=HT]${color}${else}${if_match [--datatype=HT --hideunits --hidedegreesymbol]<=22}${color 99FF88}[--datatype=HT]${color}${else}${if_match [--datatype=HT --hideunits --hidedegreesymbol]<=25}${color 99FF44}[--datatype=HT]${color}${else}${if_match [--datatype=HT --hideunits --hidedegreesymbol]<=28}${color 99FF00}[--datatype=HT]${color}${else}${if_match [--datatype=HT --hideunits --hidedegreesymbol]<=31}${color 99BB00}[--datatype=HT]${color}${else}${if_match [--datatype=HT --hideunits --hidedegreesymbol]<=34}${color 997700}[--datatype=HT]${color}${else}${if_match [--datatype=HT --hideunits --hidedegreesymbol]<=37}${color 993300}[--datatype=HT]${color}${else}${if_match [--datatype=HT --hideunits --hidedegreesymbol]<=40}${color CC0000}[--datatype=HT]${color}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${voffset -18.5}${goto 81}${font}${font Ubuntu:size=24}${color3}[--datatype=CT --hideunits]${font}
${voffset -3}${font Ubuntu:size=8}Feels like ${if_match [--datatype=HT --hideunits --hidedegreesymbol]<=1}${color 0000EE}[--datatype=HT]${color}${else}${if_match [--datatype=HT --hideunits --hidedegreesymbol]<=4}${color 0033FF}[--datatype=HT]${color}${else}${if_match [--datatype=HT --hideunits --hidedegreesymbol]<=7}${color 0066FF}[--datatype=HT]${color}${else}${if_match [--datatype=HT --hideunits --hidedegreesymbol]<=10}${color 0099FF}[--datatype=HT]${color}${else}${if_match [--datatype=HT --hideunits --hidedegreesymbol]<=13}${color 00CCFF}[--datatype=HT]${color}${else}${if_match [--datatype=HT --hideunits --hidedegreesymbol]<=16}${color 00FFFF}[--datatype=HT]${color}${else}${if_match [--datatype=HT --hideunits --hidedegreesymbol]<=19}${color 99FFDD}[--datatype=HT]${color}${else}${if_match [--datatype=HT --hideunits --hidedegreesymbol]<=22}${color 99FF88}[--datatype=HT]${color}${else}${if_match [--datatype=HT --hideunits --hidedegreesymbol]<=25}${color 99FF44}[--datatype=HT]${color}${else}${if_match [--datatype=HT --hideunits --hidedegreesymbol]<=28}${color 99FF00}[--datatype=HT]${color}${else}${if_match [--datatype=HT --hideunits --hidedegreesymbol]<=31}${color 99BB00}[--datatype=HT]${color}${else}${if_match [--datatype=HT --hideunits --hidedegreesymbol]<=34}${color 997700}[--datatype=HT]${color}${else}${if_match [--datatype=HT --hideunits --hidedegreesymbol]<=37}${color 993300}[--datatype=HT]${color}${else}${if_match [--datatype=HT --hideunits --hidedegreesymbol]<=40}${color CC0000}[--datatype=HT]${color}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}
${goto 12}${color4}${font DroidSansMono:bold:size=8.35}[--datatype=DW --startday=1 --shortweekday]${goto 80}[--datatype=DW --startday=2 --shortweekday]${goto 149}[--datatype=DW --startday=3 --shortweekday]${goto 228}[--datatype=DW --startday=4 --shortweekday]
${voffset -4}${color4}[--datatype=HT --startday=1 --hideunits]/[--datatype=LT --startday=1 --hideunits]${goto 69}[--datatype=HT --startday=2 --hideunits]/[--datatype=LT --startday=2 --hideunits]${goto 138}[--datatype=HT --startday=3 --hideunits]/[--datatype=LT --startday=3 --hideunits]${goto 218}[--datatype=HT --startday=4 --hideunits]/[--datatype=LT --startday=4 --hideunits]${goto 303}[--datatype=WS]
${voffset -2}${font Ubuntu:size=8}${color4}Today's Sunrise:${color1}${goto 113}[--datatype=SR --startday=0 --hideunits]${goto 160}${font Ubuntu:size=8}${color4} ${color1}[--datatype=DL --startday=0 --hideunits]${goto 224}${color4} Today's Sunset:${color1}[--datatype=SS --startday=0 --hideunits]
${font Ubuntu:size=8}${color4}Tomorrow's Sunrise: ${color #E6E8FA}${goto 113}[--datatype=SR --startday=1 --hideunits]${goto 163}${color1}[--datatype=DL --startday=1 --hideunits]${goto 204}${color4} Tomorrow's Sunset:${color1}[--datatype=SS --startday=1 --hideunits]
${font Ubuntu:size=8}${color4}Peak Winter Sunrise:${color royal blue}${goto 116}6:39AM${goto 163}10:24${goto 205}${color4} Peak Winter Sunset:${color royal blue}5:00PM
${font Ubuntu:size=8}${color4}Peak Summer Sunrise:${color red}${goto 116}5:24AM${goto 163}14:15${goto 198}${color4} Peak Summer Sunset:${color red}6:19PM
${color4}Visibility:${color1}[--datatype=VI] ${goto 89}${color4}Humidity:${color1}[--datatype=HM]${goto 160}${color4}Bar:${color1}[--datatype=BR]${goto 231}${if_match "[--datatype=BD]"=="falling"}${color light blue}[--datatype=BD]${color}${else}${if_match "[--datatype=BD]"=="steady"}${color yellow}[--datatype=BD]${color}${else}${if_match "[--datatype=BD]"=="rising"}${color red}[--datatype=BD]${color}${endif}${endif}${endif}${goto 275}${color4}UV:${color1}[--datatype=UT] [--datatype=UI]
${color4}${font Ubuntu:size=8}Station: ${color1}[--datatype=OB --hideunits]${color4}${goto 175}Last Update: ${color1}[--datatype=LU --hideunits]
${image [--datatype=WI] -p 270,-10 -s 78x78} ${image [--datatype=BI] -p 283,52 -s 49x49}
${image [--datatype=WI --startday=1] -p 0,61 -s 40x40} ${image [--datatype=WI --startday=2] -p 66,61 -s 40x40} ${image [--datatype=WI --startday=3] -p 135,61 -s 40x40} ${image [--datatype=WI --startday=4] -p 213,61 -s 40x40}