docs: fix malformed json and json formatting (#1460)

This commit is contained in:
Sylvie Crowe 2024-12-10 12:15:14 -08:00 committed by GitHub
parent a298703874
commit 9805ce4921
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -126,7 +126,7 @@ Suppose I want a widget that will run speedtest-go when opened. Then, I can defi
"view": "term",
"controller": "cmd",
"cmd": "speedtest-go --unix",
"cmd:clearonstart"
"cmd:clearonstart": true
}
}
},
@ -144,13 +144,13 @@ Now suppose I wanted to run a TUI app, for instance, `dua`. Well, it turns out t
```json
<... other widgets go here ...>,
"dua" : {
"icon": "brands@linux",
"label": "dua",
"blockdef": {
"meta": {
"view": "term",
"controller": "cmd",
"cmd": "dua"
"icon": "brands@linux",
"label": "dua",
"blockdef": {
"meta": {
"view": "term",
"controller": "cmd",
"cmd": "dua"
}
}
},