mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-24 21:42:51 -05:00
use a matugen template for dms-colors.json
This commit is contained in:
3
matugen/configs/dank.toml
Normal file
3
matugen/configs/dank.toml
Normal file
@@ -0,0 +1,3 @@
|
||||
[templates.dank]
|
||||
input_path = './matugen/templates/dank.json'
|
||||
output_path = '~/.cache/quickshell/dankshell/dms-colors.json'
|
||||
10
matugen/templates/dank.json
Normal file
10
matugen/templates/dank.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"colors": {
|
||||
"dark": {<* for name, value in colors *>
|
||||
"{{name}}": "{{value.dark.hex}}"<* if not loop.last *>,<* endif *><* endfor *>
|
||||
},
|
||||
"light": {<* for name, value in colors *>
|
||||
"{{name}}": "{{value.light.hex}}"<* if not loop.last *>,<* endif *><* endfor *>
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user