This commit is contained in:
Zacharias-Brohn
2026-03-04 22:52:08 +01:00
parent 71b871c976
commit e195f58125
+6
View File
@@ -78,6 +78,12 @@ Singleton {
return Qt.hsla(c.hslHue, c.hslSaturation, 0.1, 1); return Qt.hsla(c.hslHue, c.hslSaturation, 0.1, 1);
} }
function setMode(mode: string): void {
Quickshell.execDetached(["zshell-cli", "scheme", "generate", "--mode", mode]);
Config.general.color.mode = mode;
Config.save();
}
FileView { FileView {
path: `${Paths.state}/scheme.json` path: `${Paths.state}/scheme.json`
watchChanges: true watchChanges: true