diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-07-13 03:26:03 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-07-13 03:30:13 +0300 |
| commit | 5cfe5e5e730246948b0c9428ad876b6938590aad (patch) | |
| tree | 53d4bbe1aff6887f63f279eed1b5e4e11e7331b7 /src/main.rs | |
| parent | 7f3364a468f7dcfd8c9c84e5737fe5699f0e3a93 (diff) | |
feat: add configurable sidebar metadata tokens
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index 57ca4dc2..06424fea 100644 --- a/src/main.rs +++ b/src/main.rs @@ -73,6 +73,7 @@ mod ipc; mod kitty_graphics; mod layout; mod logging; +mod metadata_tokens; mod pane; mod persist; mod platform; @@ -304,6 +305,20 @@ const DEFAULT_CONFIG: &str = r##"# herdr configuration # "workspaces" is accepted as an alias for "spaces". # agent_panel_sort = "spaces" +# Expanded agent rows. Built-ins are state_icon, state_text, workspace, tab, pane, agent, +# terminal_title, and terminal_title_stripped. +# Custom values reported through pane metadata use a $name token. +# [ui.sidebar.agents] +# rows = [["state_icon", "workspace", "tab"], ["agent"]] +# Optional canonical agent IDs replace the default rows for matching agents. +# [ui.sidebar.agents.rows_by_agent] +# claude = [["state_icon", "workspace", "tab"], ["terminal_title_stripped"], ["agent"]] + +# Expanded space rows. Built-ins are state_icon, state_text, workspace, branch, and git_status. +# Custom values reported through workspace metadata use a $name token, for example $jj_status. +# [ui.sidebar.spaces] +# rows = [["state_icon", "workspace"], ["branch", "git_status"]] + # Accent color for highlights, borders, and navigation UI. # Accepts: hex (#89b4fa), named colors (cyan, blue, magenta), or rgb(r,g,b) # accent = "cyan" |
