From 783057ab0d694de7f3d79e96851bcdcfe1965cbd Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Mon, 25 Aug 2025 20:13:55 +1000 Subject: background: add visualiser Also dashboard.visualiserBars -> services.visualiserBars --- config/BackgroundConfig.qml | 8 ++++++++ config/DashboardConfig.qml | 1 - config/ServiceConfig.qml | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) (limited to 'config') diff --git a/config/BackgroundConfig.qml b/config/BackgroundConfig.qml index 35e16d1..e901545 100644 --- a/config/BackgroundConfig.qml +++ b/config/BackgroundConfig.qml @@ -3,8 +3,16 @@ import Quickshell.Io JsonObject { property bool enabled: true property DesktopClock desktopClock: DesktopClock {} + property Visualiser visualiser: Visualiser {} component DesktopClock: JsonObject { property bool enabled: false } + + component Visualiser: JsonObject { + property bool enabled: true + property bool autoHide: true + property real rounding: 1 + property real spacing: 1 + } } diff --git a/config/DashboardConfig.qml b/config/DashboardConfig.qml index 26d2442..030292b 100644 --- a/config/DashboardConfig.qml +++ b/config/DashboardConfig.qml @@ -4,7 +4,6 @@ JsonObject { property bool enabled: true property bool showOnHover: true property int mediaUpdateInterval: 500 - property int visualiserBars: 45 property int dragThreshold: 50 property Sizes sizes: Sizes {} diff --git a/config/ServiceConfig.qml b/config/ServiceConfig.qml index cca554b..c8a49b3 100644 --- a/config/ServiceConfig.qml +++ b/config/ServiceConfig.qml @@ -6,6 +6,7 @@ JsonObject { property bool useFahrenheit: [Locale.ImperialUSSystem, Locale.ImperialSystem].includes(Qt.locale().measurementSystem) property bool useTwelveHourClock: Qt.locale().timeFormat(Locale.ShortFormat).toLowerCase().includes("a") property string gpuType: "" + property int visualiserBars: 45 property real audioIncrement: 0.1 property bool smartScheme: true property string defaultPlayer: "Spotify" -- cgit v1.2.3-freya