feat: add configurable pi statusbar extension
This commit is contained in:
41
config.ts
Normal file
41
config.ts
Normal file
@@ -0,0 +1,41 @@
|
||||
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,
|
||||
},
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user