For ease of maintainability this project has moved from this gist to its own repository. You can go and visit it there.
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
let openWith = args.widgetParameter | |
let widget = new ListWidget() | |
widget.setPadding(8, 10, 5, 10) | |
widget.backgroundColor = new Color("#111E6C") | |
await loadImage() | |
await getRandomEpisode() | |
Script.setWidget(widget) | |
Script.complete() |
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: red; icon-glyph: calendar-alt; | |
// This widget was created by Max Zeryck @mzeryck | |
// Note: before using this script in a widget, change const TEST_MODE to true and run it in the Scriptable app. | |
// The app will prompt you to give calendar access, and then show a preview of the widget. | |
// Make sure to change it back to const TEST_MODE = false prior to adding it to a widget. Happy coding! |
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) |