feat: add featured wallpaper

This commit is contained in:
2 * r + 2 * t 2026-06-06 02:23:59 +10:00
parent 027ab59ee5
commit 7fb9f3d88d
2 changed files with 6 additions and 2 deletions

BIN
assets/wallpaper.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 MiB

View file

@ -2,6 +2,7 @@ pragma ComponentBehavior: Bound
import QtQuick
import QtQuick.Layouts
import Quickshell
import Caelestia.Components
import Caelestia.Config
import Caelestia.Models
@ -71,10 +72,13 @@ PageBase {
WallItem {
imgHeight: Math.round(width * 0.3)
radius: Tokens.rounding.extraLarge
source: Wallpapers.current
source: Quickshell.shellPath("assets/wallpaper.webp")
text: qsTr("Featured wallpaper")
fillLabel: false
onClicked: ; // TODO
onClicked: {
Wallpapers.setWallpaper(Quickshell.shellPath("assets/wallpaper.webp"));
root.nState.closeSubPage();
}
}
StyledText {