WallpaperSelector overhaul: initial commit

This commit is contained in:
Ly-sec
2025-09-18 17:55:30 +02:00
parent 3d9295856c
commit 1bd093db7f
6 changed files with 310 additions and 24 deletions
+2 -8
View File
@@ -55,14 +55,8 @@ NBox {
visible: Settings.data.wallpaper.enabled
icon: "wallpaper-selector"
tooltipText: "Left click: Open wallpaper selector.\nRight click: Set random wallpaper."
onClicked: {
var settingsPanel = PanelService.getPanel("settingsPanel")
settingsPanel.requestedTab = SettingsPanel.Tab.WallpaperSelector
settingsPanel.open()
}
onRightClicked: {
WallpaperService.setRandomWallpaper()
}
onClicked: PanelService.getPanel("wallpaperSelectorPanel")?.toggle(this)
onRightClicked: WallpaperService.setRandomWallpaper()
}
Item {