Skip to content
This repository was archived by the owner on Jul 17, 2025. It is now read-only.

Commit 90d9a72

Browse files
committed
text
1 parent 2d6301c commit 90d9a72

File tree

1 file changed

+21
-7
lines changed

1 file changed

+21
-7
lines changed

data/doc/4.widgets/5.box/1.text.md

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,27 @@ Text provide one preset `time`.
88

99
```json
1010
{
11-
"type": "text",
12-
"fg_color": "#FFFFFF",
13-
"font_size": 16,
14-
"font_family": "JetBrainsMono Nerd Font",
15-
"preset": {
16-
"type": "time",
17-
"format": "%m-%d\n%H:%M"
11+
"name": "time",
12+
"edge": "bottom",
13+
"monitor": "HDMI-A-1",
14+
"layer": "overlay",
15+
"widget": {
16+
"type": "wrap-box",
17+
"widgets": [
18+
{
19+
"index": [-1, -1],
20+
"widget": {
21+
"type": "text",
22+
"fg_color": "#FFFFFF",
23+
"font_size": 60,
24+
"font_family": "JetBrainsMono Nerd Font",
25+
"preset": {
26+
"type": "time",
27+
"format": "%m-%d\n%H:%M"
28+
}
29+
}
30+
}
31+
]
1832
}
1933
}
2034
```

0 commit comments

Comments
 (0)