Lysec's code added that includes .toml extension. Fixed themes not updating

This commit is contained in:
Corey Woodworth
2025-11-02 12:15:38 -05:00
parent f882ace0e2
commit 69b4ff524e
+6 -1
View File
@@ -388,7 +388,12 @@ Singleton {
const mode = Settings.data.colorSchemes.darkMode ? 'dark' : 'light'
colorScheme = schemeNameMap[colorScheme] || colorScheme
const extension = terminal === 'kitty' ? ".conf" : ""
let extension = ""
if (terminal === 'kitty') {
extension = ".conf"
} else if (terminal === 'wezterm') {
extension = ".toml"
}
return `${Quickshell.shellDir}/Assets/ColorScheme/${colorScheme}/terminal/${terminal}/${colorScheme}-${mode}${extension}`
}