From 9805ce49219740f3cca948f65d3bc015c9d93478 Mon Sep 17 00:00:00 2001 From: Sylvie Crowe <107814465+oneirocosm@users.noreply.github.com> Date: Tue, 10 Dec 2024 12:15:14 -0800 Subject: [PATCH] docs: fix malformed json and json formatting (#1460) --- docs/docs/customwidgets.mdx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/docs/customwidgets.mdx b/docs/docs/customwidgets.mdx index b72a8ae89..5896800ef 100644 --- a/docs/docs/customwidgets.mdx +++ b/docs/docs/customwidgets.mdx @@ -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" } } },