Skip to content

danillotuhumury/klimato-dashing-widget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

Dashing widget to display weather from Yahoo! Weather using Climacons Font. Also the background of the widget automatically changes to the current temperature outside.

##Dependencies

json

Add the gem to your dashing gemfile:

gem 'json'

and run bundle install.

##Usage

To use this widget, copy klimato.coffee, klimato.html, and klimato.sass into the /widgets/klimato directory. Put the klimato.rb file in your /jobs folder, the 4 font files (.EOT, .WOFF, .SVG & .TTF) in your /assets/fonts directory and the climacons-font.css in your /assets/stylesheets directory.

To include the widget into your dashboard add the following code:

<li data-row="1" data-col="1" data-sizex="1" data-sizey="1">
  <div data-id="klimato" data-view="Klimato"></div>
</li>

##Settings

Adjust the widget to your desired location by editing the WOEID (Where On Earth ID) in the jobs file. (You can lookup your WOEID here: http://woeid.rosselliot.co.nz)

You are also able to change the metrics unit for your widget by editing the format in the jobs file. (Yahoo! Weather API supports both Fahrenheit (f) and Celsius (c))

##Preview

cold hot

About

Yahoo Weather widget for Dashing using Climacons.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published