diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-04 16:29:34 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-04 16:29:34 +1000 |
| commit | 4c84e4fff3a0243c9c977114584cda44f2173222 (patch) | |
| tree | 020cf2a25b3fc2a8900d453cd6d7a0a75f7e7632 /modules/launcher/Content.qml | |
| parent | launcher: anim wallpaperitem creation (diff) | |
| download | caelestia-shell-4c84e4fff3a0243c9c977114584cda44f2173222.tar.gz caelestia-shell-4c84e4fff3a0243c9c977114584cda44f2173222.tar.bz2 caelestia-shell-4c84e4fff3a0243c9c977114584cda44f2173222.zip | |
feat: actually set wallpaper
Make launcher wallpaper picker actually work
Diffstat (limited to 'modules/launcher/Content.qml')
| -rw-r--r-- | modules/launcher/Content.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/launcher/Content.qml b/modules/launcher/Content.qml index be6be2e..9759abb 100644 --- a/modules/launcher/Content.qml +++ b/modules/launcher/Content.qml @@ -70,8 +70,8 @@ Item { const currentItem = list.currentList?.currentItem; if (currentItem) { if (list.showWallpapers) { - // TODO - console.log(currentItem.modelData.path); + Wallpapers.setWallpaper(currentItem.modelData.path); + root.launcher.launcherVisible = false; } else if (text.startsWith(LauncherConfig.actionPrefix)) { currentItem.modelData.onClicked(list.currentList); } else { |