refactor: JSON → INI config via Godot ConfigFile
This commit is contained in:
parent
c6bc1edda4
commit
a6d4c290d3
4 changed files with 64 additions and 43 deletions
14
config/default.cfg
Normal file
14
config/default.cfg
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
[background]
|
||||
color=0.08, 0.08, 0.12
|
||||
|
||||
[modules]
|
||||
show_cpu=true
|
||||
show_memory=true
|
||||
show_network=true
|
||||
show_disk=true
|
||||
|
||||
[performance]
|
||||
refresh_interval=1.0
|
||||
|
||||
[general]
|
||||
theme=default
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
{
|
||||
"background_color": "0.08, 0.08, 0.12",
|
||||
"refresh_interval": 1.0,
|
||||
"show_cpu": true,
|
||||
"show_memory": true,
|
||||
"show_network": true,
|
||||
"show_disk": true,
|
||||
"theme": "default"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue