Skip to content

Instantly share code, notes, and snippets.

View LaszloMocsy's full-sized avatar

László Mócsy LaszloMocsy

View GitHub Profile
@LaszloMocsy
LaszloMocsy / statusline-command.sh
Last active August 1, 2026 15:37
Exmaple usage of Claude Code's statusline-command.sh
#!/bin/bash
# Claude Code statusLine
# Renders: [model effort] [git] · Ctx <bar> · 5h <bar> · 7d <bar> · +/- · $cost
# Each metric: label [sub-cell bar] NN% <reset-countdown> [pace]
# Bars fill in 1/8th steps; fill = prominent hue, empty = same hue darkened
# (cell background). Truecolor (24-bit) required.
input=$(cat)
# ─── config ──────────────────────────────────────────────────────────────