config fixes

This commit is contained in:
Zacharias-Brohn
2026-02-17 12:46:25 +01:00
parent 7d9ba3d570
commit e818ac5515
39 changed files with 888 additions and 144 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ Searcher {
id: wallpapers
recursive: true
path: Config.wallpaperPath
path: Config.general.wallpaperPath
filter: FileSystemModel.Images
}
}
+2 -2
View File
@@ -10,7 +10,7 @@ Singleton {
property real cpuPerc
property real cpuTemp
readonly property string gpuType: Config.gpuType.toUpperCase() || autoGpuType
readonly property string gpuType: Config.services.gpuType.toUpperCase() || autoGpuType
property string autoGpuType: "NONE"
property real gpuPerc
property real gpuTemp
@@ -145,7 +145,7 @@ Singleton {
Process {
id: gpuTypeCheck
running: !Config.gpuType
running: !Config.services.gpuType
command: ["sh", "-c", "if command -v nvidia-smi &>/dev/null && nvidia-smi -L &>/dev/null; then echo NVIDIA; elif ls /sys/class/drm/card*/device/gpu_busy_percent 2>/dev/null | grep -q .; then echo GENERIC; else echo NONE; fi"]
stdout: StdioCollector {
onStreamFinished: root.autoGpuType = text.trim()