usable
This commit is contained in:
@@ -7,11 +7,15 @@ Singleton {
|
||||
|
||||
property string wallpaper: json.wallpaper
|
||||
|
||||
property string alpha: json.alpha
|
||||
property string alpha: Math.round(parseInt(json.alpha, 10) * 0xFF / 100).toString(16)
|
||||
|
||||
property JsonObject special: json.special
|
||||
property JsonObject colors: json.colors
|
||||
|
||||
function argb(c) {
|
||||
return c.slice(0, 1) + Pywal.alpha + c.slice(1)
|
||||
}
|
||||
|
||||
FileView {
|
||||
|
||||
path: "/home/nathan/.cache/wal/colors.json"
|
||||
|
||||
Reference in New Issue
Block a user