settings panel

With first draft version of wallpaper changer
This commit is contained in:
2024-02-21 13:27:07 +01:00
parent 2eeb8eee10
commit ae7268736f
6 changed files with 53 additions and 27 deletions
+8
View File
@@ -41,4 +41,12 @@
localStorage.removeItem("position")
}
}
</script>
<script>
function setWallpaper() {
url = localStorage.getItem("wallpaper")
if (url)
document.body.style.backgroundImage = "url(" + url + ")";
}
</script>