QuickSettings: customization!?

This commit is contained in:
lysec
2025-10-09 13:56:35 +02:00
parent a90bca23aa
commit f77efc409b
15 changed files with 507 additions and 33 deletions
@@ -4,17 +4,19 @@ import qs.Commons
import qs.Services
import qs.Widgets
NButton {
NQuickSetting {
property ShellScreen screen
property real scaling: 1.0
enabled: Settings.data.wallpaper.enabled
outlined: true
icon: "wallpaper-selector"
text: "Wallpaper"
fontSize: Style.fontSizeS * scaling
fontWeight: Style.fontWeightRegular
fontWeight: Style.fontWeightMedium
active: Settings.data.wallpaper.enabled
tooltipText: "Open wallpaper selector"
style: Settings.data.controlCenter.quickSettingsStyle || "modern"
onClicked: PanelService.getPanel("wallpaperPanel")?.toggle(this)
onRightClicked: WallpaperService.setRandomWallpaper()
}