working colorscheme switcher

This commit is contained in:
lucy 2026-09-10 22:43:20 +02:00
commit 20b8012b78
335 changed files with 5914 additions and 36 deletions

View file

@ -20,7 +20,6 @@ Singleton {
}
onAdapterUpdated: {
writeAdapter();
reload();
}
onLoadFailed: error => {
if (error === FileViewError.FileNotFound)
@ -28,12 +27,12 @@ Singleton {
}
adapter: JsonAdapter {
id: cfg
property bool themeSwitcherVisible: false
property JsonObject appearance: JsonObject {
property string font: "Iosevka"
property int fontSize: 14
property int iconSize: 16
property int rounding: 16
property string currentTheme: "base16-catppuccin-mocha"
}
property JsonObject bar: JsonObject {
property bool floating: false