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

View file

@ -1,5 +1,6 @@
{
"appearance": {
"currentTheme": "base16-catppuccin-mocha",
"font": "Roboto Medium",
"fontSize": 14,
"iconSize": 14,
@ -10,7 +11,6 @@
"height": 34,
"opacity": 1
},
"themeSwitcherVisible": false,
"wallpaper": {
"wallDir": "/home/lucy/.walls/",
"wallpaper": "/home/lucy/.walls/Kita.png"