revert #1351 - broke Qt theming

This commit is contained in:
Ly-sec
2026-01-13 02:43:38 +01:00
parent 4f230f8c22
commit d06f9084ba
2 changed files with 4 additions and 28 deletions
+2 -3
View File
@@ -216,8 +216,7 @@ Singleton {
lines.push(`input_path = "${Quickshell.shellDir}/Assets/MatugenTemplates/${inputFile}"`);
const outputPath = output.path.replace("~", homeDir);
lines.push(`output_path = "${outputPath}"`);
// Add postProcess only on last output
if (app.postProcess && idx === app.outputs.length - 1) {
if (app.postProcess) {
const postHook = escapeTomlString(app.postProcess(mode));
lines.push(`post_hook = "${postHook}"`);
}
@@ -656,4 +655,4 @@ Singleton {
}
}
}
}
}
+2 -25
View File
@@ -85,26 +85,8 @@ Singleton {
"outputs": [
{
"path": "~/.local/share/color-schemes/noctalia.colors"
},
{
"path": "~/.local/share/color-schemes/noctalia-alt.colors"
}
],
"postProcess": function (mode) {
// Apply KDE color scheme with workaround for plasma-apply-colorscheme bug
// KDE requires different name to trigger refresh, so we alternate between two files
const stateFile = "~/.cache/noctalia/kde-colorscheme-state";
return `if command -v plasma-apply-colorscheme >/dev/null 2>&1; then
mkdir -p ~/.cache/noctalia
if [ -f "${stateFile}" ] && [ "$(cat ${stateFile})" = "alt" ]; then
plasma-apply-colorscheme noctalia >/dev/null 2>&1
echo "main" > ${stateFile}
else
plasma-apply-colorscheme noctalia-alt >/dev/null 2>&1
echo "alt" > ${stateFile}
fi
fi`;
}
]
},
{
"id": "fuzzel",
@@ -177,11 +159,6 @@ fi`;
"path": "~/.config/armcord",
"requiresThemesFolder": false
},
{
"name": "legcord",
"path": "~/.config/legcord",
"requiresThemesFolder": false
},
{
"name": "equibop",
"path": "~/.config/equibop",
@@ -473,4 +450,4 @@ fi`;
}
}
}
}
}