This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (config.runsInWidget) { | |
let widget = createWidget() | |
Script.setWidget(widget) | |
Script.complete() | |
} else { | |
} | |
function createWidget() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Variables used by Scriptable. | |
// These must be at the very top of the file. Do not edit. | |
// icon-color: deep-purple; icon-glyph: image; | |
// This widget was complied by Geoffrey Martin (@GeoffreyDMartin) and uses multiple ideas and scripts from the Scriptable Forums at talk.automators.com. | |
// The "transparency" portion of the script from using code from a widget created by Max Zeryck @mzeryck (see https://gist.github.com/mzeryck/3a97ccd1e059b3afa3c6666d27a496c9) | |
// The weather portion of the script was taken from ImGamez (see https://gist.github.com/ImGamez/a8f9d77bf660d7703cc96fee87cdc4b0) |