diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-07-12 23:57:06 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-07-12 23:57:06 +0800 |
| commit | f01658cd6da6ccfab9b59478d427511d4179c383 (patch) | |
| tree | 268088f8c6071a85b64ea3fa333f4a675de95954 /services/Resource.qml | |
| parent | 1c259d7878c00592916dc6acdb6e22771b22bbf1 (diff) | |
finallyt fucking finished unstyled bar (also no interactivity)
Diffstat (limited to 'services/Resource.qml')
| -rw-r--r-- | services/Resource.qml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/services/Resource.qml b/services/Resource.qml index b45538b..d2ab9af 100644 --- a/services/Resource.qml +++ b/services/Resource.qml @@ -63,8 +63,8 @@ Singleton { const cpuTempText = fileCpuThermal.text(); cpuTemp = cpuTempText ? parseInt(cpuTempText.trim()) / 100000 : 0; - gpuUsageProcess.running = true; - gpuTempProcess.running = true; + gpuUsageProc.running = true; + gpuTempProc.running = true; interval = General.resourceUpdateInterval * 1000; } } @@ -83,7 +83,7 @@ Singleton { } // nvidia-smi may be dead if firmware update so ABI break etc. Process { - id: gpuUsageProcess + id: gpuUsageProc running: true command: ["nvidia-smi", "--query-gpu=utilization.gpu", "--format=csv,noheader,nounits"] stdout: StdioCollector { @@ -93,7 +93,7 @@ Singleton { } } Process { - id: gpuTempProcess + id: gpuTempProc running: true command: ["nvidia-smi", "--query-gpu=temperature.gpu", "--format=csv,noheader,nounits"] stdout: StdioCollector { |
