aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-07-16 03:19:52 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-07-16 03:21:36 +0300
commitb16465afbbf8e4e959076fceb7e84377f2ecc379 (patch)
tree254fb187610adfa41738f6522dd236b3df4f2138 /src/main.rs
parent947328fa79fcefd2fa8087de014168d46a641312 (diff)
feat: add configurable sidebar token styles
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 0649da9e..e1d9d87f 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -313,6 +313,8 @@ const DEFAULT_CONFIG: &str = r##"# herdr configuration
# 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.
+# A token occurrence may be styled with { token = "workspace", fg = "#89b4fa", bold = true, dim = false }.
+# Omitted style fields preserve the contextual default.
# [ui.sidebar.agents]
# Blank rows between agent entries. Set to 1 to restore the previous spacing.
# row_gap = 0
@@ -323,6 +325,7 @@ const DEFAULT_CONFIG: &str = r##"# herdr configuration
# 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.
+# Inline token styles accept strict #RGB/#RRGGBB foregrounds plus bold and dim booleans.
# [ui.sidebar.spaces]
# Blank rows between space entries. Set to 1 to restore the previous spacing.
# row_gap = 0