diff --git a/.config/quickshell/services/ResourceUsage.qml b/.config/quickshell/services/ResourceUsage.qml index 39078fbde..a0321d918 100644 --- a/.config/quickshell/services/ResourceUsage.qml +++ b/.config/quickshell/services/ResourceUsage.qml @@ -19,7 +19,8 @@ Singleton { property var previousCpuStats Timer { - interval: 10 + triggeredOnStart: true + interval: ConfigOptions?.resources?.updateInterval ?? 3000 running: true repeat: true onTriggered: { @@ -50,7 +51,6 @@ Singleton { previousCpuStats = { total, idle } } - interval = ConfigOptions?.resources?.updateInterval ?? 3000 } } diff --git a/.config/quickshell/services/SystemInfo.qml b/.config/quickshell/services/SystemInfo.qml index 23f798264..8660693e8 100644 --- a/.config/quickshell/services/SystemInfo.qml +++ b/.config/quickshell/services/SystemInfo.qml @@ -12,6 +12,7 @@ Singleton { property string username: "user" Timer { + triggeredOnStart: true interval: 1 running: true repeat: false