using initialTitle instead of currentTitle

This commit is contained in:
Zacharias-Brohn
2025-10-14 20:58:34 +02:00
parent 2350b6db28
commit 800f3c53e7
6 changed files with 52 additions and 15 deletions
+2 -3
View File
@@ -5,9 +5,6 @@ import QtQuick
import Quickshell
import Quickshell.Io
/**
* Simple polled resource usage service with RAM, Swap, and CPU usage.
*/
Singleton {
property double memoryTotal: 1
property double memoryFree: 1
@@ -22,6 +19,7 @@ Singleton {
property double gpuUsage: 0
property double gpuMemUsage: 0
property double totalMem: 0
Timer {
interval: 1
running: true
@@ -70,6 +68,7 @@ Singleton {
stdout: StdioCollector {
onStreamFinished: {
totalMem = Number(this.text.trim())
oneshotMem.running = false
}
}
}