# Pins A pinned terminal pane for a personal Herdr layout. A pin ties a terminal to one space, one machine or everywhere; the pane shows the terminal pinned for the space you are in and follows as spaces change. The everyday use is lazygit pinned to each repo's space, so git for that repo is always in the same place. The mod is the pane's 28px header plus a floating pin button; the terminal is a plain layout block whose address the mod rewrites in the layout file. ![Pins](preview.png) ## What you see A column in the layout, under the tab area by default (the `main` block and the column in a column with an 8px gap), or beside it (a row). 360px tall when under or over the tabs, 360px wide beside them; `background`, radius 10, 1px `border`, `accent` border while the focus is inside. Top to bottom: - **Header**, 28px, the mod. One row, 10px side padding, 8px gaps, 12px type, on `background`: - a 13px pin icon, `accent` when something is pinned here, else `dim`; - nothing pinned: `Nothing pinned here` in `dim`, truncated; - pinned: the program's icon at 14px from Herdr's program table (its `svg` tinted `dim` when `tint`, else its `image`), the program's name (the live terminal's program name, else the pin's name) medium weight in `foreground`, at most 220px, truncated; the terminal's live folder (`~` for home, `~/…` under it) in `dim`, filling the row, truncated; a scope tag 18px tall, 6px side padding, radius 5, `accent` at 12% (`accent` + `1f`) behind 10.5px medium `accent` text: `this space`, `this machine` or `everywhere`; - a pinned terminal that has ended: the name in `dim` and `t7 has ended` where the folder goes; - a kept program that came back as a plain shell after a core restart: a **Restart** button (refresh icon); - a 1px `border` line under the header, 2px `accent` while the pinned terminal has the focus (Herdr draws no focus border on a layout terminal block); - under the pointer only, at the right: **Pin…** (pin icon), **Move…** (move icon), and **Unpin** (pin-off icon) when something is pinned. Header buttons are 20px tall, 6px side padding, 4px gap, radius 5, 12px icon and 11px label in `muted`; `hover` behind and `foreground` under the pointer. - **The terminal**: the rest of the column, a layout block showing one terminal. Never hidden and never 0px (see Watch out). - **The fold**, while nothing live is pinned for the current space. Default, a **sliver**: the column 8px, the header 7px, the block 1px with no terminal in it; the header draws only its `background`. With Herdr's shared `pins.fold` set to `"header"` it folds to the **header** instead: the column 29px, the header 28px as above (`Nothing pinned here`, Pin… and Move… under the pointer), the block 1px. A pin whose terminal has ended keeps the header too, for `t7 has ended` and Unpin. Unfolding puts the header back to 28px, the block to the rest, and the column to its open size (the size it was last dragged to, else the file's). - **Beside the tabs** the header fold is a 29px-wide strip: only the pin icon, centered; a click on it opens Pin…. The sliver is 8px wide and draws nothing. - **The pin button**: a floating block over the tab area, bottom right by default; Herdr draws its frame and people drag it where they like. While no pin shows for the current space it is a 24px square with a 14px pin icon, `dim`, `accent` under the pointer, radius 6; a click opens Pin… as a centered dialog. While a pin shows it draws nothing and no frame shows. **The Move… popup** is 160 × 130 at the pointer, on `popover`, 5px padding, 12.8px type: four 30px rows, **Bottom**, **Top**, **Right**, **Left**, each a 13px Lucide panel icon in `muted` and the label in `foreground`, radius 7, `hover` under the pointer. **The picker** (Pin…) is a 480px popup at the pointer, or a centered dialog when opened from a key or the button; its height is 174px + 30px per row, at most 480px; on `popover`, 5px padding, 12.8px type: - A 28px title line, 8px left padding, 11px `dim`: `Pin in : for this space, this machine, or all` (`Starting…` while a Start runs), and a close button (x icon, 12px, radius 4, `hover` under the pointer). - An 18px line under it, 8px left padding, 11px `dim`: `Shows the space pin, else the machine pin, else the everywhere pin.` - Three sections, each under a 24px heading (11px semibold `dim`, 8px left padding), scrolling past the popup's height. Rows are 30px, 8px side padding, 8px gaps, radius 7, `hover` behind the highlighted row and under the pointer: - **Start new**: one row per starter (lazygit and a shell until the list is changed): `Start