mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-06-06 03:55:02 +00:00
Lysec's code added that includes .toml extension. Fixed themes not updating
This commit is contained in:
@@ -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}`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user