From d4e70945a6f00e78b8a308c5ff96fc30a2a8116b Mon Sep 17 00:00:00 2001 From: Prad Nukala Date: Sat, 29 Aug 2026 11:48:04 -0400 Subject: [PATCH] refactor(config): reorganize UI and theme sections with custom accent and colors --- dot_config/herdr/config.toml | 45 ++++++++--- dot_config/herdr/config.toml.bak | 124 +++++++++++++++++++++++++++++++ 2 files changed, 160 insertions(+), 9 deletions(-) create mode 100644 dot_config/herdr/config.toml.bak diff --git a/dot_config/herdr/config.toml b/dot_config/herdr/config.toml index e6e4a1f..867fda5 100644 --- a/dot_config/herdr/config.toml +++ b/dot_config/herdr/config.toml @@ -3,11 +3,6 @@ onboarding = false [ui.toast] delivery = "system" -[ui] - -show_agent_labels_on_pane_borders = true -agent_panel_sort = "priority" - [keys] # tmux-style bindings (prefix is the leader, default ctrl+b) split_vertical = "prefix+%" @@ -47,10 +42,6 @@ pane_history = false kitty_graphics = true switch_ascii_input_source_in_prefix = true -[theme] -name = "terminal" -auto_switch = false - [[keys.command]] key = "ctrl+h" type = "plugin_action" @@ -122,3 +113,39 @@ key = "prefix+shift+o" type = "shell" command = '"${HERDR_BIN_PATH}" plugin pane open --plugin official.browser --entrypoint browser --placement overlay --focus' description = "open browser overlay" + +[ui] +# The tab strip: `ui.accent` fills the active tab. Solid `#5ea1ff` puts a raw +# neon block above the panes, so this is the same plate kitty's tab bar uses — +# the accent mixed 20% into the background — and the label on top of it is the +# accent itself (see `surface_dim` below). +accent = "#243348" + +[theme] +name = "terminal" +auto_switch = false + +[theme.custom] +# Panes keep the terminal's own background, so kitty's translucency, and the +# Hyprland blur under it, survive inside herdr. +panel_bg = "reset" + +# Surfaces: bg for the spaces rail, bg_alt for the row under the cursor, +# bg_highlight for selection — the same three-step ramp as the rest of the theme. +sidebar_bg = "#16181a" +active_row_bg = "#1e2124" +selection_bg = "#3c4048" + +# One token paints both the sidebar/panel rule and the active tab's label, so it +# has to read as a lit edge on #16181a and as text on the tab plate: the accent +# does both, and matches kitty's accent-colored active tab title. +surface_dim = "#5ea1ff" + +accent = "#5ea1ff" + +# Agent-state marks. +green = "#5eff6c" +yellow = "#f1ff5e" +red = "#ff6e5e" +peach = "#ffbd5e" +mauve = "#bd5eff" diff --git a/dot_config/herdr/config.toml.bak b/dot_config/herdr/config.toml.bak new file mode 100644 index 0000000..e6e4a1f --- /dev/null +++ b/dot_config/herdr/config.toml.bak @@ -0,0 +1,124 @@ +onboarding = false + +[ui.toast] +delivery = "system" + +[ui] + +show_agent_labels_on_pane_borders = true +agent_panel_sort = "priority" + +[keys] +# tmux-style bindings (prefix is the leader, default ctrl+b) +split_vertical = "prefix+%" +split_horizontal = 'prefix+"' +detach = "prefix+d" + +# leader+s opens the workspace ("spaces") picker (settings moves off prefix+s to make room) +workspace_picker = "prefix+s" +settings = "prefix+shift+s" + +# vim-style j/k move the selection up/down inside the spaces picker +# (frees pane up/down in navigate mode; use arrows or ctrl+b j/k for pane focus) +navigate_workspace_up = "k" +navigate_workspace_down = "j" +navigate_pane_up = "" +navigate_pane_down = "" + +# leader+. / leader+, step to the next / previous agent in the panel +next_agent = "prefix+." +previous_agent = "prefix+," + +# leader+j / leader+k cycle next / previous workspace (driven by ghostty +# ctrl+shift+j/k). Frees prefix+j/k from pane focus, which moves to arrows; +# directional pane movement is also on ctrl+hjkl via vim-herdr-navigation. +next_workspace = "prefix+j" +previous_workspace = "prefix+k" +focus_pane_up = "prefix+up" +focus_pane_down = "prefix+down" +focus_pane_left = "prefix+left" +focus_pane_right = "prefix+right" + +# leader+a focuses the agent panel for keyboard browsing +# (j/k to move, enter to jump, esc to leave) — needs the rebuilt binary + +[experimental] +pane_history = false +kitty_graphics = true + +switch_ascii_input_source_in_prefix = true +[theme] +name = "terminal" +auto_switch = false + +[[keys.command]] +key = "ctrl+h" +type = "plugin_action" +command = "vim-herdr-navigation.left" +description = "navigate left (vim/herdr)" + +[[keys.command]] +key = "ctrl+j" +type = "plugin_action" +command = "vim-herdr-navigation.down" +description = "navigate down (vim/herdr)" + +[[keys.command]] +key = "ctrl+k" +type = "plugin_action" +command = "vim-herdr-navigation.up" +description = "navigate up (vim/herdr)" + +[[keys.command]] +key = "ctrl+l" +type = "plugin_action" +command = "vim-herdr-navigation.right" +description = "navigate right (vim/herdr)" + +[[keys.command]] +key = "prefix+e" +type = "plugin_action" +command = "chmarax.herdr-nvim.toggle" +description = "nvim sidebar" + +[[keys.command]] +key = "prefix+o" +type = "plugin_action" +command = "chmarax.herdr-nvim.pick-file" +description = "open file from agent output" + +[[keys.command]] +key = "prefix+t" +type = "plugin_action" +command = "switchboard.menu" +description = "Switchboard menu" + +[[keys.command]] +key = "prefix+shift+p" +type = "plugin_action" +command = "switchboard.commands" +description = "Switchboard commands" + +[[keys.command]] +key = "prefix+shift+l" +type = "plugin_action" +command = "switchboard.git" +description = "Switchboard git" + +[[keys.command]] +key = "prefix+shift+k" +type = "plugin_action" +command = "switchboard.projects" +description = "Switchboard projects" + +[[keys.command]] +key = "prefix+y" +type = "shell" +command = '"${HERDR_BIN_PATH}" plugin pane open --plugin official.browser --entrypoint browser --placement split --direction right --focus' +description = "open browser in right split" + +[[keys.command]] +key = "prefix+shift+o" +type = "shell" +command = '"${HERDR_BIN_PATH}" plugin pane open --plugin official.browser --entrypoint browser --placement overlay --focus' +description = "open browser overlay"