Skip to content

Instantly share code, notes, and snippets.

@larsenwork
Last active December 18, 2015 13:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save larsenwork/5792585 to your computer and use it in GitHub Desktop.
Save larsenwork/5792585 to your computer and use it in GitHub Desktop.
var Settings = new function() {
// Color: 'white' or 'black'
this.widgetColor = 'white';
// Background: 'none' or 'translucent'
this.widgetBackground = 'none';
// Language: 'EN', 'FR', 'DE', 'IT', 'ES' or 'DA'
this.widgetLang = 'EN';
// Clock: '24' or '12'
this.clockFormat = '24';
// Weather forecast: 'on' or 'off'
this.weatherEnable = 'off';
// Weather forecast format:
// 'US' for F " mph
// 'EU' for C mm m/s
this.weatherFormat = 'EU';
// Forecast location
// Go to yr.no
// Search for your city
// Copy the country/state/city part of the URL
this.weatherPlace = 'United_Kingdom/England/London';
// Forecast length:
// '4' for 1 Day
// '8' for 2 Days
// '12' for 3 Days
this.weatherLength = '8';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment