Skip to content

Instantly share code, notes, and snippets.

@arzzen
Created April 29, 2016 05:31
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 arzzen/1575f9eb3c5daf82f119e37352597dab to your computer and use it in GitHub Desktop.
Save arzzen/1575f9eb3c5daf82f119e37352597dab to your computer and use it in GitHub Desktop.
Cinnamon weather applet - file settings-schema.json
{
"woeidLookup":
{ "type": "button"
, "description": "Get WOEID"
, "callback": "woeidLookup"
, "tooltip": "http://woeid.rosselliot.co.nz/"
}
, "woeid":
{ "type": "entry"
, "default": ""
, "description": "WOEID"
, "tooltip": "Where On Earth ID"
}
, "temperatureUnit":
{ "type": "radiogroup"
, "default": "celsius"
, "description": "Temperature unit"
, "options":
{ "celsius": "celsius"
, "fahrenheit": "fahrenheit"
}
}
, "windSpeedUnit":
{ "type": "combobox"
, "default": "kph"
, "description": "Wind speed unit"
, "options":
{ "kph": "kph"
, "mph": "mph"
, "m/s": "m/s"
, "knots": "knots"
}
}
, "pressureUnit":
{ "type": "combobox"
, "default": "mbar"
, "description": "Atmospheric pressure unit"
, "options":
{ "mbar": "mbar"
, "in Hg": "in Hg"
, "mm Hg": "mm Hg"
, "psi": "psi"
, "at": "at"
, "atm": "atm"
, "Pa": "Pa"
, "kPa": "kPa"
}
}
, "showSunrise":
{ "type": "checkbox"
, "default": true
, "description": "Show sunrise / sunset times"
}
, "show24Hours":
{ "type": "checkbox"
, "default": false
, "description": "Display time in 24 hour format"
}
, "showFivedayForecast":
{ "type": "checkbox"
, "default": false
, "description": "Show 5-day forecast"
}
, "translateCondition":
{ "type": "checkbox"
, "default": true
, "description": "Translate condition"
}
, "useSymbolicIcons":
{ "type": "checkbox"
, "default": false
, "description": "Symbolic icons"
}
, "showTextInPanel":
{ "type": "checkbox"
, "default": true
, "description": "Display current temperature in panel"
}
, "showCommentInPanel":
{ "type": "checkbox"
, "default": true
, "description": "Show the weather condition (e.g., \"Windy\", \"Clear\") in the panel"
}
, "locationLabelOverride":
{ "type": "entry"
, "default": ""
, "description": "Override location label"
}
, "refreshInterval":
{ "type": "spinbutton"
, "default": 15
, "min": 1
, "max": 360
, "units": "minutes"
, "step": 5
, "description": "Update interval"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment