Skip to content

Instantly share code, notes, and snippets.

View rizwaneramadan's full-sized avatar

Muhammad Rizwan rizwaneramadan

View GitHub Profile
@rizwaneramadan
rizwaneramadan / spotify-now-playing.js
Created November 4, 2023 16:24 — forked from marco79cgn/spotify-now-playing.js
A Scriptable iOS widget that shows what‘s playing on Spotify
let spotifyCredentials
let widget = await createWidget()
Script.setWidget(widget)
Script.complete()
async function createWidget() {
let widget = new ListWidget()
let spotifyIcon = await getImage("spotify-icon.png")
widget.backgroundColor = new Color("1e2040")