Advertisement
BoredOOMM

ConkyWeatherForecast

Nov 14th, 2011
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.30 KB | None | 0 0
  1. ${goto 10}${color5}${font Bitstream Vera Sans Mono:style=Bold:size=14}[--datatype=CT]${font}${color}${image [--datatype=WI] -p 15,44 -s 45x45}${image [--datatype=BI] -p 105,44 -s 45x45}${image [--datatype=MI] -p 205,44 -s 45x45}
  2. ${voffset 55}${goto 20}${color5}[--datatype=HT --hideunits] / [--datatype=LT --hideunits]${goto 100}[--datatype=WS --imperial] - [--datatype=WD]${goto 200}[--datatype=MP]${color}
  3. ${voffset 10}${goto 10}${color3}Station:${color5}${goto 100}[--datatype=OB]
  4. ${goto 10}${color3}Rain:${color5}${goto 100}[--datatype=PC]
  5. ${goto 10}${color3}UV:${color5}${goto 100}[--datatype=UI] - [--datatype=UT]
  6. ${goto 10}${color3}Humidity:${color5}${goto 100}[--datatype=HM]
  7. ${goto 10}${color3}Dew Point:${color5}${goto 100}[--datatype=DP]
  8. ${goto 10}${color3}Bar:${color5}${goto 100}[--datatype=BR] - [--datatype=BD]
  9. ${goto 10}${color3}Sunrise/Set:${color5}${goto 100}[--datatype=SR] / [--datatype=SS]
  10. ${goto 10}${color3}${execi 1 conkyForecast-SunsetSunriseCountdown --location=UKXX0103 -t} in:${color5}${goto 100}${execi 1 conkyForecast-SunsetSunriseCountdown --location=UKXX0103 -L}${color}
  11. ${voffset 10}${goto 26}${color5}[--datatype=DW --startday=1 --shortweekday]${goto 104}[--datatype=DW --startday=2 --shortweekday]${goto 184}[--datatype=DW --startday=3 --shortweekday]${goto 258}[--datatype=DW --startday=4 --shortweekday]${color}
  12. ${image [datatype=WI --startday=1] -p 8,244 -s 45x45}${image [datatype=WI --startday=2] -p 85,244 -s 45x45}${image [datatype=WI --startday=3] -p 165,244 -s 45x45}${image [datatype=WI --startday=4] -p 240,244 -s 45x45}${voffset 50}${goto 15}${color5}[--datatype=HT --startday=1 --hideunits --centeredwidth=3]/[--datatype=LT --startday=1 --hideunits --centeredwidth=3]${goto 90}[--datatype=HT --startday=2 --hideunits --centeredwidth=3]/[--datatype=LT --startday=2 --hideunits --centeredwidth=3]${goto 170}[--datatype=HT --startday=3 --hideunits --centeredwidth=3]/[--datatype=LT --startday=3 --hideunits --centeredwidth=3]${goto 245}[--datatype=HT --startday=4 --hideunits --centeredwidth=3]/[--datatype=LT --startday=4 --hideunits --centeredwidth=3]${color}
  13. ${color3}${font Bitstream Vera Sans Mono:size=7}${alignr 20}Last Update: [--datatype=LU]${font}
  14. ############################################################################
  15.  
  16.  
  17. 1- ${goto 10}${color5}${font Bitstream Vera Sans Mono:style=Bold:size=14}[--datatype=CT]${font}${color}${image [--datatype=WI] -p 15,44 -s 45x45}${image [--datatype=BI] -p 105,44 -s 45x45}${image [--datatype=MI] -p 205,44 -s 45x45}
  18. CT (Conditions Text) WI (Weather Icon Path) - ${image [--datatype=WI --startday=1] -p xx,xx -s yyxyy} BI (Bearing Icon Path) - ${image [--datatype=BI --startday=1] -p xx,xx -s yyxyy}
  19. ${image [--datatype=MI] -p 205,44 -s 45x45}
  20. MI (Moon Icon Path)- ${image [--datatype=MI] -p xx,xx -s yyxyy}
  21.  
  22. 2- ${voffset 55}${goto 20}${color5}[--datatype=HT --hideunits] / [--datatype=LT --hideunits]${goto 100}[--datatype=WS --imperial] - [--datatype=WD]${goto 200}[--datatype=MP]${color}
  23. Today: HT – Current Temp – WITHOUT: “–startday=0″ [--datatype HT] Today: LT – Feels Like Temp – WITHOUT: “–startday=0″ [--datatype LT] WD (Wind Direction) MP (Moon Phase)
  24.  
  25. 3- ${voffset 10}${goto 10}${color3}Station:${color5}${goto 100}[--datatype=OB]
  26. OB (Observatory)
  27.  
  28. 4- ${goto 10}${color3}Rain:${color5}${goto 100}[--datatype=PC]
  29. PC (Precipitation Chance)
  30.  
  31. 5- ${goto 10}${color3}UV:${color5}${goto 100}[--datatype=UI] - [--datatype=UT]
  32. UI (UV Index) UT (UV Text)
  33.  
  34. 6- ${goto 10}${color3}Humidity:${color5}${goto 100}[--datatype=HM]
  35. HM (Humidity)
  36.  
  37. 7- ${goto 10}${color3}Dew Point:${color5}${goto 100}[--datatype=DP]
  38. DP (Dew Point)
  39.  
  40. 8- ${goto 10}${color3}Bar:${color5}${goto 100}[--datatype=BR] - [--datatype=BD]
  41. BR (Barometer Reading) BD (Barometer Description)
  42.  
  43. 9- ${goto 10}${color3}Sunrise/Set:${color5}${goto 100}[--datatype=SR] / [--datatype=SS]
  44. SR (SunRise) SS (SunSet)
  45.  
  46. 10- ${goto 10}${color3}${execi 1 conkyForecast-SunsetSunriseCountdown --location=UKXX0103 -t} in:${color5}${goto 100}${execi 1 conkyForecast-SunsetSunriseCountdown --location=UKXX0103 -L}${color}
  47. No Translation Yet
  48.  
  49. 11- ${voffset 10}${goto 26}${color5}[--datatype=DW --startday=1 --shortweekday]${goto 104}[--datatype=DW --startday=2 --shortweekday]${goto 184}[--datatype=DW --startday=3 --shortweekday]
  50. DW (Day of Week)
  51. ${goto 258}[--datatype=DW --startday=4 --shortweekday]${color}
  52.  
  53. 12-${image [datatype=WI --startday=1] -p 8,244 -s 45x45}${image [datatype=WI --startday=2] -p 85,244 -s 45x45}${image [datatype=WI --startday=3] -p 165,244 -s 45x45}
  54. WI (Weather Icon Path) -
  55. - ${image [--datatype=WI] -p xx,xx -s yyxyy}
  56. - ${image [--datatype=WI --startday=1] -p xx,xx -s yyxyy}
  57. ${image [datatype=WI --startday=4] -p 240,244 -s 45x45}${voffset 50}${goto 15}${color5}[--datatype=HT --startday=1 --hideunits --centeredwidth=3]/[--datatype=LT --startday=1 --hideunits --centeredwidth=3]${goto 90}[--datatype=HT --startday=2 --hideunits --centeredwidth=3]/[--datatype=LT --startday=2 --hideunits --centeredwidth=3]${goto 170}[--datatype=HT --startday=3 --hideunits --centeredwidth=3]/[--datatype=LT --startday=3 --hideunits --centeredwidth=3]${goto 245}[--datatype=HT --startday=4 --hideunits --centeredwidth=3]/[--datatype=LT --startday=4 --hideunits --centeredwidth=3]${color}
  58.  
  59. 13- ${color3}${font Bitstream Vera Sans Mono:size=7}${alignr 20}Last Update: [--datatype=LU]${font}
  60. ######################
  61. ##from kalavalagi ConkyWeather Thread
  62. #####
  63. -d DATATYPE, --datatype=DATATYPE
  64. [default: HT] The data type options are:
  65.  
  66. Today: LT – Feels Like Temp – WITHOUT: “–startday=0″ [--datatype LT]
  67. Today: HT – Current Temp – WITHOUT: “–startday=0″ [--datatype HT]
  68.  
  69. Today: LT – Forcasted Low Temp: – WITH: “–startday=0″ [-- startday=0 --datatype LT]
  70. Today: HT – Forecasted High Temp: – WITH: “–startday=0″ [-- startday=0 --datatype HT]
  71.  
  72. Forecast: LT – Low Temp – use with –startday=1 to 4 [-- startday=1 --datatype LT]
  73. Forecast: HT – High Temp – use with –startday=1 to 4 [-- startday=1 --datatype HT]
  74.  
  75. Font commands:
  76.  
  77. BF (Bearing Font)
  78. BS (Bearing font with Speed)
  79. MF (Moon Font)
  80. WF (Weather Font output)
  81.  
  82. Images commands (conky v1.7.1 or greater)
  83. - Usage:
  84. BI (Bearing Icon Path)
  85. - ${image [--datatype=BI] -p xx,xx -s yyxyy}
  86. - ${image [--datatype=BI --startday=1] -p xx,xx -s yyxyy}
  87. MI (Moon Icon Path)
  88. - ${image [--datatype=MI] -p xx,xx -s yyxyy}
  89. WI (Weather Icon Path) -
  90. - ${image [--datatype=WI] -p xx,xx -s yyxyy}
  91. - ${image [--datatype=WI --startday=1] -p xx,xx -s yyxyy}
  92.  
  93. BD (Barometer Description)
  94. BR (Barometer Reading)
  95. CC (Current Conditions)
  96. CN (City Name)
  97. CO (Country)
  98. CT (Conditions Text)
  99. DL (DayLight)
  100. DP (Dew Point)
  101. DW (Day of Week)
  102. HM (Humidity)
  103. LF (Last Fetch from weather.com). Not applicable at command line when using templates.
  104. LU (Last Update at weather.com)
  105. MP (Moon Phase)
  106. OB (Observatory)
  107. PC (Precipitation Chance)
  108. SR (SunRise)
  109. SS (SunSet)
  110. UI (UV Index)
  111. UT (UV Text)
  112. VI (Visibility)
  113. WA (Wind Angle - in degrees)
  114. WD (Wind Direction)
  115. WG (Wind Gusts)
  116. WM (weather map fetch and image path returned)
  117. WS (Wind Speed)
  118. -s NUMBER, --startday=NUMBER
  119. Define the starting day number, if omitted current
  120. conditions are output. Not applicable at command line
  121. when using templates.
  122. -e NUMBER, --endday=NUMBER
  123. Define the ending day number, if omitted only starting
  124. day data is output. Not applicable at command line
  125. when using templates.
  126. -S NUMBER, --spaces=NUMBER
  127. [default: 1] Define the number of spaces between
  128. ranged output. Not applicable at command line when
  129. using templates.
  130. -t FILE, --template=FILE
  131. Define a template file to generate output in one call.
  132. A displayable item in the file is in the form
  133. [--datatype=HT --startday=1].
  134.  
  135. The following are possible options within each item:
  136. --location
  137. --datatype
  138. --startday
  139. --endday
  140. --night
  141. --shortweekday
  142. --imperial
  143. --beaufort
  144. --metrespersecond
  145. --hideunits
  146. --hidedegreesymbol
  147. --spaces
  148. --minuteshide
  149.  
  150. Note that the short forms of the options are not
  151. supported! If any of these options is set from the
  152. commandline, it sets the default value of the
  153. option for all template items.
  154. -L LOCALE, --locale=LOCALE
  155. Override the system locale for language output, options are:
  156. bg=bulgarian
  157. cs=czech
  158. de=german
  159. es=spanish
  160. en=english
  161. es=spanish
  162. fj=fijian
  163. fr=french
  164. it=italian
  165. nl=dutch
  166. pl=polish
  167. ro=romanian
  168. sk=slovak
  169.  
  170. Hopefully more to come!
  171. -i, --imperial
  172. Request imperial units, if omitted output is in metric.
  173. -b, --beaufort
  174. Request beaufort scale for wind speeds, if omitted output is either metric/imperial.
  175. -M, --metrespersecond
  176. Request metres per second for wind speeds, if omitted
  177. output is either metric/imperial.
  178. -n, --night
  179. Switch output to night data, if omitted day output will be output.
  180. ~/.conkyForecast.config now has: AUTO_NIGHT = True/False Default: False
  181. -w, --shortweekday
  182. Shorten the day of week data type to 3 characters.
  183. -u, --hideunits
  184. Hide units such as mph or C, degree symbols (°) are still shown.
  185. -x, --hidedegreesymbol
  186. Hide the degree symbol used with temperature output,
  187. this is only valid if used in conjunction with
  188. --hideunits.
  189. -m NUMBER, --minuteshide=NUMBER
  190. Works only with LU and LF. If present, hides the date
  191. part of the LU or LF timestamp if the day of the
  192. timestamp is today. The time part is also hidden, if
  193. the timestamp is older than minutes specified in this
  194. argument. If set to 0, the time part is always shown.
  195. If set to -1, the value EXPIRY_MINUTES from the config
  196. file is used.
  197. -c WIDTH, --centeredwidth=WIDTH
  198. If used the output will be centered in a string of the
  199. set width, padded out with spaces, if the output width
  200. is greater than the setting it will be truncated
  201. -r, --refetch
  202. Fetch data regardless of data expiry.
  203. -v, --verbose
  204. Request verbose output, not a good idea when running through conky!
  205. -V, --version
  206. Displays the version of the script.
  207. --errorlogfile=FILE
  208. If a filepath is set, the script appends errors to the filepath.
  209. --infologfile=FILE
  210. If a filepath is set, the script appends info to the filepath.
  211.  
  212.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement