diff --git a/src/.config/ags/lastfm.js b/src/.config/ags/lastfm.js index 1df1291..53dc9e8 100644 --- a/src/.config/ags/lastfm.js +++ b/src/.config/ags/lastfm.js @@ -85,8 +85,7 @@ export function LastfmWidget(monitor = 0) { css: "font-size: 25px;", }); - Utils.interval( - 5000, + setInterval( () => { lastFM.getRecentTracks("yourfriendoss").then((z) => { if(!z) return; @@ -102,7 +101,7 @@ export function LastfmWidget(monitor = 0) { imagebox.setCss(generateCSS(track.image.at(-1)["#text"])); }); }, - imagebox + 5000 ); return Widget.Window({