SystemMonitor: transfer system monitor threshold settings to gloabal setting tab

This commit is contained in:
Sighthesia
2025-11-14 17:18:23 +08:00
parent d51dbb295b
commit 4b2e8b6ef0
7 changed files with 264 additions and 270 deletions
+12
View File
@@ -321,6 +321,18 @@ Singleton {
}]
}
// system monitor
property JsonObject systemMonitor: JsonObject {
property int cpuWarningThreshold: 80
property int cpuCriticalThreshold: 90
property int tempWarningThreshold: 80
property int tempCriticalThreshold: 90
property int memWarningThreshold: 80
property int memCriticalThreshold: 90
property int diskWarningThreshold: 80
property int diskCriticalThreshold: 90
}
// dock
property JsonObject dock: JsonObject {
property bool enabled: true