1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-10-31 03:16:46 +01:00

add herdr

This commit is contained in:
Henrik Hautakoski 2026-10-01 07:31:52 +02:00
parent 38989f191a
commit b738eefbca
9 changed files with 1027 additions and 0 deletions

4
herdr/.gitignore vendored Normal file
View file

@ -0,0 +1,4 @@
*.sock
session.json
session-snapshots/
plugins/

0
herdr/.plugins.lock Normal file
View file

62
herdr/config.toml Normal file
View file

@ -0,0 +1,62 @@
onboarding = false
[keys]
prefix = "ctrl+a"
detach = "prefix+d"
[[keys.command]]
key = "prefix+s"
type = "plugin_action"
command = "simple-switcher.switch-workspace"
description = "switch workspace"
[[keys.command]]
key = "prefix+e"
type = "plugin_action"
command = "simple-switcher.open-project"
description = "open project"
[[keys.command]]
key = "prefix+a"
type = "plugin_action"
command = "simple-switcher.switch-agent"
description = "switch agent"
[theme]
name = "terminal"
auto_switch = false
[theme.custom]
accent="blue"
sidebar_bg="#0C0D14"
panel_bg="#0D0F17"
surface0="#313244"
surface_dim="#1A1E2E"
selection_bg="#323958"
active_row_bg="#1A1E2E"
overlay0="#ffffff"
overlay1="white"
text="#cdd6f4"
subtext0="#bac2de"
[ui]
agent_panel_sort = "spaces"
status_indicators = "symbols"
show_agent_labels_on_pane_borders = true
window_title= "herdr - {workspace}"
pane_gaps = true
pane_outer_borders = true
tab_bar_right_separator = " · "
tab_bar_right = [
{ type = "command", command = "printf 'CPU %s%%\n' \"$(awk '/^cpu / {print int(($2+$4)*100/($2+$4+$5))}' /proc/stat)\"", interval_seconds = 2, timeout_seconds = 1 },
{ type = "command", command = "free | awk '/^Mem:/ {printf \"MEM %.0f%%\\n\", $3/$2 * 100}'", interval_seconds = 2, timeout_seconds = 1 },
{ type = "hostname" },
]
[ui.sound]
enabled = false
[ui.toast]
delivery = "herdr"

120
herdr/plugins.json Normal file
View file

@ -0,0 +1,120 @@
[
{
"plugin_id": "simple-switcher",
"name": "Simple Switcher",
"version": "0.4.0",
"min_herdr_version": "0.7.0",
"description": "Fuzzy switch between workspaces, tabs, agents, and projects with fzf",
"manifest_path": "/home/pnx/.config/herdr/plugins/github/simple-switcher-387ae32386ae/herdr-plugin.toml",
"plugin_root": "/home/pnx/.config/herdr/plugins/github/simple-switcher-387ae32386ae",
"enabled": true,
"platforms": [
"linux",
"macos"
],
"startup": [
{
"command": [
"bash",
"scripts/startup-check.sh"
]
}
],
"actions": [
{
"id": "open-project",
"title": "Open Project",
"contexts": [
"workspace"
],
"command": [
"bash",
"scripts/open-pane.sh",
"open-project"
]
},
{
"id": "switch-agent",
"title": "Switch Agent",
"contexts": [
"workspace"
],
"command": [
"bash",
"scripts/open-pane.sh",
"switch-agent"
]
},
{
"id": "switch-tab",
"title": "Switch Tab",
"contexts": [
"workspace"
],
"command": [
"bash",
"scripts/open-pane.sh",
"switch-tab"
]
},
{
"id": "switch-workspace",
"title": "Switch Workspace",
"contexts": [
"workspace"
],
"command": [
"bash",
"scripts/open-pane.sh",
"switch-workspace"
]
}
],
"panes": [
{
"id": "open-project",
"title": "Open Project",
"placement": "popup",
"command": [
"bash",
"scripts/open-project.sh"
]
},
{
"id": "switch-agent",
"title": "Switch Agent",
"placement": "popup",
"command": [
"bash",
"scripts/switch-agent.sh"
]
},
{
"id": "switch-tab",
"title": "Switch Tab",
"placement": "popup",
"command": [
"bash",
"scripts/switch-tab.sh"
]
},
{
"id": "switch-workspace",
"title": "Switch Workspace",
"placement": "popup",
"command": [
"bash",
"scripts/switch-workspace.sh"
]
}
],
"source": {
"kind": "github",
"owner": "pnx",
"repo": "herdr-simple-switcher",
"resolved_commit": "01458dc2f0be9672d5a39b69293d5002f22e0f01",
"managed_path": "/home/pnx/.config/herdr/plugins/github/simple-switcher-387ae32386ae",
"installed_unix_ms": 1790804757595
}
}
]

5
herdr/release-notes.json Normal file
View file

@ -0,0 +1,5 @@
{
"version": "0.9.3",
"body": "This is a hotfix release for v0.9.2. See the v0.9.2 notes for the full feature release: https://github.com/herdrdev/herdr/releases/tag/v0.9.2\n\n### Fixed\n- Terminal shortcuts that send Escape followed by a key work again in panes. On macOS, Option+Left/Right and Option+Backspace from Ghostty's defaults or iTerm2's Natural Text Editing preset move and delete by word again, instead of typing `b` and `f` or deleting one character. Escape-based Shift+Enter bindings insert a newline in Claude Code instead of submitting. Clicking a pane still doesn't send a stray Escape. (#4751)\n- Alt+[ followed quickly by another key no longer merges into a different key. (#4751)",
"show_on_startup": true
}