SystemMonitor: add % support for RAM usage

This commit is contained in:
Ly-sec
2025-09-08 08:04:18 +02:00
parent 38928abab7
commit b6166a2a7c
6 changed files with 19 additions and 5 deletions
+1 -1
View File
@@ -112,7 +112,7 @@ Singleton {
Logger.log("Color", "Writing colors to disk")
writeAdapter()
}
// Trigger initial load when path changes from empty to actual path
onPathChanged: {
if (path === Settings.configDir + "colors.json") {
+2 -2
View File
@@ -183,7 +183,7 @@ Singleton {
Quickshell.execDetached(["mkdir", "-p", configDir])
Quickshell.execDetached(["mkdir", "-p", cacheDir])
Quickshell.execDetached(["mkdir", "-p", cacheDirImages])
// Mark directories as created and trigger file loading
directoriesCreated = true
}
@@ -203,7 +203,7 @@ Singleton {
watchChanges: true
onFileChanged: reload()
onAdapterUpdated: saveTimer.start()
// Trigger initial load when path changes from empty to actual path
onPathChanged: {
if (path === settingsFile) {