Skip to content

Commit 8d9022c

Browse files
committed
Fix ccstatusline line 1: distinct token colors, identifiers, spacing
- Add rawValue to model widget to strip "Model:" prefix - Replace merge: no-padding with normal spacing between token widgets - Give each token widget a distinct background (blue, magenta, yellow, green) - Add bold 2-char custom-text labels (In, Ou, Ca, Tt) fused to each token widget
1 parent d2ba55e commit 8d9022c

File tree

1 file changed

+44
-6
lines changed

1 file changed

+44
-6
lines changed

.devcontainer/config/defaults/ccstatusline-settings.json

Lines changed: 44 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
{
66
"id": "d904cca6-ade8-41c1-a4f5-ddea30607a5e",
77
"type": "model",
8-
"backgroundColor": "bgMagenta"
8+
"backgroundColor": "bgMagenta",
9+
"rawValue": true
910
},
1011
{
1112
"id": "1",
@@ -19,31 +20,68 @@
1920
"backgroundColor": "bgRed",
2021
"rawValue": true
2122
},
23+
{
24+
"id": "lbl-tokens-input",
25+
"type": "custom-text",
26+
"customText": "In",
27+
"backgroundColor": "bgBlue",
28+
"color": "brightWhite",
29+
"bold": true,
30+
"merge": "no-padding"
31+
},
2232
{
2333
"id": "5",
2434
"type": "tokens-input",
25-
"color": "magenta",
26-
"rawValue": true,
35+
"backgroundColor": "bgBlue",
36+
"color": "brightWhite",
37+
"rawValue": true
38+
},
39+
{
40+
"id": "lbl-tokens-output",
41+
"type": "custom-text",
42+
"customText": "Ou",
43+
"backgroundColor": "bgMagenta",
44+
"color": "brightWhite",
45+
"bold": true,
2746
"merge": "no-padding"
2847
},
2948
{
3049
"id": "ac094d46-3673-4d41-84e3-dc8c5bcf639f",
3150
"type": "tokens-output",
3251
"backgroundColor": "bgMagenta",
33-
"rawValue": true,
52+
"color": "brightWhite",
53+
"rawValue": true
54+
},
55+
{
56+
"id": "lbl-tokens-cached",
57+
"type": "custom-text",
58+
"customText": "Ca",
59+
"backgroundColor": "bgYellow",
60+
"color": "black",
61+
"bold": true,
3462
"merge": "no-padding"
3563
},
3664
{
3765
"id": "2ad12147-05fd-45fb-8336-53ba2e7df56c",
3866
"type": "tokens-cached",
39-
"backgroundColor": "bgBrightRed",
40-
"rawValue": true,
67+
"backgroundColor": "bgYellow",
68+
"color": "black",
69+
"rawValue": true
70+
},
71+
{
72+
"id": "lbl-tokens-total",
73+
"type": "custom-text",
74+
"customText": "Tt",
75+
"backgroundColor": "bgGreen",
76+
"color": "black",
77+
"bold": true,
4178
"merge": "no-padding"
4279
},
4380
{
4481
"id": "9bacbdb4-2e01-45de-a0c0-ee6ec30fa3c2",
4582
"type": "tokens-total",
4683
"backgroundColor": "bgGreen",
84+
"color": "black",
4785
"rawValue": true
4886
}
4987
],

0 commit comments

Comments
 (0)