pragma Singleton import Quickshell import Quickshell.Io Singleton { property string wallpaper: json.wallpaper property string alpha: json.alpha property JsonObject special: json.special property JsonObject colors: json.colors FileView { path: "/home/nathan/.cache/wal/colors.json" watchChanges: true onFileChanged: reload() JsonAdapter { id: json property string wallpaper: "/home/nathan/Pictures/Wallpaper/bluescape.jpg" property string alpha: "100" property JsonObject special: JsonObject { property string background: "white" property string foreground: "white" property string cursor: "white" } property JsonObject colors: JsonObject { property string color0: "white" property string color1: "white" property string color2: "white" property string color3: "white" property string color4: "white" property string color5: "white" property string color6: "white" property string color7: "white" property string color8: "white" property string color9: "white" property string color10: "white" property string color11: "white" property string color12: "white" property string color13: "white" property string color14: "white" property string color15: "white" } } } }