Files
pi-statusline/config.ts

42 lines
971 B
TypeScript

import type { StatusbarConfig } from "./types";
export const statusbarConfig: StatusbarConfig = {
separator: "·",
rows: [
{
left: ["directory"],
right: ["context", "model"],
},
{
center: [
{ type: "usage", window: "current", style: "line", grow: 1 },
{
type: "usage",
window: "current",
style: "text",
parts: ["time"],
},
{
type: "usage",
window: "week",
style: "text",
parts: ["time"],
},
{ type: "usage", window: "week", style: "line", grow: 1 },
],
},
],
modules: {
directory: { showGitBranch: true, showSessionName: true },
context: { showWindow: true },
model: { showProvider: true, showThinking: true },
cost: { showSubscription: false },
usage: {
showText: false,
parts: ["percent", "time"],
separator: " | ",
colorBars: true,
},
},
};