Skip to content

Commit f89b305

Browse files
committed
tweak claude statusline
1 parent 0e85c75 commit f89b305

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ai/claude/statusline.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ try {
9090
const fiveH = Math.round(rateLimits.five_hour.used_percentage);
9191
const sevenD = Math.round(rateLimits.seven_day.used_percentage);
9292
const maxPct = Math.max(fiveH, sevenD);
93-
const bgColor = maxPct > 75 ? "rgb(226, 0, 0)" : maxPct > 50 ? "rgb(217, 119, 87)" : "rgb(68, 68, 68)";
94-
const color = maxPct > 50 ? "rgb(0, 0, 0)" : "rgb(255, 255, 255)";
93+
const bgColor = maxPct > 75 ? "rgb(226, 0, 0)" : maxPct > 50 ? "rgb(217, 119, 87)" : "rgb(70, 107, 62)";
94+
const color = "rgb(255, 255, 255)";
9595
sections.push({ text: `5h:${fiveH}% 7d:${sevenD}%`, bgColor, color });
9696
}
9797

0 commit comments

Comments
 (0)