SystemMonitor: add configurable thresholds for system monitor widget

This commit is contained in:
Sighthesia
2025-11-12 11:05:41 +08:00
parent 84e413f316
commit ccbfa926dd
3 changed files with 255 additions and 7 deletions
+9 -1
View File
@@ -147,7 +147,15 @@ Singleton {
"showMemoryUsage": true,
"showMemoryAsPercent": false,
"showNetworkStats": false,
"showDiskUsage": false
"showDiskUsage": false,
"cpuWarningThreshold": 80,
"cpuCriticalThreshold": 90,
"tempWarningThreshold": 80,
"tempCriticalThreshold": 90,
"memWarningThreshold": 80,
"memCriticalThreshold": 90,
"diskWarningThreshold": 80,
"diskCriticalThreshold": 90
},
"Taskbar": {
"allowUserSettings": true,