template-processor: default to material design

This commit is contained in:
Lemmy
2026-01-20 09:33:25 -05:00
parent 244f111373
commit fe9febf495
23 changed files with 52 additions and 38 deletions
+2 -2
View File
@@ -262,7 +262,7 @@ Singleton {
script += `NOCTALIA_WP_PATH=$(cat << '${wpDelimiter}'\n${wallpaper}\n${wpDelimiter}\n)\n`;
// Use template-processor.py (Python implementation)
const styleFlag = (Settings.data.colorSchemes.extractionMethod === "default") ? "--default" : "--material";
const styleFlag = (Settings.data.colorSchemes.generationMethod === "vibrant") ? "--vibrant" : "--material";
// We pass --type for compatibility but it is ignored by internal logic unless needed
script += `python3 "${templateProcessorScript}" "$NOCTALIA_WP_PATH" ${styleFlag} --config '${pathEsc}' --mode ${mode} `;
@@ -363,7 +363,7 @@ Singleton {
// Otherwise, use single quotes for safety with file paths
const inputQuoted = input.startsWith("$") ? `"${input}"` : `'${input.replace(/'/g, "'\\''")}'`;
const styleFlag = (Settings.data.colorSchemes.extractionMethod === "default") ? "--default" : "--material";
const styleFlag = (Settings.data.colorSchemes.generationMethod === "vibrant") ? "--vibrant" : "--material";
script += ` python3 "${templateProcessorScript}" ${inputQuoted} ${styleFlag} --config '${userConfigPath}' --mode ${mode}\n`;
script += "fi";