scheme refactor
This commit is contained in:
+5
-2
@@ -122,8 +122,11 @@ Singleton {
|
||||
return {
|
||||
logo: general.logo,
|
||||
wallpaperPath: general.wallpaperPath,
|
||||
wallust: general.wallust,
|
||||
schemeGeneration: general.schemeGeneration,
|
||||
color: {
|
||||
wallust: general.color.wallust,
|
||||
mode: general.color.mode,
|
||||
schemeGeneration: general.color.schemeGeneration,
|
||||
},
|
||||
apps: {
|
||||
terminal: general.apps.terminal,
|
||||
audio: general.apps.audio,
|
||||
|
||||
+7
-2
@@ -4,11 +4,16 @@ import Quickshell
|
||||
JsonObject {
|
||||
property string logo: ""
|
||||
property string wallpaperPath: Quickshell.env("HOME") + "/Pictures/Wallpapers"
|
||||
property bool wallust: false
|
||||
property bool schemeGeneration: true
|
||||
property Color color: Color {}
|
||||
property Apps apps: Apps {}
|
||||
property Idle idle: Idle {}
|
||||
|
||||
component Color: JsonObject {
|
||||
property bool wallust: false
|
||||
property bool schemeGeneration: true
|
||||
property string mode: "dark"
|
||||
}
|
||||
|
||||
component Apps: JsonObject {
|
||||
property list<string> terminal: ["kitty"]
|
||||
property list<string> audio: ["pavucontrol"]
|
||||
|
||||
Reference in New Issue
Block a user