Reduce logging noise, fix small warning

This commit is contained in:
lysec
2025-10-18 20:47:20 +02:00
parent b3e649a180
commit ba787cf390
2 changed files with 8 additions and 8 deletions
+4 -3
View File
@@ -387,14 +387,14 @@ Singleton {
stdout: StdioCollector {
onStreamFinished: {
if (this.text) {
Logger.i("AppThemeService", "GenerateProcess stdout:", this.text)
Logger.d("AppThemeService", "GenerateProcess stdout:", this.text)
}
}
}
stderr: StdioCollector {
onStreamFinished: {
if (this.text) {
Logger.w("AppThemeService", "GenerateProcess stderr:", this.text)
Logger.d("AppThemeService", "GenerateProcess stderr:", this.text)
}
}
}
@@ -402,11 +402,12 @@ Singleton {
Process {
id: copyProcess
workingDirectory: Quickshell.shellDir
running: false
stderr: StdioCollector {
onStreamFinished: {
if (this.text) {
Logger.w("AppThemeService", "CopyProcess stderr:", this.text)
Logger.d("AppThemeService", "CopyProcess stderr:", this.text)
}
}
}
+4 -5
View File
@@ -47,10 +47,9 @@ Singleton {
lines.push("# post_hook = \"myapp --reload-theme\"")
lines.push("")
lines.push("# Remove this section and add your own templates")
lines.push("[templates.placeholder]")
lines.push("input_path = \"" + Quickshell.shellDir + "/Assets/MatugenTemplates/noctalia.json\"")
lines.push("output_path = \"" + Settings.cacheDir + "placeholder.json\"")
lines.push("post_hook = \"echo 'User templates enabled - replace this placeholder with your own templates'\"")
lines.push("#[templates.placeholder]")
lines.push("#input_path = \"" + Quickshell.shellDir + "/Assets/MatugenTemplates/noctalia.json\"")
lines.push("#output_path = \"" + Settings.cacheDir + "placeholder.json\"")
lines.push("")
return lines.join("\n") + "\n"
@@ -75,7 +74,7 @@ Singleton {
// Write the config file
Quickshell.execDetached(["sh", "-c", `echo '${configContent.replace(/'/g, "'\\''")}' > '${userConfigPath}'`])
Logger.i("MatugenTemplates", "User templates config written to:", userConfigPath)
Logger.d("MatugenTemplates", "User templates config written to:", userConfigPath)
}
// --------------------------------