Settings window #20

Merged
Zacharias-Brohn merged 83 commits from settingsWindow into main 2026-03-06 23:27:24 +01:00
Showing only changes of commit e195f58125 - Show all commits
+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