# Dotfiles > An agent-driven Omarchy setup for development, desktop, and automation. # Overview Source: https://dotfiles.timmo.dev/ My [Omarchy](https://omarchy.org) dotfiles (Arch-based). [GNU Stow](https://www.gnu.org/software/stow/) links each package into place, and a compiled `dot` CLI sets up, updates and checks each machine. It covers public config, desktop customisations, git tooling and a shared [OpenCode](https://opencode.ai) setup. Private machine details live in a separate overlay. ```bash # Check every update, pick what to apply, then run it dot up # Run the health checks and save a report dot doctor ``` :::caution[Personal setup] These docs and the public dotfiles are for reference. They are tuned for my machines and a private overlay that is not public, so installation is not recommended. Have your agents borrow the ideas you want instead. ::: ## How it fits together
Stow links the packages into place
dot sets up and maintains the machine
Hyprland and the Omarchy Shell make the desktop
Agents share skills and guidance
## Core | Page | Why | | --- | --- | | [Getting started](/getting-started/) | Bootstrap a fresh Omarchy machine | | [Configuration](/configuration/) | Private overlay, packages, and tracked app config | | [Distros](/distros/) | The other machine builds and their own docs sites | | [`dot` CLI](/dot/overview/) | Setup, sync, stow, doctor, and git helpers ([command reference](/dot/commands/)) | | [Stow packages](/stow/) | One-line blurbs for everything else that is stowed | ## Desktop | Page | Why | | --- | --- | | [Hyprland](/desktop/hyprland/) | Window manager config and per-host overrides | | [Ghostty](/desktop/ghostty/) | Terminal config with host overrides | | [Herdr](/desktop/herdr/) | Shared agent terminal multiplexer | | [UWSM](/desktop/uwsm/) | User environment for the graphical session | | [Omarchy Shell](/desktop/omarchy-shell/) | Quickshell bar, panels, and `timmo.*` plugins | ## Agents | Page | Why | | --- | --- | | [Overview](/agents/overview/) | How OpenCode, skills, and companions fit together | | [Skills](/agents/skills/) | Shared catalogue and repo-local skills | | [OpenCode](/agents/opencode/overview/) | Primary coding-agent harness | | [Pi](/agents/pi/) | Lightweight companion agent | | [Cursor](/agents/cursor/) | IDE-embedded agent and launchers | ## Machine-readable docs Build-time [llms.txt](https://llmstxt.org) bundles and a read-only docs MCP, generated from the same source as the site. | URL | Use | | --- | --- | | https://dotfiles.timmo.dev/llms.txt | Compact page index | | https://dotfiles.timmo.dev/llms-full.txt | Full docs bundle | | https://dotfiles.timmo.dev/mcp | Hosted MCP (search, page and navigation) | | `/{route}.md` | One page as Markdown | Ask AI on the site is off. For live repo state, use [context](https://context.timmo.dev) rather than these static bundles. --- # Cursor Source: https://dotfiles.timmo.dev/agents/cursor [Cursor](https://cursor.com) is the IDE-embedded agent. These dotfiles only wire a thin slice of it: desktop launchers, mirrored global AGENTS rules, and MCP config from the private overlay. It does not load the OpenCode agent, command, skill, or plugin trees. ## What is tracked | Piece | Why | | --- | --- | | `cursor/` stow package | Two desktop entries only: Editor (`--classic`) and Agents (glass deeplink) | | `dot agent sync` | Writes `~/.cursor/rules/global-agents.mdc` (`alwaysApply`) from `~/.config/opencode/AGENTS.md` | | `dot mcp sync` | Regenerates Cursor MCP config under the private `agents/.cursor/mcp.json` path | There is no generated Cursor command catalogue in this docs site. Generated references cover [`dot` commands](/dot/commands/) and [OpenCode slash commands](/agents/opencode/commands/) only. Cursor IDE commands stay in Cursor; shared slash-command and plugin behaviour lives on [OpenCode](/agents/opencode/overview/). --- # Agents Source: https://dotfiles.timmo.dev/agents/opencode/agents Agents set the execution posture (permissions, tool access, delegation) for OpenCode sessions. They are loaded from `~/.config/opencode/agents/`. | Agent | Description | | --- | --- | | [`build-ask`](https://github.com/timmo001/dotfiles/blob/distro/arch-omarchy-quattro/agents/.config/opencode/agents/build-ask.md) | Build agent that executes clear tasks and relies on permissions for write actions | | [`coordinator`](https://github.com/timmo001/dotfiles/blob/distro/arch-omarchy-quattro/agents/.config/opencode/agents/coordinator.md) | Manages low-context delegated sessions through delivery | | [`general-readonly`](https://github.com/timmo001/dotfiles/blob/distro/arch-omarchy-quattro/agents/.config/opencode/agents/general-readonly.md) | General-style parallel subagent that researches with read-only tools and a narrow shell inspection allowlist (for delegation from read-only primaries). | | [`grill`](https://github.com/timmo001/dotfiles/blob/distro/arch-omarchy-quattro/agents/.config/opencode/agents/grill.md) | Read-only planning stress-test agent for light or full round-based grilling | | [`refactorer`](https://github.com/timmo001/dotfiles/blob/distro/arch-omarchy-quattro/agents/.config/opencode/agents/refactorer.md) | Refactor code while preserving behavior and following local command and skill workflows | | [`researcher-readonly`](https://github.com/timmo001/dotfiles/blob/distro/arch-omarchy-quattro/agents/.config/opencode/agents/researcher-readonly.md) | Primary-source research subagent that compares claim-specific evidence and cannot delegate further | | [`researcher`](https://github.com/timmo001/dotfiles/blob/distro/arch-omarchy-quattro/agents/.config/opencode/agents/researcher.md) | Interactive primary-source research agent that compares claim-specific evidence | | [`reviewer`](https://github.com/timmo001/dotfiles/blob/distro/arch-omarchy-quattro/agents/.config/opencode/agents/reviewer.md) | Reviews code for quality, bugs, security, and best practices | --- # Commands Source: https://dotfiles.timmo.dev/agents/opencode/commands Commands are thin routing prompts: they force an agent or carry explicit authorisation, declare required skills or injected context, and define the output shape. They are loaded from `~/.config/opencode/commands/`. | Command | Description | Agent | | --- | --- | --- | | [`/commit-push`](https://github.com/timmo001/dotfiles/blob/distro/arch-omarchy-quattro/agents/.config/opencode/commands/commit-push.md) | Split current changes into coherent commits and push | `default` | | [`/commit`](https://github.com/timmo001/dotfiles/blob/distro/arch-omarchy-quattro/agents/.config/opencode/commands/commit.md) | Split current changes into coherent commits via the dot git commit gateway | `default` | | [`/plan`](https://github.com/timmo001/dotfiles/blob/distro/arch-omarchy-quattro/agents/.config/opencode/commands/plan.md) | Manual entrypoint to native plan mode from the current conversation context | `plan` | --- # OpenCode Source: https://dotfiles.timmo.dev/agents/opencode/overview [OpenCode](https://opencode.ai) is the main interactive agent UI: sessions, slash commands, plugins, and [Herdr](https://herdr.dev) panes. Most day-to-day agent work happens here. Config source lives under `agents/.config/opencode/`. ## Layout | Piece | Why | | --- | --- | | `agents/.config/opencode/` | Commands, `plugins/`, and shared `lib/` | | Shared [skills](/agents/skills/) | Skills repo `main` + repo-local skills (see Skills page) | | Private overlay | Machine-specific OpenCode packages, AGENTS source, and MCP wiring | ## Layers | Layer | Role | | --- | --- | | Commands | Thin routers: intent, arguments, required skills/context, output shape | | Skills | Reusable workflows and behavioural contracts ([Skills](/agents/skills/)) | | Plugins | Context injection and enforcement hooks (commit context, guards, workflows) | Commands do not own long workflows; skills and plugins do. AGENTS stays to cross-cutting policy that no skill description already carries. ## Sync and publish | Command / flow | Purpose | | --- | --- | | `dot agent sync` | Mirror global AGENTS into other harness instruction files (Cursor, Claude, Pi) | | `dot mcp sync` | Regenerate MCP configs from private `mcp.yml`; OpenCode repos opt in via `opencode_mcp` and `opencode_skills` in private `dot-git.yml` | | `dot skills` | Check and apply skill updates from the skills repo | | `dot update` / `dot init` | Run agents-sync (and related refresh) as part of maintenance | ## Runtime Sessions often run inside Herdr panes (OpenCode integration checked by `dot doctor`). The public Zsh config aliases `opencode` to OpenCode 2 (`opencode2`). Companion harnesses [Pi](/agents/pi/) and [Cursor](/agents/cursor/) share skills and/or AGENTS guidance but not this full plugin and command stack. See [Agents](/agents/overview/) for how the harnesses fit together. ## Reference OpenCode-only generated catalogues (do not hand-edit): | Catalogue | Contents | | --- | --- | | [Commands](/agents/opencode/commands/) | Slash-command routers | | [Plugins](/agents/opencode/plugins/) | Context and enforcement hooks | Skills: [Skills](/agents/skills/) (catalogue in the skills repo, plus local skills). Regenerate OpenCode catalogues with `mise run docs:gen` after the sources change. The [`dot` command reference](/dot/commands/) is separate (CLI, not OpenCode). --- # Plugins Source: https://dotfiles.timmo.dev/agents/opencode/plugins Plugins provide context, evidence, or enforcement hooks for OpenCode. Server plugins are loaded from `~/.config/opencode/plugins/`. | Plugin | Description | | --- | --- | | [`cli-tools`](https://github.com/timmo001/dotfiles/blob/distro/arch-omarchy-quattro/agents/.config/opencode/plugins/cli-tools.ts) | Exposes everyday CLIs and Effect clients as typed Code Mode tools | | [`commit-context`](https://github.com/timmo001/dotfiles/blob/distro/arch-omarchy-quattro/agents/.config/opencode/plugins/commit-context.ts) | Injects session-attributed commit scope into commit command prompts | | [`context-capture`](https://github.com/timmo001/dotfiles/blob/distro/arch-omarchy-quattro/agents/.config/opencode/plugins/context-capture.ts) | Opt-in capture of the assembled starter context for token profiling | | [`env-protection`](https://github.com/timmo001/dotfiles/blob/distro/arch-omarchy-quattro/agents/.config/opencode/plugins/env-protection.ts) | Blocks direct access to .env files, and any extra secret files listed in env-protection.yml, to prevent leaking secrets | | [`generated-artifact-guard`](https://github.com/timmo001/dotfiles/blob/distro/arch-omarchy-quattro/agents/.config/opencode/plugins/generated-artifact-guard.ts) | Blocks direct mutation of generated dotfiles artefacts | | [`mcp-repo-gate`](https://github.com/timmo001/dotfiles/blob/distro/arch-omarchy-quattro/agents/.config/opencode/plugins/mcp-repo-gate.ts) | Per-repo MCP server gating for OpenCode | | [`notes-guard`](https://github.com/timmo001/dotfiles/blob/distro/arch-omarchy-quattro/agents/.config/opencode/plugins/notes-guard.ts) | Blocks direct file access to the repository notes vault | | [`pitchfork-dev-server-guard`](https://github.com/timmo001/dotfiles/blob/distro/arch-omarchy-quattro/agents/.config/opencode/plugins/pitchfork-dev-server-guard.ts) | Enforces a project's declared pitchfork dev-server workflow for agents | | [`review-handoff-guard`](https://github.com/timmo001/dotfiles/blob/distro/arch-omarchy-quattro/agents/.config/opencode/plugins/review-handoff-guard.ts) | Nudges a session that goes idle with edited files and no change-review-handoff | | [`skill-updates`](https://github.com/timmo001/dotfiles/blob/distro/arch-omarchy-quattro/agents/.config/opencode/plugins/skill-updates/tui.tsx) | Shows pending update and missing install counts in the prompt footer, from the dot daemon's status file, or `dot updates status --json` while the daemon is down | | [`subagent-chrome-devtools-guard`](https://github.com/timmo001/dotfiles/blob/distro/arch-omarchy-quattro/agents/.config/opencode/plugins/subagent-chrome-devtools-guard.ts) | Blocks Chrome DevTools tools from delegated subagent sessions | --- # Agents Source: https://dotfiles.timmo.dev/agents/overview Coding agents in this setup share skills and AGENTS guidance. [OpenCode](https://opencode.ai) is the primary harness; Pi and Cursor are thinner companions. Shared skills live in a separate repo. `dot` keeps a checkout detached at the latest `main` and links it into `~/.agents/skills/`. | Piece | Why | | --- | --- | | [Skills](/agents/skills/) | Shared catalogue plus repo-local skills | | [OpenCode](/agents/opencode/overview/) | Day-to-day sessions, slash commands, plugins, Herdr panes | | [Pi](/agents/pi/) | Lightweight companion sessions | | [Cursor](/agents/cursor/) | IDE-embedded agent and launchers | ## Shared wiring | Mechanism | Role | | --- | --- | | `dot agent sync` | Mirror global AGENTS into other harness instruction files | | `dot mcp sync` | Regenerate MCP configs from the private overlay; OpenCode repos opt in per checkout | | `dot skills` | Check and apply updates from the skills repo | | `~/.agents/skills/` | Shared skills linked from the latest skills repo `main` | OpenCode owns the full agent, command, and plugin stack. Pi and Cursor reuse skills and/or AGENTS, not that stack. --- # Pi Source: https://dotfiles.timmo.dev/agents/pi [Pi](https://pi.dev) is a lighter companion agent for smaller sessions. It is used sparingly here: shared skills and AGENTS guidance without the full [OpenCode](https://opencode.ai) plugin and command stack. | Piece | Why | | --- | --- | | `pi/` stow package | Pi-side config; mainly `.pi/agent/extensions/` | | Shared skills | Same `~/.agents/skills/` set as OpenCode | | `dot agent sync` | Keeps project/global AGENTS aligned with the OpenCode AGENTS source | | `workflow.ts` extension | Compaction follow-up and light [Herdr](https://herdr.dev) helpers under `.pi/` | Use Pi when a thin session is enough. Use [OpenCode](/agents/opencode/overview/) for day-to-day interactive work, slash commands, plugins, and Herdr panes. There is no generated Pi command catalogue in these docs. --- # Skills Source: https://dotfiles.timmo.dev/agents/skills Reusable agent workflows live in [timmo001/skills](https://github.com/timmo001/skills). The generated catalogue is [SKILLS.md](https://github.com/timmo001/skills/blob/main/SKILLS.md#skills-catalogue) (name + description per skill). That repo is the source of truth; this docs site does not regenerate a full skills page. | Piece | Why | | --- | --- | | `~/.local/share/dot/skills` | dot-managed checkout of the skills repo, detached at the latest `main` and linked into `~/.agents/skills/` | | `.agents/skills/` | Repo-local skills for this checkout only | | `dotfiles-skills/` | Global skills tied to dotfiles paths or private overlays | | `dot skills` | Validate, import, and update skills from the standalone repo | Edit reusable skills in `~/repos/skills` and push to `main`; the next `dot update` picks them up. Do not edit the managed checkout or live `~/.agents/skills` directly. ## Local skills Repo-only skills under `.agents/skills/` (registered via `skills.paths` in `opencode.json`). Shared first-party skills stay in the skills repo catalogue above. | Skill | Role | | --- | --- | | `dotfiles-docs` | Author and maintain the Blume docs site (`docs/`, dotfiles.timmo.dev) | Harness overview: [Agents](/agents/overview/). OpenCode layers and catalogues: [OpenCode](/agents/opencode/overview/). --- # Configuration Source: https://dotfiles.timmo.dev/configuration Behaviour prefers CLI flags. Environment variables cover process context and secrets. Machine-specific and private data stay in `~/.config/dotfiles-private`. | Piece | Why | | --- | --- | | Private overlay | Host-only config, secrets, package lists, browser checks, `dot-git.yml` | | Public packages | Signed `timmo` repo plus AUR where needed | | Private packages | Optional private pacman repo via the private publish flow | | Stow packages | App config in this repo; see [Stow packages](/stow/) and the Desktop / Agents pages | | Env vars | `DOT_*`, `DOTFILES_*`, and `OMARCHY_*` influence `dot` and session tooling | | Private file (typical) | Role | | --- | --- | | `dot-git.yml` | Managed repos, shortcuts, notifications, activity, PR tracking, and OpenCode MCP opt-ins | | Package manifests | Private pacman / install lists | | Browser checks | Machine-specific doctor expectations | | MCP spec (`mcp.yml`) | Source for `dot mcp sync` | Prefer reading the stowed source and private YAML over expanding this page further. Flags and env details live in `dot --help` and code. --- # Ghostty Source: https://dotfiles.timmo.dev/desktop/ghostty Primary terminal: [Ghostty](https://ghostty.org). Shared defaults live in `ghostty/`; each machine can override fonts and window behaviour without forking the base file. | Piece | Why | | --- | --- | | `config` | Shared Ghostty settings (theme hook, fonts, window, cursor) | | `config.desktop`, `config.laptop` | Host overrides loaded as `config.$OMARCHY_HOST` | | Stowed launcher | Picks the host override when opening a terminal | | `tabs.css` | Tab bar styling | [Herdr](https://herdr.dev) clients run inside Ghostty. New terminal windows keep the active host config. --- # Herdr Source: https://dotfiles.timmo.dev/desktop/herdr [Herdr](https://herdr.dev) is the shared agent terminal multiplexer. Product behaviour, concepts, and configuration options live in the [official docs](https://herdr.dev/docs). This page covers only what these dotfiles customise. Clients attach from [Ghostty](/desktop/ghostty/). ## Layout | Piece | Why | | --- | --- | | `herdr/` package | Stow source for managed session and plugin config | | Runtime `~/.config/herdr/` | Herdr-owned logs, sockets, and session state stay untracked beside stowed files | | `config.toml` | Reproducible session layer (prefix commands, theme, sidebar, plugin chords). Edit the file; do not mirror every setting here | | `plugins/config/` | Selected third-party plugin config stowed with the package | | `scripts/.local/share/herdr-plugins/` | Local `dotfiles.*` plugin sources linked on `dot update` | ## Local plugins `dot update` links each directory under `scripts/.local/share/herdr-plugins/` into the live Herdr plugin tree (`herdr plugin link … --enabled`) and starts the terminal-title watcher: | Plugin | Role | | --- | --- | | `dotfiles.repository-picker` | Open or focus configured repository workspaces | | `dotfiles.terminal-title` | Mirror pane titles into Herdr tab labels | | `dotfiles.yazi` | [Yazi](https://yazi-rs.github.io) explorer in a split or tab | | `dotfiles.mise-task-runner` | Pick and run the current project's [mise](https://mise.jdx.dev) tasks | | `dotfiles.plannotator` | Review or annotate via [Plannotator](https://github.com/backnotprop/plannotator) | ## Lazy plugins `plugins/config/herdr-lazy/plugins.list` and `plugins.lock` pin third-party plugins. When a Herdr session is available, `dot update` restores them through `herdr-lazy`. Stowed companion config covers sessionizer and reviewr. Everything else under `~/.config/herdr/` remains runtime-owned. ## Dot helpers | Command | Purpose | | --- | --- | | `dot update` | Restore Lazy lockfile, relink local plugins, restart the title watcher | | `dot doctor` | Warn when Herdr, the [OpenCode](https://opencode.ai) integration, or required local plugins are missing | | `dot herdr` | Start, stop, or restart the shared server; open a repo workspace; show attached context | --- # Hyprland Source: https://dotfiles.timmo.dev/desktop/hyprland [Hyprland](https://hyprland.org) window manager config for this [Omarchy](https://omarchy.org) setup. It is a stowed `hypr/` package, not a forked Omarchy Hypr repository. Shared Lua entry files live at the package root; each machine overrides them under `hosts/`. `dot stow` lays the package down with `--no-folding`, keeps `~/.config/hypr/host` pointing at `hosts/$OMARCHY_HOST`, and reloads Hyprland afterwards without dropping the live config mid-stow. ## Host selection `hyprland.lua` loads Omarchy defaults, then the shared personal modules (`envs`, `monitors`, `input`, `bindings`, `looknfeel`, `autostart`). Each of those ends with `require("hypr.host.")`, which resolves through the `host` symlink. Two hosts are tracked: `desktop` and `laptop`. Shared behaviour stays at the package root; machine differences stay under `hosts//`. ## Monitors and workspaces Monitor layout is host-owned. Shared `monitors.lua` only forwards to the active host. **Desktop** pins a portrait left panel (`DP-1`, rotated) and a landscape main (`HDMI-A-2`), both 4K, with GDK/QT scale set for that setup. Named workspace rules pin workspace 1 to the left monitor and workspaces 2–6 to the right. A catch-all preferred/auto rule covers anything else (for example a VM display). **Laptop** uses a single preferred/auto output at 2× scale, with matching GDK/QT scale. Both hosts drop to 1× scale when `hypr.lib.machine` detects a virtual machine. ## Per-host overrides Beyond monitors, each host keeps its own: **Envs** — Each host sets GPU-appropriate Wayland/VA-API vars and `OMARCHY_HOST` to its name. **Input** — Shared defaults are a British (GB) keyboard layout, a flat mouse acceleration profile (no acceleration), and basic touchpad settings. Desktop leaves pointer sensitivity alone; laptop raises sensitivity, slows touchpad scrolling, and tunes per-app touchpad scroll speed for terminals and Chromium. **Look and feel** — Desktop uses small gaps, light rounding, blur/shadow, and window rules that park common apps on specific workspaces. Laptop tightens gaps/borders (no rounding) and shrinks the floating terminal. **Autostart** — Shared start pulls [System Bridge](https://system-bridge.timmo.dev), Chromium, [KDE Connect](https://kdeconnect.kde.org/), and the [Herdr](https://herdr.dev) server. Desktop also starts Solaar and a delayed `workspace-setup`. Laptop starts `power-profile-daemon`. **Bindings** — Shared bindings cover browsers, terminals, `dot reload`, and similar day-to-day chords. Host files only add machine-specific chords. ## Shared helpers `bin/` helpers land on `PATH` via [UWSM](/desktop/uwsm/) (url handler setup, `timmo-run-command`, a Quickshell wrapper). `float-app.lua` holds generated floating rules. `hyprsunset.conf` and `xdph.conf` sit beside the Lua entry files for night light and portal defaults. Bindings and layout scripts stay in the package; they are not listed here. --- # Omarchy Shell Source: https://dotfiles.timmo.dev/desktop/omarchy-shell The Omarchy Shell is the long-running [Quickshell](https://quickshell.org) process (`omarchy-shell`) behind the bar, notifications, OSD, launcher, and settings on [Omarchy](https://omarchy.org). These dotfiles extend it with `timmo.*` plugins instead of forking Omarchy's shell. `~/.config/omarchy/shell.json` is generated, not hand-edited. `dot` merges Omarchy's default layout with `omarchy-plugins.json` (and an optional private overlay). After plugin or layout changes, use `omarchy restart shell` when a hot-reload is not enough. `dot omarchy shell config` regenerates the layout without a full stow. ## Layout Public `omarchy-plugins.json` owns placement and per-host tweaks. Stock `omarchy.weather` and `omarchy.agents` are removed, and its `disable` list turns off stock plugins that another program replaces, optionally on some hosts only: the laptop turns off `omarchy.notifications` so [Hokum](https://hokum.app) owns notifications there (it draws black cards on the desktop's NVIDIA GPU). `timmo.workspaces` and `timmo.clock` replace the stock workspace and clock widgets. Several centre/right widgets are primary-output only, with host-specific outputs (desktop `HDMI-A-2`, laptop `eDP-1`). A private overlay can add or override plugins without publishing them. ## Bar and panel plugins | Plugin | Role | | --- | --- | | `timmo.workspaces` | Dynamic workspace numbers (no persistent empties), with the focused workspace's name and every name on bar hover; focused full opacity, others dimmed | | `timmo.upnext` | Twitch live channels, YouTube uploads and the watch-later queue from the local [upnext](https://upnext.timmo.dev) daemon | | `timmo.git` | Managed-repo state, recent commits, GitHub notifications, release reviews, and open pull requests in one centre widget and panel, read from the dot daemon's status file | | `timmo.command` | Interval command cell, or one following a runtime file; here shows Dotfiles and watched package update status from the dot daemon's status file | | `timmo.stream-command` | Streaming status JSON for long-running watchers; available but not placed on the public bar | | `timmo.home-assistant` | Home Assistant status on the right | | `timmo.system-bridge` | Local [System Bridge](https://system-bridge.timmo.dev) health (bar + detail panel) | | `sceny.devices` | Phones and tablets in the bar through [KDE Connect](https://kdeconnect.kde.org/) | | `timmo.notes` | Notes vault browse/search/capture panel wired to the `notes` CLI | | `timmo.services` | Health and run history of registered user services (bar + panel), read from the dot daemon's status file | | `timmo.clock` | Compact clock with calendar, year progress, and world clocks (replaces stock clock) | | `timmo.momentumctl` | Headset panel via `momentumctl`; panel-only in the public layout | | `timmo.plannotator-inbox` | Threads waiting on you in the local [Plannotator](https://plannotator.ai) Inbox (bar + panel); opens the Inbox as an Omarchy web app rather than redrawing it | | `timmo.upkeep` | What needs you in [Upkeep](https://upkeep.timmo.dev) from `upkeep status --json` (bar + panel); each row opens its dashboard page at the direct address | ## Sources Custom plugins live under `omarchy/.config/omarchy/plugins/`. Some are local QML in this repo (`workspaces`, `command`, `stream-command`, `git`, `services`, `plannotator-inbox`, `upkeep`, `workspace-context`, `workspace-relayout`, `popup-loading`); others are managed plugins (`clock`, `upnext`, `notes`, `system-bridge`, `momentumctl`, `sceny.devices`) with placement recorded in `omarchy-plugins.json`. `workspace-context` shares attached Herdr workspace changes with the bar; `workspace-relayout` and `popup-loading` are overlays rather than bar cells. Most managed plugins come from repositories `dot` already tracks and pulls. Their registry entry names the repository (`"repository": "timmo001/omarchy-clock"`, plus `path` when the plugin sits in a subfolder such as `omarchy-plugin`), and `dot stow` exports that folder from the checkout's remote default branch. Only pushed commits reach the bar, and a push needs no commit here. `dot omarchy plugin update ` fetches and redeploys one straight away. Plugins without a tracked repository, such as `sceny.devices`, are submodules. Third-party bar plugins are imported that way too: [Omarchy](https://omarchy.org)'s `omarchy plugin add` (backed by `dot omarchy plugin`) checks them out as submodules, and `dot omarchy plugin add --path ` takes a plugin from a subfolder. Either way, `dot stow` copies the files as real files, because Omarchy rejects plugin-directory symlinks. Placement and config live in `omarchy-plugins.json`, and a private overlay can extend that layout the same way. An `onlyHosts` list (for example `["desktop"]`) keeps an entry out of the generated layout on other hosts. Do not hand-edit the live `shell.json`. Change the generator or registry, rebuild `dot` when needed, then stow. --- # UWSM Source: https://dotfiles.timmo.dev/desktop/uwsm [UWSM](https://github.com/Vladimir-csp/uwsm) starts the graphical session. [Omarchy](https://omarchy.org) Quattro owns the defaults under `/usr/share`. This repo only layers the user values these dotfiles need. | Piece | Why | | --- | --- | | `uwsm/.config/uwsm/env.d/90-dotfiles` | User env fragment applied on session start | | Hypr `bin` on `PATH` | Makes stowed Hypr helpers available to UWSM apps | | Other env exports | Session values required by desktop scripts and terminals | `dot stow` removes the retired `timmo001/omarchy-uwsm` checkout before this package takes ownership. Changes need a [Hyprland](https://hyprland.org) relaunch to take effect. --- # Home Assistant Source: https://dotfiles.timmo.dev/development/home-assistant I work on [Home Assistant Core](https://github.com/home-assistant/core) and the [frontend](https://github.com/home-assistant/frontend) most days. `dot homeassistant` (`dot ha`) sets up each repository, then runs its dev server as a [pitchfork](https://pitchfork.jdx.dev) daemon so it gets a stable HTTPS URL from pitchfork's proxy. Under [Herdr](/desktop/herdr/), each command opens its own tab in the `[HA] Core` or `[HA] Frontend` workspace. The short `hacdev`, `hafdev*` and `hadev*` functions in `.zshrc` just call `dot ha`. Repository paths, workspaces, daemon names, URLs and serve targets live in the private `~/.config/dot/homeassistant.yml`, and the pitchfork config lives in the private overlay too, so it is copied below with real URLs replaced. ## Commands | Command | Alias | | --- | --- | | `dot homeassistant` | `dot ha` | | `dot homeassistant core` | `dot ha c` | | `dot homeassistant frontend` | `dot ha f` | | Case | Command | Shortcut | | --- | --- | --- | | What is running, and where | `dot ha status [target...]` | `hadevstatus`, `hacdevstatus`, `hafdevstatus`, `hafdevservestatus`, `hafdevsuitesstatus` | | Logs | `dot ha logs [--follow] [--lines ]` | `hacdevlogs`, `hafdevlogs`, `hafdevservelogs`, `hafdevdesignlogs`, `hafdevdemologs`, `hafdeve2eapplogs` | | Core with the local frontend build | `dot ha core dev [--background]` | `hacdev`, `hacdevbg` | | Core, rebased onto `upstream/dev` first | `dot ha core dev --latest [--background]` | `hacdevlatest`, `hacdevlatestbg` | | Core setup (Git, venv, bootstrap) | `dot ha core setup [--latest]` | Run by `hacdev*` | | Frontend watch build alone | `dot ha frontend dev [--background] [--attach]` | `hafdev`, `hafdevbg` | | Frontend against another Core | `dot ha frontend serve [] [--background]` | `hafdevserve` | | Frontend against prod | `dot ha frontend serve prod [--background]` | `hafdevserveprod`, `hafdevserveprodbg` | | Frontend through Home Assistant Link | `dot ha frontend serve link [--background]` | `hafdevserveprodnc`, `hafdevserveprodncbg` | | Gallery | `dot ha frontend gallery [--background]` | `hafdevdesign`, `hafdevdesignbg` | | Demo | `dot ha frontend demo [--background]` | `hafdevdemo`, `hafdevdemobg` | | E2E test app | `dot ha frontend e2e [--background]` | `hafdeve2eapp`, `hafdeve2eappbg` | | Production build | `dot ha frontend build` | `hafbuild` | | E2E tests | `dot ha frontend test e2e [app\|demo\|gallery]` | None | | Core and frontend in Herdr tabs | `dot ha dev [--background]` | `hadev`, `hadevbg` | | Stop servers (all by default) | `dot ha stop [target...]` | `hadevstop`, `hacdevstop`, `hafdevstop`, `hafdevservestop`, `hafdevdesignstop`, `hafdevdemostop`, `hafdeve2eappstop`, `hafdevsuitesstop` | | Target | Daemon | URL | | --- | --- | --- | | `core` | `ha-core/dev` | `https://dev.ha-core.localhost` | | `build` | `ha-frontend/build` | Through Core's URL | | `serve` | `ha-frontend/serve` | `https://serve.ha-frontend.localhost` | | `prod` | `ha-core/prod` | `https://prod.ha-core.localhost` | | `gallery`, `demo`, `e2e` | The frontend's own background mode | Printed when started | Port 443 already reaches pitchfork's proxy (listening on 8443), so the URLs need no port. The proxy builds each hostname from the daemon name and namespace. Its auto-start is off, so a stopped daemon's URL shows pitchfork's "No daemon found" page rather than starting it; only the commands start daemons. ## How the commands behave - Interactive runs go through `dot status run`, which pins a header with the state, URL and elapsed time, and keeps the terminal title in step. - Each runs its setup first: `dot ha core setup` for Core (Git, virtual environment, `script/bootstrap`), `script/bootstrap` for the frontend. - If the daemon is already running, it asks before restarting it. `dot ha dev`'s Frontend tab follows a running build instead. - `--background` starts the daemon and returns once it's ready; otherwise it follows the logs, and Ctrl+C stops it. - Every `dot ha frontend` command takes the frontend's build lock, so it asks to stop the `build` and `serve` daemons first. Lint, format, type checks and unit tests don't take the lock and stay plain `pnpm`. :::note Pitchfork doesn't pass the caller's environment to a daemon. `dot ha f serve` writes the Core URL to `~/.local/state/dot/homeassistant/.serve.args`, and the `serve` daemon reads it when it starts. ::: ## Worktrees Each linked worktree of the frontend can run its own servers next to the main checkout's, so a second session can browser test its own branch without waiting for the shared checkout. `dot ha` works out which checkout it runs in, and in a worktree `core`, `build` and `serve` are that worktree's own daemons: | Target | Daemon | URL | | --- | --- | --- | | `core` | `ha-frontend-/dev` | `https://dev..ha-frontend.localhost` | | `build` | `ha-frontend-/build` | Through the worktree's Core | | `serve` | `ha-frontend-/serve` | `https://serve..ha-frontend.localhost` | `` is the worktree's directory name in lowercase, with anything other than letters and digits turned into `-`. `build`, `dev` and `serve` are refused, as they would shadow the main checkout's hostnames. - `dot ha core dev` (or `dot ha dev`) starts a throwaway Core dev instance for the worktree. It runs Core from the Core checkout's virtual environment, serves the worktree's own watch build, and keeps its config in `/.ha-dev/config`, copied from `frontend.worktree.config` the first time. Onboarding is done for it with the user `dev` and password `dev`. It always runs in the background, and `--latest` is refused. - `--fresh` throws the instance's config away and starts again. `--onboarding` leaves onboarding for you, for testing onboarding itself. - `dot ha f serve [target]` starts the worktree's own `serve`. `ha-core/prod` accepts any worktree's origin; any other Core must allow the worktree's serve URL in its CORS allowed origins. - `dot ha status` lists the main checkout's targets, then each worktree's. `dot ha stop` with no targets in a worktree only stops that worktree's daemons. - The gallery, demo and e2e suites stay on the main checkout, as their ports are fixed. Nothing is registered with pitchfork. The first `dot ha` command in a worktree writes `pitchfork.local.toml` there, with the namespace `ha-frontend-`, the main checkout's `frontend.toml` and `frontend-worktree.toml`, and adds it and `.ha-dev/` to the repository's `info/exclude`. A new worktree gets `script/bootstrap` first when it has no `node_modules`. Removing the worktree removes its instance. Core keeps its HTTP settings in `.storage/http` rather than YAML, so `frontend-worktree-dev.sh` writes that file before every start, with the port pitchfork picked and trust for the proxy on `127.0.0.1`. Logins still go through the login page: `trusted_networks` can't tell this machine from anything else coming through the proxy. ## Core behind the proxy The proxy sets `Host` to `localhost:` and adds `X-Forwarded-*` headers. Core rejects those unless it trusts the proxy. In the dev Core, turn on **Trust X-Forwarded-For** and add `127.0.0.1/32` and `::1/128` to **Trusted proxies**, under **Settings > System > Network > Reverse proxy**. Serving against a remote Core also needs `https://serve.ha-frontend.localhost` in that instance's **CORS allowed origins**, on the same page. [![Open your Home Assistant instance and show your network configuration.](https://my.home-assistant.io/badges/network.svg)](https://my.home-assistant.io/redirect/network/) The browser blocks an HTTPS page from calling a plain HTTP Core, so the login works but the frontend can't connect afterwards. `ha-core/prod` fronts the prod instance on an HTTPS URL with `dot http forward`, which drops the proxy's `X-Forwarded-*` headers so the remote Core accepts the requests without trusting this machine as a proxy. `dot ha f serve prod` starts it before `serve`. Core only registers the frontend routes if `hass_frontend` exists when it starts, and a fresh build briefly removes it. `ha-core/dev` depends on `ha-frontend/build`, so starting Core starts the build too and waits for it to be ready. ## Agents Agents use the same `dot ha` commands. Under an agent, `dot ha` skips setup, Herdr tabs and prompts: it reuses a running daemon, runs suites in the background, and fails with a message instead of stopping a conflicting daemon. `dot ha core setup` and `dot ha logs --follow` refuse to run. The Home Assistant workspace `AGENTS.md` tells agents not to run `hass`, `pnpm dev`, `pnpm dev:serve` or `pnpm build` directly, and to ask before stopping or swapping a running daemon. It also tells them they can ask to move into a frontend worktree to browser test on its own instance when the main checkout is busy. ## Pitchfork config `~/.config/pitchfork/config.toml` enables the proxy and registers both repositories as namespaces: ```toml [daemons] [settings.proxy] auto_start = false enable = true https = true port = 8443 [namespaces.ha-core] dir = "/home//repos/home-assistant/core" config = ["/home//.config/dotfiles-private/pitchfork/.config/pitchfork/home-assistant/core.toml"] [namespaces.ha-frontend] dir = "/home//repos/home-assistant/frontend" config = ["/home//.config/dotfiles-private/pitchfork/.config/pitchfork/home-assistant/frontend.toml"] ``` `home-assistant/core.toml`: ```toml [daemons.dev] run = "exec .venv/bin/hass -c config" depends = ["ha-frontend/build"] port = 8123 ready_port = { port = 8123, timeout = "5m" } retry = true stop_signal = { signal = "SIGTERM", timeout = "60s" } [daemons.prod] run = "exec dot http forward --port 8126 --target http://homeassistant.local:8123 --cors-origin https://serve.ha-frontend.localhost --cors-suffix .ha-frontend.localhost" port = 8126 ready_port = 8126 retry = true ``` `--cors-origin` and `--cors-suffix` present a worktree's `https://serve..ha-frontend.localhost` origin to prod as the main serve origin, which prod already allows, and hand the browser back its own origin in the response. `home-assistant/frontend.toml`: ```toml [daemons.build] run = "exec env HA_DEV_BACKGROUND=0 pnpm dev --fetch-translations" ready_output = { pattern = "Build done", timeout = "10m" } [daemons.serve] run = """ args="${XDG_STATE_HOME:-$HOME/.local/state}/dot/homeassistant/{{ namespace }}.serve.args" eval "set -- $(cat "$args" 2>/dev/null)" exec env HA_DEV_BACKGROUND=0 pnpm dev:serve --fetch-translations -p "$PORT" "$@" """ port = { expect = [8124], bump = 10 } ready_cmd = { run = 'curl -fsS -o /dev/null "http://127.0.0.1:$PORT/"', timeout = "10m" } ``` The main checkout keeps 8124 while it's free; a worktree's `serve` is bumped off it. `home-assistant/frontend-worktree.toml`, only used in worktrees' `pitchfork.local.toml`: ```toml [daemons.dev] run = 'exec "$HOME/.config/pitchfork/home-assistant/frontend-worktree-dev.sh"' depends = ["build"] port = { expect = [8140], bump = 10 } ready_cmd = { run = 'curl -fsS -o /dev/null "http://127.0.0.1:$PORT/manifest.json"', timeout = "5m" } retry = true stop_signal = { signal = "SIGTERM", timeout = "60s" } ``` `home-assistant/frontend-worktree-dev.sh` writes `.ha-dev/config/.storage/http` with Core's own `HTTP_STORAGE_SCHEMA` (the port, `use_x_forwarded_for` and trusted proxies `127.0.0.1/32` and `::1/128`), then runs `hass -c .ha-dev/config` with `HA_DEV_FRONTEND` set to the worktree. The instance template, `~/.config/dot/homeassistant/dev-config/configuration.yaml`: ```yaml default_config: homeassistant: name: Dev (worktree) frontend: development_repo: !env_var HA_DEV_FRONTEND demo: kitchen_sink: ``` ## dot config `~/.config/dot/homeassistant.yml`: ```yaml core: directory: ~/repos/home-assistant/core workspace: "[HA] Core" daemon: ha-core/dev url: https://dev.ha-core.localhost frontend: directory: ~/repos/home-assistant/frontend workspace: "[HA] Frontend" build: ha-frontend/build worktree: config: ~/.config/dot/homeassistant/dev-config serve: daemon: ha-frontend/serve url: https://serve.ha-frontend.localhost targets: prod: title: Prod url: https://prod.ha-core.localhost daemon: ha-core/prod link: title: Link url: https://.ui.nabu.casa ``` --- # Distros Source: https://dotfiles.timmo.dev/distros Each machine type lives on its own `distro/*` branch. The default branch is the full Omarchy desktop, and the others are cut-down copies for machines without that desktop. Every branch publishes its own copy of these docs, so each site describes only what that branch ships. The **Distro** switcher in the header moves between them. | Distro | Branch | Docs | | --- | --- | --- | | **Omarchy desktop**: Arch and Omarchy on the desktop and laptop | [`distro/arch-omarchy-quattro`](https://github.com/timmo001/dotfiles/tree/distro/arch-omarchy-quattro) | [dotfiles.timmo.dev](https://dotfiles.timmo.dev/) | | **Ubuntu server**: headless Ubuntu server and remote Herdr host | [`distro/ubuntu-server`](https://github.com/timmo001/dotfiles/tree/distro/ubuntu-server) | [ubuntu-server.dotfiles.timmo.dev](https://ubuntu-server.dotfiles.timmo.dev/) | | **Cloud**: cloud agent environments, starting with Claude Code | [`distro/cloud`](https://github.com/timmo001/dotfiles/tree/distro/cloud) | [cloud.dotfiles.timmo.dev](https://cloud.dotfiles.timmo.dev/) | :::caution[Personal setup] Like the rest of these docs, each distro is tuned for my own machines. Borrow the pieces you want rather than installing one wholesale. ::: ## How the sites publish | Piece | Why | | --- | --- | | `docs/distros.ts` | Shared list of distros for the header switcher, kept on the default branch and merged into the others | | `docs/current-distro.ts` | Which entry this branch is, setting its site and GitHub branch | | `docs/alchemy.run.ts` | Worker name and custom domain for each distro's site, picked by its Alchemy stage | | [Deploy docs](https://github.com/timmo001/dotfiles/blob/distro/arch-omarchy-quattro/.github/workflows/deploy-docs.yml) | One Worker per distro, each deploying from its own branch through GitHub Actions | --- # Agents Source: https://dotfiles.timmo.dev/dot/agents Agents reach `dot` three ways, all from the same command tree. Try Code Mode first, then MCP, then the CLI with `--json`. | Surface | What it is | | --- | --- | | Code Mode | `dot agent tools --json`, read by the OpenCode `cli-tools` plugin as the `dot` namespace | | MCP | `dot mcp`, a stdio server with the same tools; job-only ones are left out | | Skills | The `dot-*` skills in `dotfiles-skills/`, published through `skills.sh.json` | Install the skills with the [Skills CLI](https://skills.sh): ```bash npx skills add timmo001/dotfiles ``` Add the MCP server to a harness as a stdio server running `dot mcp`. ## Operations Write tools ask before they run unless a permission rule allows them. Tools that always ask never save an "always" answer. Job-only tools run through the `jobs` namespace, since they take longer than a tool call should. | Tool | Command | Access | MCP | | --- | --- | --- | --- | | `repo_search` | `dot repo search` | Read | Read-only | | `repo_list` | `dot repo list` | Read | Read-only | | `pr_queue` | `dot pr queue` | Read | Read-only | | `session_status` | `dot session status` | Read | Read-only | | `session_current` | `dot session current` | Read | Read-only | | `updates_status` | `dot updates status` | Read | Read-only | | `services_status` | `dot services status` | Read | Read-only | | `session_queue` | `dot session queue` | Read | Read-only | | `pr_reviews` | `dot pr reviews` | Read | Read-only | | `pr_watch` | `dot pr watch` | Read | Read-only | | `pr_list` | `dot pr list` | Read | Read-only | | `agent_lint` | `dot agent lint` | Read | Read-only | | `link_git` | `dot link git` | Read | Read-only | | `herdr_context` | `dot herdr context` | Read | Read-only | | `herdr_agents` | `dot herdr agents` | Read | Read-only | | `git_issues` | `dot git issues` | Read | Read-only | | `git_diff` | `dot git diff` | Read | Read-only | | `git_log_show` | `dot git log show` | Read | Read-only | | `report_list` | `dot report list` | Read | Read-only | | `skills_validate` | `dot skills validate` | Read | Read-only | | `skills_check` | `dot skills check` | Read | Read-only | | `services_run_logs` | `dot services run logs` | Read | Read-only | | `services_logs` | `dot services logs` | Read | Read-only | | `services_investigate` | `dot services investigate --print` | Read | Read-only | | `git_commit` | `dot git commit` | Write | Tool | | `agent_oxlint` | `dot agent oxlint` | Read | Read-only | | `herdr_repo_open` | `dot herdr repo open` | Write | Tool | | `omarchy_plugin_add` | `dot omarchy plugin add` | Write | Tool | | `omarchy_plugin_update` | `dot omarchy plugin update --yes` | Write | Tool | | `omarchy_plugin_remove` | `dot omarchy plugin remove --yes --no-commit-offer` | Write, always asks | Destructive | | `services_schedule_check` | `dot services schedule check` | Read | Read-only | | `homeassistant_status` | `dot homeassistant status` | Read | Read-only | | `homeassistant_logs` | `dot homeassistant logs` | Read | Read-only | | `homeassistant_stop` | `dot homeassistant stop` | Write, always asks | Destructive | | `snapshot` | `dot snapshot` | Read | Read-only | | `doctor` | `dot doctor` | Read | Read-only | | `report_run` | `dot report run` | Job only | Left out | | `services_start` | `dot services start` | Write | Tool | | `services_stop` | `dot services stop` | Write | Tool | | `session_send` | `dot session send` | Write | Tool | | `session_take` | `dot session take` | Write | Tool | | `session_remove` | `dot session remove` | Write, always asks | Destructive | | `herdr_model` | `dot herdr model` | Write | Tool | | `herdr_pane_move` | `dot herdr pane move` | Write | Tool | | `mcp_sync` | `dot mcp sync` | Write | Tool | | `agent_sync` | `dot agent sync` | Write | Tool | | `stow` | `dot stow` | Write | Tool | | `up` | `dot up` | Write | Tool | | `up_dotfiles` | `dot up dotfiles` | Job only | Left out | | `up_skills` | `dot up skills` | Job only | Left out | | `up_repos` | `dot up repos` | Job only | Left out | | `up_stow` | `dot up stow` | Write | Tool | | `up_tools` | `dot up tools` | Job only | Left out | | `up_plugins` | `dot up plugins` | Write | Tool | | `up_herdr` | `dot up herdr` | Write | Tool | | `up_agents` | `dot up agents` | Write | Tool | | `up_shell` | `dot up shell` | Write | Tool | | `updates_refresh` | `dot updates refresh` | Write | Tool | | `repo_induct` | `dot repo induct --noninteractive` | Write | Tool | | `reload` | `dot reload` | Write | Tool | | `skills_consumers_add` | `dot skills consumers add` | Write | Tool | | `skills_consumers_remove` | `dot skills consumers remove` | Write, always asks | Destructive | | `notes_capture_sync` | `dot notes capture sync` | Write | Tool | | `omarchy_shell_config` | `dot omarchy shell config` | Write | Tool | | `git_notifications_dismiss_dependencies` | `dot git notifications dismiss dependencies` | Write | Tool | | `git_notifications_dismiss_remaining` | `dot git notifications dismiss remaining` | Write, always asks | Destructive | --- # Command Reference Source: https://dotfiles.timmo.dev/dot/commands This page lists every `dot` command from the same Effect command tree that powers parsing, help, dispatch, and shell completions. ## `dot init` Run one-time first-use machine setup ```text dot init [flags] ``` Run the one-time first-use setup workflow for a fresh machine. Init prepares repos, stow links, mise tools, packages, and machine hooks, and trusts mise configs in tracked repos. After init completes, reboot so the Omarchy session picks up host env, then run dot doctor. Before the bounded workflow starts, init updates or clones the optional private overlay according to DOT_ALLOW_PRIVATE. Use dot up for ongoing maintenance. **Options** | Option | Description | | --- | --- | | `--noninteractive` | Skip the Hypr host questionnaire for this run | | `--interactive` | Enable the Hypr host questionnaire when no host is selected | | `--force` | Re-run init even if the machine looks initialised | | `--host` `` | Hypr host to link before stow | | `--log` `` | Init log path (default: ~/.local/state/dot/init.log) | | `--help` `-h` | Show help information | **Examples** ```bash dot init --noninteractive dot init --host laptop --noninteractive dot init --force --noninteractive ``` ## `dot install` Ensure prerequisites, then backup/adopt dotfiles ```text dot install [flags] ``` **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | ## `dot up` Aliases: `dot update` Check everything, pick what to update, then run it. The picker lists the stages with work (dotfiles, skills, repos, stow, tools, plugins, first-party, herdr, agents, shell), then gh extensions, missing packages and omarchy update; each stage also runs on its own, headless, as `dot up `. Phase flags (--pull, --stow, --app) run only those dotfiles phases. Internal --no-self-update, --post-hook-repo, --started-at, --group, --declined and --changed flags carry a run across the self-update restart. ```text dot up [flags] ``` dot up checks everything it can update or install: the dotfiles and tracked repositories, the skills checkout, global mise tools, Pi, Plannotator and OpenCode plugins, pending pacman and AUR packages, packages from the public and private lists that aren't installed, Omarchy and gh extensions. It saves the result for the bar, lists it, then asks which groups to run, offering only those with work, all ticked. --yes runs every group with work. Without a terminal, it still checks first and stops when nothing is pending; with work, it reruns itself in a Herdr tab in the dotfiles workspace and prints the pane to follow, or fails when Herdr can't open one. Groups run in order: 1. Stages: dotfiles, skills, repos, stow, tools, plugins, first-party, herdr, agents and shell, as `dot up ` runs them. First-party offers the pending updates from the [timmo] repository, installing its unit root-owned first, and System takes the rest. A stage that wasn't offered still runs when an earlier one changed something it applies: stow and Herdr after a dotfiles pull that brings new links or Herdr pins, tools after a dotfiles pull that brings mise changes, plugins after a tools upgrade, agents after a dotfiles pull or changed skills or plugins, and the shell after any change; stow, tools, plugins and Herdr are checked again first. A stage offered and left unticked never runs. 2. gh extensions: installs missing ones and upgrades the rest. 3. Missing packages: installs packages from the public and private lists. 4. System: installs the Omarchy patch hook and the first-party upgrade unit root-owned, then hands over to omarchy update -y for pacman, AUR and Omarchy updates, skipping its ready prompt and running its later prompts unattended. When a dotfiles patch no longer applies to the pending Omarchy, it holds the system update back and offers a Herdr agent to fix the patch. It finishes with a summary of updated repositories, mise tools and every step, then runs dot up --check to report what is still pending. dot up , the phase flags and --repo end the same way, except with --json. --check reports everything without changing anything. --check-repos reports only the dotfiles repositories, and --check-all every tracked repository, as the status check uses it. Phase flags (--pull, --stow, --app) run only those dotfiles phases, without the picker. Use --repo PATH (repeatable) to pull selected repositories, restore their pinned submodules and run configured post-update commands after HEAD changes. Pulled public dotfiles also rebuild dot; stow, agent instructions and the rest of a dotfiles pull are left to dot up, which the closing check lists. Add --pull to only pull and run post-update commands. **Options** | Option | Description | | --- | --- | | `--repo` `` | Fast-forward this repository when local work can be preserved, then run its post-update command; repeat for a batch. Pulled dotfiles only rebuild dot, leaving stow and the rest to dot up | | `--pull` | Run the repository pull phase only | | `--stow` | Generate completions, sync MCP configs, and stow only | | `--app` | Install Bun dependencies and rebuild the dot binary only | | `--check` | Report everything dot up would update or install, without changing anything | | `--check-repos` | Report only dotfiles pulls, pending pins and stow changes, skipping local work | | `--check-all` | Also check development repos for pulls, skipping local work | | `--yes` | Run every group with work without asking | | `--force` | Offer every group, even with nothing pending | | `--group` `` | Internal: the groups picked before a restart handoff (choices: dotfiles, skills, repos, stow, tools, plugins, first-party, herdr, agents, shell, gh, packages, system) | | `--declined` `` | Internal: the groups offered but not picked before a restart handoff (choices: dotfiles, skills, repos, stow, tools, plugins, first-party, herdr, agents, shell, gh, packages, system) | | `--changed` `` | Internal: the stages that changed something before a restart handoff (choices: dotfiles, skills, repos, stow, tools, plugins, first-party, herdr, agents, shell, gh, packages, system) | | `--no-self-update` | Skip the internal self-update phase, which pulls the public and private dotfiles | | `--no-reload` | Skip agent reload and module refresh | | `--post-hook-repo` `` | Internal post-hook repository | | `--started-at` `` | Internal: epoch ms the run started, for the summary timing | | `--help` `-h` | Show help information | **Exit codes** ```text 0 Update completed, or nothing to update 1 Fatal workflow failure, or the system update was held back 2 Update check could not finish 10 Update check found work 11 Legacy Hypr migration is required ``` **Examples** ```bash dot up dot up --check dot up --yes dot up --stow ``` ### `dot up dotfiles` Pull the public and private dotfiles and their pinned submodules, and rebuild dot when its source moved. Never prompts, so it can run in the background. ```text dot up dotfiles [flags] [] ``` **Options** | Option | Description | | --- | --- | | `--json` | Print the result as JSON on stdout, with the log on stderr | | `--help` `-h` | Show help information | **Arguments** | Argument | Description | | --- | --- | | `` | Not used by this stage | **Examples** ```bash dot up dotfiles dot up dotfiles --json ``` ### `dot up skills` Move the skills checkout to the latest main, rebuild skill-maintenance and relink skills. Never prompts, so it can run in the background. ```text dot up skills [flags] [] ``` **Options** | Option | Description | | --- | --- | | `--json` | Print the result as JSON on stdout, with the log on stderr | | `--help` `-h` | Show help information | **Arguments** | Argument | Description | | --- | --- | | `` | Not used by this stage | **Examples** ```bash dot up skills dot up skills --json ``` ### `dot up repos` Pull tracked repositories that are behind, leaving any with work in progress alone; name repositories to pull just those. Never prompts, so it can run in the background. ```text dot up repos [flags] [] ``` **Options** | Option | Description | | --- | --- | | `--json` | Print the result as JSON on stdout, with the log on stderr | | `--help` `-h` | Show help information | **Arguments** | Argument | Description | | --- | --- | | `` | Repository paths to pull, instead of every safe one | **Examples** ```bash dot up repos dot up repos ~/repos/upkeep dot up repos --json ``` ### `dot up stow` Generate completions, sync MCP config and skills, and stow. Never prompts, so it can run in the background. ```text dot up stow [flags] [] ``` **Options** | Option | Description | | --- | --- | | `--json` | Print the result as JSON on stdout, with the log on stderr | | `--help` `-h` | Show help information | **Arguments** | Argument | Description | | --- | --- | | `` | Not used by this stage | **Examples** ```bash dot up stow dot up stow --json ``` ### `dot up tools` Install missing mise tools, upgrade the rest and prune removed ones. Never prompts, so it can run in the background. ```text dot up tools [flags] [] ``` **Options** | Option | Description | | --- | --- | | `--json` | Print the result as JSON on stdout, with the log on stderr | | `--help` `-h` | Show help information | **Arguments** | Argument | Description | | --- | --- | | `` | Not used by this stage | **Examples** ```bash dot up tools dot up tools --json ``` ### `dot up plugins` Update the Pi, Plannotator and OpenCode plugins. Never prompts, so it can run in the background. ```text dot up plugins [flags] [] ``` **Options** | Option | Description | | --- | --- | | `--json` | Print the result as JSON on stdout, with the log on stderr | | `--help` `-h` | Show help information | **Arguments** | Argument | Description | | --- | --- | | `` | Not used by this stage | **Examples** ```bash dot up plugins dot up plugins --json ``` ### `dot up first-party` Upgrade the packages installed from the signed [timmo] repository through dot-first-party-upgrade@.service, which polkit lets you start without a password, then restart the user units whose main process still runs a replaced binary; any other process still on an old binary, such as one inside the compositor's unit, is only reported. The packages' install scripts restart their own services first, so nothing restarts twice. Only [timmo] is refreshed, so it can't become a partial system upgrade. Does nothing until dot init, or ticking System in dot up, installs the unit. Never prompts, so it can run in the background. ```text dot up first-party [flags] [] ``` **Options** | Option | Description | | --- | --- | | `--json` | Print the result as JSON on stdout, with the log on stderr | | `--help` `-h` | Show help information | **Arguments** | Argument | Description | | --- | --- | | `` | Not used by this stage | **Examples** ```bash dot up first-party dot up first-party --json ``` ### `dot up herdr` Restore pinned Herdr plugins and sync the saved Herdr and hc machines. Never prompts, so it can run in the background. ```text dot up herdr [flags] [] ``` **Options** | Option | Description | | --- | --- | | `--json` | Print the result as JSON on stdout, with the log on stderr | | `--help` `-h` | Show help information | **Arguments** | Argument | Description | | --- | --- | | `` | Not used by this stage | **Examples** ```bash dot up herdr dot up herdr --json ``` ### `dot up agents` Sync agent instructions and reload running agents. Never prompts, so it can run in the background. ```text dot up agents [flags] [] ``` **Options** | Option | Description | | --- | --- | | `--json` | Print the result as JSON on stdout, with the log on stderr | | `--help` `-h` | Show help information | **Arguments** | Argument | Description | | --- | --- | | `` | Not used by this stage | **Examples** ```bash dot up agents dot up agents --json ``` ### `dot up shell` Refresh shell modules, start the doctor check and refresh the bar. Never prompts, so it can run in the background. ```text dot up shell [flags] [] ``` **Options** | Option | Description | | --- | --- | | `--json` | Print the result as JSON on stdout, with the log on stderr | | `--help` `-h` | Show help information | **Arguments** | Argument | Description | | --- | --- | | `` | Not used by this stage | **Examples** ```bash dot up shell dot up shell --json ``` ## `dot run` Run a command with a deadline and process-group cleanup ```text dot run [flags] [] ``` Pass the executable and its arguments after --. Standard input, output and errors are inherited. Completion, timeout and SIGINT/SIGTERM/SIGHUP all release the owned process group, first with SIGTERM and then SIGKILL after the cleanup grace period. Use foreground commands: processes that deliberately leave the group or send work to an existing server are outside this ownership. For isolated OpenCode jobs, pass run --standalone. **Options** | Option | Description | | --- | --- | | `--timeout` `` | Execution deadline, for example '5 minutes' or '30 seconds' | | `--kill-after` `` | Cleanup grace period before SIGKILL (default: 5 seconds) | | `--help` `-h` | Show help information | **Arguments** | Argument | Description | | --- | --- | | `` | Executable to run after -- | | `` | Arguments passed unchanged to the command | **Exit codes** ```text Child exit code on completion 124 Execution deadline exceeded 125 Process execution failed 128 + signal number on interruption ``` **Examples** ```bash dot run --timeout '5 minutes' -- opencode2 run --standalone 'Process this capture' ``` ## `dot http` Local HTTP helpers ```text dot http [flags] ``` **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | ### `dot http forward` Forward HTTP and websockets to another server without proxy headers ```text dot http forward [flags] ``` Listens on 127.0.0.1 and forwards HTTP requests and websockets to the target origin, dropping Host and X-Forwarded-* headers so a server that doesn't trust this machine as a proxy accepts them. Use it behind a local HTTPS proxy, such as a pitchfork daemon, to reach a plain HTTP server from an HTTPS page. With --cors-origin and --cors-suffix, requests from an HTTPS origin under the suffix reach the target as coming from --cors-origin, and the allowed origin in the response is set back to theirs, for targets whose CORS list only matches exact origins. **Options** | Option | Description | | --- | --- | | `--port` `` | Local port to listen on, bound to 127.0.0.1 | | `--target` `` | Origin to forward to, such as http://host:8123 | | `--cors-origin` `` | Origin the target allows, presented upstream for origins under --cors-suffix | | `--cors-suffix` `` | Hostname suffix of HTTPS origins to present as --cors-origin | | `--help` `-h` | Show help information | **Examples** ```bash dot http forward --port 8126 --target http://homeassistant.local:8123 dot http forward --port 8126 --target http://homeassistant.local:8123 --cors-origin https://serve.ha-frontend.localhost --cors-suffix .ha-frontend.localhost ``` ## `dot status` Run work under a pinned terminal status header ```text dot status [flags] ``` **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | ### `dot status run` Run a command or pitchfork daemon under a pinned status header ```text dot status run [flags] [] ``` Pins a header to the top of the terminal with the state (Setting up, Starting, Running, Done, Stopped or Failed), the URL and the elapsed time, and keeps the terminal title in step with a spinner while work is in progress. --setup runs in an interactive zsh first. With --pitchfork, an already running daemon prompts before restarting (--attach follows it instead), its logs are followed once it is ready, and Ctrl+C stops it. --background returns once the daemon is ready. Without a TTY, state changes print as lines. **Options** | Option | Description | | --- | --- | | `--title` `` | Name shown in the header and terminal title | | `--url` `` | URL pinned in the header | | `--via` `` | What serves the URL when it is not this command, shown beside it | | `--setup` `` | zsh command run first, under the Setting up state | | `--pitchfork` `` | Pitchfork daemon to start and follow instead of a command | | `--conflicts` `` | Pitchfork daemon that cannot run alongside --pitchfork or the command; asks to stop it first. Repeat for more | | `--attach` | Follow an already running --pitchfork daemon instead of asking to restart it | | `--background` | Return once the pitchfork daemon is ready, leaving it running | | `--help` `-h` | Show help information | **Arguments** | Argument | Description | | --- | --- | | `` | Command and arguments to run after -- | **Examples** ```bash dot status run --title 'Lint' -- pnpm lint dot status run --title 'Core' --url https://dev.example.localhost --setup 'script/bootstrap' --pitchfork core/dev ``` ## `dot updates` Check everything dot up updates, for the status bar and OpenCode ```text dot updates [flags] ``` Refresh checks the dotfiles and dot-managed repositories, the managed skills checkout against timmo001/skills main, outdated and missing mise tools, every pending pacman and AUR update, packages from the public and private lists that aren't installed, Omarchy, and missing gh extensions and their upgrades. When dot daemon is running it keeps the status, refreshes it 15 minutes after the last full check, and answers status and refresh; watch needs it and exits 1 when it can't reach it or the daemon stops. Without the daemon, status reads the cache immediately and starts a background refresh once it is 15 minutes old, and refresh writes the cache atomically under a shared lock. Either way the cache is kept up to date. The bar's updates widget and the OpenCode skill-updates plugin read the daemon's status files ($XDG_RUNTIME_DIR/dot/status/updates-bar.json and updates.json) and run status or status --json while they are missing. status --json and watch --json print the status, its groups and the bar and footer output. Scheduled refreshes respect AUR HTTP-error backoff; manual refreshes retry immediately. Use --cache-dir and --timeout to override defaults; a custom --cache-dir always refreshes without the daemon. **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | **Examples** ```bash dot updates status dot updates refresh dot updates watch ``` ### `dot updates status` Print cached status-bar JSON and refresh stale data in the background ```text dot updates status [flags] ``` **Options** | Option | Description | | --- | --- | | `--json` | Print cached dotfiles, skills and package sections, and the bar and footer output, as JSON | | `--help` `-h` | Show help information | **Examples** ```bash dot updates status dot updates status --json ``` ### `dot updates refresh` Refresh the update status and notify the shell ```text dot updates refresh [flags] ``` **Options** | Option | Description | | --- | --- | | `--cache-dir` `` | Status cache directory (default: XDG status-bar cache) | | `--timeout` `` | Maximum seconds for each external check | | `--scheduled` | Respect the AUR request backoff | | `--quick` | Skip the package and Omarchy checks, keeping their cached status | | `--help` `-h` | Show help information | **Examples** ```bash dot updates refresh dot updates refresh --quick ``` ### `dot updates watch` Print status-bar JSON from the dot daemon, then again after each change ```text dot updates watch [flags] ``` **Options** | Option | Description | | --- | --- | | `--json` | Print the status, its groups, and the bar and footer output, as JSON | | `--help` `-h` | Show help information | **Examples** ```bash dot updates watch dot updates watch --json ``` ## `dot daemon` Serve status checks to the bar, OpenCode and the CLI over a Unix socket ```text dot daemon [flags] ``` Run the dot daemon in the foreground, as dot-daemon.service does; dot stow enables that unit, and rebuilding dot through dot up restarts it (after mise run dot:build, restart it with systemctl --user restart dot-daemon.service). It listens on $XDG_RUNTIME_DIR/dot/daemon.sock, mode 0600, and serves over effect/rpc with NDJSON framing: the update status (dot updates status, refresh and watch, and the status dot up saves go through it when it answers), the registered services (dot services status and watch) and the Git panel (dot git watch and refresh). It loads the update status from the cache on start, refreshes it 15 minutes after the last full check and writes the cache after each change; it checks the services and reads the Git panel every minute. It also mirrors each status to $XDG_RUNTIME_DIR/dot/status/ (updates.json, updates-bar.json, services.json and git.json) for the bar and the OpenCode footer to watch; the directory only exists while the daemon runs. SIGINT, SIGTERM and SIGHUP stop it cleanly and remove the socket and the status files. **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | **Examples** ```bash dot daemon ``` ## `dot services` Monitor registered systemd user services and timers ```text dot services [flags] ``` Each job registers itself with a YAML descriptor in ~/.config/dot/services.d/, shipped by the stow package that owns the unit. A descriptor names the unit and its monitoring policy: label, history, failAfter (consecutive failures before a job counts as failed), staleAfter (a duration such as "1 hour", counted from the latest of the last completed run, the last boot or resume, and one interval before the first calendar run due after those, so sleep, power off and gaps in the schedule are not missed runs), restartLimit ({ count, within }) for long-running services, counting only restarts that follow a failed run, notify, logs ({ dir, file }) for jobs that keep their own run logs, and repository (a GitHub owner/repo slug from dot-git.yml) naming the repository that logs and agents open in. A long-running service can add status ({ file }) pointing at a JSON file it writes with health ("ok", "warning", "degraded" or "failed"), summary and updated (epoch milliseconds); while systemd sees the service as healthy, a report from its current run replaces the health and summary. Without repository, the repository containing the unit's executable is used, falling back to the public dotfiles. Optional exitStatuses maps non-zero exit codes to "warning" or "skipped", for example { "2": "warning", "3": "skipped" }. Warnings break the failure streak and count as completed work for staleness; skipped invocations also break the failure streak, but don't count as completed work. dot services dismiss clears a failure streak by hand. These are monitor classifications; systemd still records non-zero exits. Run history comes from the user journal. A job can summarise each run by printing a line containing "[RESULT] " followed by a short outcome; the last such line per invocation becomes that run's summary in status, run logs, notifications and the timmo.services panel. Units with OnFailure=dot-service-failed@%n.service call dot services notify, which raises a desktop notification once failAfter is reached and refreshes the timmo.services panel. Timer services with ExecCondition=dot services schedule check run only at their calendar times, or within --grace of one, not as later catch-up runs after boot or resume; those runs show as skipped. dot services start always runs them. **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | **Examples** ```bash dot services status dot services logs dot-doctor.timer ``` ### `dot services status` Show the health of registered user services ```text dot services status [flags] ``` When dot daemon is running it checks the services, so watchers such as the services panel see the result too; otherwise the check runs here. **Options** | Option | Description | | --- | --- | | `--json` | Print the full snapshot as JSON | | `--help` `-h` | Show help information | **Examples** ```bash dot services status dot services status --json ``` ### `dot services watch` Print the services snapshot from the dot daemon as JSON, then again after each change ```text dot services watch [flags] ``` The daemon checks the registered services every minute and whenever dot services status, dot services notify, a tunnel or the fan controller asks it to. Each line is the snapshot dot services status --json prints, which the daemon also keeps in $XDG_RUNTIME_DIR/dot/status/services.json for the services panel. Exits 1 when the daemon can't be reached or stops. **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | **Examples** ```bash dot services watch ``` ### `dot services start` Run a registered job now, or restart a long-running service ```text dot services start [flags] ``` **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | **Arguments** | Argument | Description | | --- | --- | | `` | Registered timer or service unit | **Examples** ```bash dot services start dot-doctor.timer ``` ### `dot services stop` Stop a registered job's running service, leaving its timer scheduled ```text dot services stop [flags] ``` **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | **Arguments** | Argument | Description | | --- | --- | | `` | Registered timer or service unit | **Examples** ```bash dot services stop notes-capture-daemon.service ``` ### `dot services dismiss` Clear a registered job's failures by hand, until it fails again ```text dot services dismiss [flags] ``` Runs that ended before now stop counting towards the job's failure streak, and systemd's failed state for its service is reset, so the panel and bar show it as healthy until the next run fails. A skipped run also clears an earlier failure by itself. **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | **Arguments** | Argument | Description | | --- | --- | | `` | Registered timer or service unit | **Examples** ```bash dot services dismiss hass-removal-report.timer ``` ### `dot services logs` Open a registered job's logs in a Herdr tab for the repository that owns it ```text dot services logs [flags] ``` **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | **Arguments** | Argument | Description | | --- | --- | | `` | Registered timer or service unit | **Examples** ```bash dot services logs notes-capture-daemon.service ``` ### `dot services run` Inspect a registered job's recent runs ```text dot services run [flags] ``` **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | #### `dot services run logs` Print the journal output of a registered job's most recent runs, newest first, with its latest run log ```text dot services run logs [flags] ``` **Options** | Option | Description | | --- | --- | | `--count` `` | Number of recent runs to include | | `--help` `-h` | Show help information | **Arguments** | Argument | Description | | --- | --- | | `` | Registered timer or service unit | **Examples** ```bash dot services run logs dot-doctor.timer dot services run logs dot-doctor.timer --count 5 | wl-copy ``` ### `dot services investigate` Open an agent in a registered job's repository, briefed with its recent runs, logs, file locations and commands to investigate them ```text dot services investigate [flags] ``` **Options** | Option | Description | | --- | --- | | `--agent` `` | Installed launcher from dot herdr agents, such as opencode2; required unless --print | | `--modifiers` `` | Qt keyboard modifier bitmask, as for dot herdr repo open | | `--print` | Print the investigation brief instead of opening the agent | | `--help` `-h` | Show help information | **Arguments** | Argument | Description | | --- | --- | | `` | Registered timer or service unit | **Examples** ```bash dot services investigate dot-doctor.timer --agent opencode2 ``` ### `dot services notify` Notify when a registered job has failed (used by OnFailure=) ```text dot services notify [flags] ``` **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | **Arguments** | Argument | Description | | --- | --- | | `` | Registered timer or service unit | **Examples** ```bash dot services notify dot-doctor.service ``` ### `dot services schedule` Timer schedule checks for registered jobs ```text dot services schedule [flags] ``` **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | #### `dot services schedule check` Skip a timer's catch-up run after boot or resume (used by ExecCondition=) ```text dot services schedule check [flags] ``` **Options** | Option | Description | | --- | --- | | `--grace` `` | How long after a calendar time a catch-up run still goes ahead (default: 5 minutes) | | `--help` `-h` | Show help information | **Examples** ```bash dot services schedule check dot services schedule check --grace '4 hours' ``` ## `dot fans` Control chassis fans from a Home Assistant temperature ```text dot fans [flags] ``` Reads ~/.config/dot/fans.yml: entity (a Home Assistant temperature sensor), device (a liquidctl --match string), channels (a list such as fan1 and fan2), ramp ({ from, to } in °C), speed ({ min, max } in percent) and optionally cpu ({ hwmon, label, ramp }, such as k10temp and Tctl). Watches the entity through ha-bridge and ramps the channels linearly from speed.min at ramp.from to speed.max at ramp.to, in 5% steps. With cpu, it also polls that hwmon temperature every 5 seconds, ramps it on cpu.ramp from the average of the last 60 seconds of readings, and runs the fans at the higher of the two speeds; an unreadable CPU sensor sets speed.max. An unavailable or non-numeric reading, no reading within 30 seconds, or a stopped watcher sets speed.max until readings resume; the watcher restarts after 15 seconds. Health is written to $XDG_STATE_HOME/dot/fans/status.json for the status field of a dot services descriptor. Stopping hands the device back to motherboard control with liquidctl initialize. **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | **Examples** ```bash dot fans run ``` ### `dot fans run` Control chassis fans from a Home Assistant temperature (used by dot-fans.service) ```text dot fans run [flags] ``` **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | **Examples** ```bash dot fans run ``` ## `dot hdr` Switch the primary monitor between HDR and SDR ```text dot hdr [flags] ``` The primary monitor is HDMI-A-2 on the desktop host and the focused monitor elsewhere. On sets 10-bit output with HDR colour management and doubled SDR brightness, and saves the setting so a Hyprland reload keeps it; off restores 8-bit sRGB. Either does nothing when the monitor is already there. The hdr-on and hdr-off scripts wrap these for launchers that take a script path, such as a desktop entry for a video app. Games use dot game, which turns HDR on as part of gaming mode. **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | **Examples** ```bash dot hdr on dot hdr off ``` ### `dot hdr on` Switch the primary monitor to HDR ```text dot hdr on [flags] ``` **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | **Examples** ```bash dot hdr on ``` ### `dot hdr off` Switch the primary monitor back to SDR ```text dot hdr off [flags] ``` **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | **Examples** ```bash dot hdr off ``` ## `dot game` Pause heavy background services and turn on HDR while gaming ```text dot game [flags] ``` Gaming mode stops the user units listed in ~/.config/dot/gaming.yml that are running, waiting up to 15 seconds for them to exit, and turns HDR on unless it already is or --sdr is given. It stays on while anything holds it: each dot game run or dot game launch process, or dot game on until dot game off. When the last holder exits it starts the stopped units again and turns HDR off if it turned it on. Holders that died are dropped on the next call, so a killed wrapper can't keep services stopped. State lives in $XDG_RUNTIME_DIR/dot-game.json. **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | **Examples** ```bash dot game launch steam://rungameid/1086940 dot game on dot game off ``` ### `dot game on` Turn gaming mode on until dot game off ```text dot game on [flags] ``` **Options** | Option | Description | | --- | --- | | `--sdr` | Leave HDR alone, for games that look wrong in it | | `--help` `-h` | Show help information | **Examples** ```bash dot game on dot game on --sdr ``` ### `dot game off` Turn gaming mode off now and put everything back ```text dot game off [flags] ``` **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | **Examples** ```bash dot game off ``` ### `dot game run` Run a game's command in gaming mode ```text dot game run [flags] [] ``` Gaming mode stays on until the command exits, then everything it changed is put back. dot game run exits with the game's exit code; SIGINT, SIGTERM and SIGHUP are passed on to the game's process group. game-run wraps it for launchers: Heroic's wrapper (dot game sync sets it) and Steam's launch options (game-run %command%). **Options** | Option | Description | | --- | --- | | `--sdr` | Leave HDR alone, for games that look wrong in it | | `--help` `-h` | Show help information | **Arguments** | Argument | Description | | --- | --- | | `` | The game's executable, after -- | | `` | Arguments passed unchanged to the game | **Examples** ```bash dot game run -- %command% game-run %command% ``` ### `dot game launch` Launch a game by its store URL in gaming mode ```text dot game launch [flags] ``` Steam games are opened through Steam, and gaming mode is held until Steam's reaper process for the app exits; a game that hasn't started within 10 minutes ends it. Heroic games are only opened, since game-run holds gaming mode for them. Lutris games run through lutris with LUTRIS_SKIP_INIT=1 and hold gaming mode until it exits. Game desktop files and the Games panel launch through this. **Options** | Option | Description | | --- | --- | | `--sdr` | Leave HDR alone, for games that look wrong in it | | `--help` `-h` | Show help information | **Arguments** | Argument | Description | | --- | --- | | `` | A steam://rungameid/, heroic://launch? or lutris:rungameid/ URL | **Examples** ```bash dot game launch steam://rungameid/1086940 dot game launch "heroic://launch?appName=1495134320&runner=gog" ``` ### `dot game list` List game shortcuts and whether gaming mode is on ```text dot game list [flags] ``` **Options** | Option | Description | | --- | --- | | `--json` | Print JSON for the Games panel | | `--help` `-h` | Show help information | **Examples** ```bash dot game list dot game list --json ``` ### `dot game sync` Make every game shortcut and Heroic game launch in gaming mode ```text dot game sync [flags] ``` Rewrites the Steam, Heroic and Lutris game desktop files in ~/.local/share/applications to run dot game launch, keeping the store URL in X-Dot-Game-Url. Sets Heroic's default and per-game wrapper to game-run, and clears hdr-on and hdr-off launch scripts that it replaces. Only changed files are written. dot-game-sync.path runs it whenever those directories change. **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | **Examples** ```bash dot game sync ``` ## `dot tunnel` Run shared Cloudflare tunnels on one machine at a time ```text dot tunnel [flags] ``` Runs cloudflared with the token in ~/.config/dot/tunnels/.token, checking every 15 seconds which connectors the tunnel has, through the Cloudflare API with the token in ~/.config/dot/tunnels/cloudflare-api-token (Account > Cloudflare Tunnel > Read). The connector whose live connections opened first keeps the tunnel. A machine that finds another connector stops its own cloudflared and waits until none is left, so a laptop that wakes from sleep after another machine took over gives the tunnel back. Health is written to $XDG_STATE_HOME/dot/tunnels//status.json for the status field of a dot services descriptor: ok while serving, warning while another machine holds the tunnel or the API can't be checked. Without an answer from the API it never starts cloudflared, and keeps a running one going. **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | **Examples** ```bash dot tunnel run timmo ``` ### `dot tunnel run` Run a Cloudflare tunnel on one machine at a time (used by dot-tunnel@.service) ```text dot tunnel run [flags] ``` **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | **Arguments** | Argument | Description | | --- | --- | | `` | Tunnel name, matching ~/.config/dot/tunnels/.token | **Examples** ```bash dot tunnel run timmo ``` ## `dot stow` Re-stow public/private dotfiles ```text dot stow [flags] ``` **Options** | Option | Description | | --- | --- | | `--public` | Stow public dotfiles only | | `--private` | Stow private dotfiles only | | `--help` `-h` | Show help information | ## `dot omarchy` Manage Omarchy plugins and the shell layout ```text dot omarchy [flags] ``` **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | ### `dot omarchy plugin` Manage Omarchy plugin submodules. The manage-omarchy-plugin compatibility wrapper may pass trailing 0/1 confirmation and commit-offer values to update and remove. ```text dot omarchy plugin [flags] ``` Import, update, or remove Omarchy plugins managed as dotfiles submodules. The Omarchy plugin lifecycle hook calls this command through the manage-omarchy-plugin compatibility wrapper. For a repository that keeps its plugin in a subfolder, pass add --path with that folder. The submodule holds the whole repository, and the registry's path entry tells stow and update which folder to validate and deploy. The shared panel components come from Groundwork's sync (mise run sync in the groundwork repository), which copies them into omarchy/.config/omarchy/components and each standalone plugin. **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | **Exit codes** ```text 0 Managed operation completed or was skipped 1 Managed operation failed 20 Plugin is unmanaged; continue with Omarchy's normal operation ``` **Examples** ```bash dot omarchy plugin update timmo.clock --yes dot omarchy plugin remove timmo.clock ``` #### `dot omarchy plugin add` Import a validated plugin checkout ```text dot omarchy plugin add [flags] ``` **Options** | Option | Description | | --- | --- | | `--path` `` | Plugin directory inside the checkout, for repositories that keep the plugin in a subfolder | | `--section` `` | (choices: left, center, right) | | `--before` `` | Place before this plugin | | `--after` `` | Place after this plugin | | `--help` `-h` | Show help information | **Arguments** | Argument | Description | | --- | --- | | `` | Plugin ID | | `` | Plugin Git remote | | `` | Validated live plugin checkout | #### `dot omarchy plugin update` Update one or all managed plugins ```text dot omarchy plugin update [flags] [] [] ``` **Options** | Option | Description | | --- | --- | | `--yes` | Update without confirmation | | `--help` `-h` | Show help information | **Arguments** | Argument | Description | | --- | --- | | `` | Managed plugin ID | | `` | Compatibility confirmation value | #### `dot omarchy plugin remove` Remove a managed plugin ```text dot omarchy plugin remove [flags] [] [] ``` **Options** | Option | Description | | --- | --- | | `--yes` | Remove without confirmation | | `--no-commit-offer` | Do not offer the optional git commit handoff | | `--help` `-h` | Show help information | **Arguments** | Argument | Description | | --- | --- | | `` | Managed plugin ID | | `` | Compatibility confirmation value | | `` | Compatibility commit-offer value | ### `dot omarchy shell` Manage the Omarchy shell ```text dot omarchy shell [flags] ``` **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | #### `dot omarchy shell config` Regenerate the Omarchy shell layout ```text dot omarchy shell config [flags] ``` Regenerate ~/.config/omarchy/shell.json from Omarchy's shipped default and the host-specific dotfiles layout without running the full stow flow. **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | **Examples** ```bash dot omarchy shell config ``` ## `dot session` Inspect and move agent sessions ```text dot session [flags] ``` **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | ### `dot session status` Query an OpenCode 2 session's model, variant and context pressure ```text dot session status [flags] [] ``` Read-only OpenCode 2 session inspection through the configured launcher. Without a session ID it reads the current session: $OPENCODE_SESSION_ID, which OpenCode sets for its shell and Code Mode tools, else the OpenCode session Herdr reports for this pane. It never guesses from the focused pane or working directory. Reports the selected model and variant, supported variants, model limits, latest completed assistant token measurement, its age, the latest completed compaction, and separately labelled cumulative usage and cost. Context tokens include non-cached input, cache reads and writes, output and reasoning, matching OpenCode's display. Input usage includes non-cached and cached input. Pressure uses whichever percentage is higher: context-window usage or input-limit usage. Current usage is unknown after compaction without a new measurement, after a model/variant switch, or with a staged revert. Later tool results and messages are not counted. Looks back through at most 20 messages per type and marks incomplete lookups. --warn-at defaults to 70 percent: a workflow heuristic, not a proven cognitive degradation threshold. The command does not change models, compact or open sessions. **Options** | Option | Description | | --- | --- | | `--warn-at` `` | Context or input percentage prompting a scope or handoff review (default: 70) | | `--json` | Print model, limits, context measurement and cumulative usage as JSON | | `--help` `-h` | Show help information | **Arguments** | Argument | Description | | --- | --- | | `` | OpenCode 2 session ID; without it, the current session ($OPENCODE_SESSION_ID, or the one Herdr reports for this pane) | **Examples** ```bash dot session status dot session status ses_example --json dot session status ses_example --warn-at 80 ``` ### `dot session send` Queue a session on the HA box to pick up on another machine ```text dot session send [flags] [] ``` Exports the session and its subagent sessions with opencode2 session export, adds a patch of uncommitted changes (untracked files included) and uploads them over SSH to the queue folder set in ~/.config/dot/session-queue.yml. Attachments are kept relative to the session's directory, then the home directory, so take restores them to the same place on the other machine without overwriting anything. The original session is left as it is. **Options** | Option | Description | | --- | --- | | `--attach` `-a` `` | Send this file or folder too, such as screenshots or a scratch folder; repeatable | | `--json` | Print the queued entry's metadata as JSON | | `--help` `-h` | Show help information | **Arguments** | Argument | Description | | --- | --- | | `` | OpenCode 2 session ID; without it, an agent sends its current session ($OPENCODE_SESSION_ID, or its own Herdr pane's) and a person picks an OpenCode pane from Herdr | **Examples** ```bash dot session send dot session send ses_example --json dot session send -a /tmp/opencode/my-task -a screenshot.png ``` ### `dot session queue` List sessions waiting in the queue ```text dot session queue [flags] ``` **Options** | Option | Description | | --- | --- | | `--json` | Print pending entries as JSON | | `--help` `-h` | Show help information | **Examples** ```bash dot session queue dot session queue --json ``` ### `dot session take` Pick up a queued session on this machine ```text dot session take [flags] [] ``` Claims the entry so no other machine can take it, imports the sessions into this machine's checkout of the same repository, offers to apply the patch when HEAD matches and the tree is clean, then opens the session in its Herdr workspace with a draft prompt pasted in but not sent. **Options** | Option | Description | | --- | --- | | `--json` | Print the outcome as JSON | | `--help` `-h` | Show help information | **Arguments** | Argument | Description | | --- | --- | | `` | Entry ID from dot session queue; without it, pick one | **Examples** ```bash dot session take ``` ### `dot session remove` Take sessions out of the queue without picking them up ```text dot session remove [flags] [] ``` Moves pending entries to removed/ in the queue folder, so no machine can take them but they can still be recovered by hand. The original sessions are left as they are. **Options** | Option | Description | | --- | --- | | `--json` | Print the removed entry IDs as JSON | | `--help` `-h` | Show help information | **Arguments** | Argument | Description | | --- | --- | | `` | Entry IDs from dot session queue; without them, pick one | **Examples** ```bash dot session remove dot session remove 20261029T165219-laptop-ses_example ``` ### `dot session current` Print the current OpenCode 2 session's ID ```text dot session current [flags] ``` Reads $OPENCODE_SESSION_ID, which OpenCode sets for its shell and Code Mode tools, else the OpenCode session Herdr reports for this pane. Fails when neither names a session. **Options** | Option | Description | | --- | --- | | `--json` | Print the session's ID, title and directory as JSON | | `--help` `-h` | Show help information | **Examples** ```bash dot session current dot session current --json ``` ## `dot snapshot` Save a CPU and memory snapshot with process rankings ```text dot snapshot [flags] ``` Print a Markdown CPU and memory summary with a usage-filtered process tree. --sort mem defaults to an 80 MiB measured subtree PSS cutoff; --sort cpu defaults to 1% of one core. Adjust these with --min-memory-mib and --min-cpu. Each tree row shows aligned memory and CPU totals beside the process name. Totals include hidden children, so small workers can qualify together; parent and child totals overlap. Expand the largest remaining qualifying branch until --limit visible processes are reached (default: 40, including ancestors). Zero-usage branches are omitted. The saved report adds CPU, memory and process-name rankings with the same cutoffs and per-table limit, plus pressure measurements. Interactive human runs open it in $EDITOR (vi if unset). The internal dot agent detect check automatically selects JSON. JSON retains all sampled processes and the complete processTree, and reportSelection identifies visible PIDs, cutoffs, the limit and omitted count. Missing measurements are null; unavailable parents are marked. CPU is sampled over approximately one second; 100% per process means one logical CPU. PSS divides shared pages between processes. Reports are saved in the system temporary directory ($TMPDIR, normally /tmp), named dot-snapshot-.md or .json. Existing output files are never overwritten. **Options** | Option | Description | | --- | --- | | `--sort` `` | Sort the process tree and JSON process list by CPU or memory (choices: cpu, mem) | | `--limit` `` | Maximum visible tree processes, including parents, and entries per ranking table | | `--min-memory-mib` `` | Minimum measured subtree PSS in MiB for memory sorting (default: 80) | | `--min-cpu` `` | Minimum measured subtree CPU percentage for CPU sorting (default: 1; 100% = one core) | | `--help` `-h` | Show help information | **Examples** ```bash dot snapshot dot snapshot --sort cpu dot snapshot --limit 40 dot snapshot --min-memory-mib 50 ``` ## `dot work-time` Print whether it's work time now, as JSON ```text dot work-time [flags] ``` Print {"work": true} during work hours from the private work schedule, unless calendar leave is active, otherwise {"work": false}. A missing schedule counts as outside work time. Notes go to stderr, so stdout is always the JSON line. **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | **Examples** ```bash dot work-time ``` ## `dot firewall` Reconcile managed ufw firewall rules ```text dot firewall [flags] ``` Ensure the managed ufw allow rules are present with their exact source, destination, interface/direction, and purpose comment. Missing rules are added, stale-comment rules are deleted and re-added, then ufw is reloaded once. A source-restricted rule does not satisfy a managed any-source rule. **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | **Examples** ```bash dot firewall ``` ## `dot doctor` Run parallel health checks for dependencies, repositories, stow integrity, services, packages, browser configuration, hardware video, firewall rules, and OpenCode/Herdr integration. A timestamped report is always written under ~/.local/state/dot/logs/. ```text dot doctor [flags] ``` Run health checks on the dotfiles system. All checks run in parallel and each section streams to the terminal as it finishes, followed by a grouped summary. A timestamped log is always written under ~/.local/state/dot/logs/. **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | **Checks performed** ```text Dependencies and configured gh extensions Repositories, origin HEAD, git config, and stow integrity OpenCode, Herdr, notifications, timers, and UWSM integration Omarchy host links, browser flags/extensions, and hardware video Public/private packages, pacman hooks, and managed firewall rules ``` **Exit codes** ```text 0 No critical errors (warnings may still be present) 1 One or more critical errors found ``` ## `dot clean` Unstow managed dotfiles ```text dot clean [flags] ``` **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | ## `dot agent` Agent harness tooling: instruction sync, linting, tools and detection ```text dot agent [flags] ``` **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | ### `dot agent sync` Mirror AGENTS.md to agent harness instruction files ```text dot agent sync [flags] ``` Mirror ~/.config/opencode/AGENTS.md to each agent harness's instruction file, then trust each tracked repository from private dot-git.yml in Claude Code (~/.claude.json) so it opens without the workspace trust prompt. Each repository is trusted once, the first time its checkout exists; dot remembers it in its state directory, so untrusting it in Claude Code later sticks. Runs as part of dot update and dot init. **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | **Examples** ```bash dot agent sync ``` ### `dot agent lint` Run the repository's agent_lint commands from private dot-git.yml on changed files ```text dot agent lint [flags] [] ``` Collect files changed in the working tree against HEAD, plus untracked files that are not ignored, and run the configured agent_lint commands in parallel from the repository root under dot run --timeout, reporting results in config order. Deleted files and submodule changes are left out. Paths narrow the changed files. --all uses every tracked and untracked file that is not ignored instead, so commands run without changes. --only runs just the named commands and reports only those. A run argument of exactly {files} expands to the changed files matching the command's include globs; commands without it run as they are, but only when a changed file matches. Each result is passed, failed, timed-out or skipped, with the last lines of output for failures. Exits non-zero when any command fails or times out. Repositories without agent_lint print a notice and exit zero. **Options** | Option | Description | | --- | --- | | `--json` | Print one JSON report instead of log lines | | `--all` | Lint every file, not only changed ones | | `--only` `` | Run only the command with this name; repeatable | | `--help` `-h` | Show help information | **Arguments** | Argument | Description | | --- | --- | | `` | path | **Examples** ```bash dot agent lint dot agent lint --json dot agent lint src/one.ts src/two.ts --json dot agent lint --all --only Typecheck --json ``` ### `dot agent oxlint` Run the advisory generic Oxlint pass on JavaScript and TypeScript changes in an opted-in repository. Repository-owned Oxlint takes precedence. Use --changed normally, explicit paths to lint whole files, or --all when explicitly requested. Pass --force to run despite those skips. ```text dot agent oxlint [flags] [] ``` Run the generic @timmo001/oxlint-rules recommended config from a dot-managed cache without changing the target repository. The current repository must set agent_oxlint: true in private dot-git.yml. Repositories with their own Oxlint config, dependency, script, or local binary are skipped because their local setup takes precedence. Pass --force to run anyway. Diagnostics are advisory and do not make these personal rules authoritative for the host repository. --changed compares the working tree and untracked files with HEAD, prints only findings on added or modified lines, and exits non-zero when any remain. Paths with --changed limit that comparison to those files or directories. dot git commit runs the same check on the files it commits. **Modes** ```text --changed Lint uncommitted changes, reporting only changed lines; add paths to narrow ... Lint explicit files or directories in full --all Lint the complete repository tree --force Run even if opt-in or repository Oxlint would skip --opt-in Enable and commit the existing config entry; add paths or --all to also lint ``` **Options** | Option | Description | | --- | --- | | `--all` | Lint the complete repository tree | | `--changed` | Lint uncommitted changes and report only findings on changed lines; paths narrow the scope | | `--opt-in` | Enable the existing private config entry and commit the single-line change | | `--force` | Run even if the repository is not opted in or already has Oxlint | | `--help` `-h` | Show help information | **Arguments** | Argument | Description | | --- | --- | | `` | path | **Opt-in** ```text --opt-in adds or sets only agent_oxlint: true in an existing private repository entry, preserving all other bytes. If the entry is missing, it offers the repo induct wizard with agent Oxlint prefilled as enabled. Without a terminal it prints induction instructions. The config must be tracked and clean. Active commit hooks are refused rather than bypassed so formatters cannot expand the change. Commits through dot git commit without pushing; unrelated staged files are excluded. An existing opt-in creates no commit. ``` **Examples** ```bash dot agent oxlint --changed dot agent oxlint --changed src/example.ts dot agent oxlint src/example.ts dot agent oxlint src/one.ts src/two.ts dot agent oxlint --all dot agent oxlint --force src/example.ts dot agent oxlint --opt-in ``` ### `dot agent tools` List the dot commands exposed to agents as Code Mode tools ```text dot agent tools [flags] ``` List the dot commands that the OpenCode cli-tools plugin exposes as typed Code Mode tools under tools.dot.*. The list is opt-in and kept in dot/src/commands/AgentTools.ts; each entry's input schema is generated from the command's arguments and flags. --json prints the manifest the plugin reads: tool name, command path, summary, read or write access, pinned state, timeout, whether the command has --json, the input JSON Schema, and how each input maps back to an argument or flag. Write tools ask for permission through dot.write. **Options** | Option | Description | | --- | --- | | `--json` | Print the tool manifest as JSON | | `--help` `-h` | Show help information | **Examples** ```bash dot agent tools dot agent tools --json ``` ### `dot agent detect` Detect whether an AI coding agent is running dot ```text dot agent detect [flags] ``` Detect whether dot is running under an agent harness from agent environment variables, falling back to a Linux /proc process-ancestry check. Exits 0 when an agent is detected and 1 otherwise, so scripts can branch with `if dot agent detect`. Set DOT_AGENT=1 to force detection on or DOT_AGENT=0 to force it off. **Modes** ```text (default) Print the detected agent, or a no-agent message --quiet Print only the provider id (nothing when no agent) --json Print the detection result as JSON ``` **Options** | Option | Description | | --- | --- | | `--quiet` `-q` | | | `--json` | Print JSON | | `--help` `-h` | Show help information | **Examples** ```bash dot agent detect dot agent detect --quiet dot agent detect --json dot agent detect && echo running under an agent ``` ## `dot notes` Integrate with the notes tool ```text dot notes [flags] ``` **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | ### `dot notes capture` Manage the notes capture Worker ```text dot notes capture [flags] ``` **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | #### `dot notes capture sync` Sync watched repositories to the notes capture picker ```text dot notes capture sync [flags] ``` Regenerate the notes capture repository picker from repositories with GitHub notifications enabled in the private dot-git.yml configuration. Updates only CAPTURE_REPOSITORIES in the ignored capture/.env.prod file the capture Alchemy stack reads. When the picker changes, deploys the notes-github stack, which copies it into the repository secret CI deploys with, then the capture stack, and restores the old picker if either deploy fails. **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | **Examples** ```bash dot notes capture sync ``` ## `dot setup` Set up package repositories and Herdr machines ```text dot setup [flags] ``` **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | ### `dot setup private` Set up private package sources ```text dot setup private [flags] ``` **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | #### `dot setup private repo` Sync and register the private pacman repository ```text dot setup private repo [flags] ``` Sync the private Arch package repo mirror, write the private pacman repo snippet, and add the Include line to /etc/pacman.conf when it is missing. This repairs Omarchy pacman.conf refreshes that remove local repository includes. Privileged writes prefer pkexec and fall back to sudo. **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | **Examples** ```bash dot setup private repo ``` ### `dot setup public` Set up public package sources ```text dot setup public [flags] ``` **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | #### `dot setup public repo` Trust and register the public timmo pacman repository ```text dot setup public repo [flags] ``` Download the public signing key, require its pinned full fingerprint, locally sign it in pacman's keyring, and register the signed [timmo] repository before the other package repositories. The command fails before changing trust or pacman configuration when the repository is unavailable or the downloaded fingerprint does not match. **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | **Examples** ```bash dot setup public repo ``` ### `dot setup herdr` Set up Herdr ```text dot setup herdr [flags] ``` **Options** | Option | Description | | --- | --- | | `--help` `-h` | Show help information | #### `dot setup herdr machines` Save the Herdr SSH machines from the private machine list in Herdr and hc ```text dot setup herdr machines [flags] ``` Write the machines in the private ~/.config/dot/herdr-machines.yml into Herdr's saved-machine catalog (~/.local/state/herdr/client/endpoints.json), in the list's order and with its profile IDs, labels, SSH targets and sessions, so every device has the same machines. A machine whose host is this device's hostname is left out, so a device never lists itself. Herdr keeps the catalog in client state rather than config, so dot stow can't link it. A machine this device already has keeps its enabled state, so toggles survive; enabled in the list only applies when it's added. Machines the list doesn't name are kept after it. Open Herdr clients pick up the change. When the Herdr app's core (hc) is installed, it also adds each listed machine hc doesn't have yet with hc machine add --install, named from its label in lowercase ("[HA] SSH" is ha-ssh), and an ssh:// target with a port goes through --via. A machine that can't be reached is tried again next time. dot update runs the same steps and only reports them when they save or add machines or fail, so a device without the list, or whose machines already match, sees nothing. Host keys and remote installs for Herdr stay with Herdr: run herdr machine reconnect