Skip to content

Commit bffcb54

Browse files
author
Gurasuraisu
committed
Added airy wallpaper
1 parent cf3eef8 commit bffcb54

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

assets/gurapp/intl/airy/img.jpg

343 KB
Loading

assets/gurapp/intl/airy/index.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,21 @@ function updatePersistentClock() {
354354

355355
// Initial update
356356
updatePersistentClock();
357+
358+
function applySysWallpaper() {
359+
document.body.style.backgroundImage = `url('/assets/gurapp/intl/airy/img.jpg') !important`;
360+
document.body.style.backgroundSize = 'cover';
361+
document.body.style.backgroundPosition = 'center';
362+
363+
if (recentWallpapers.length === 0) {
364+
recentWallpapers.push({
365+
url: WALLPAPER_URL,
366+
clockStyles: {}
367+
});
368+
}
369+
}
370+
371+
applySysWallpaper();
357372
});
358373

359374
// Function to check if it's daytime (between 6:00 and 18:00)

0 commit comments

Comments
 (0)