# Ghostty

紺色のターミナル。16 色、クリーム色の文字、黄色のカーソルと選択範囲。テーマファイル 1 つと、設定に 1 行。

- id: `ghostty`
- 対応環境: macOS, Linux
- インストール: コマンド 1 つ
- ターミナルとコマンドライン

## インストール

```sh
npx github:pseudoyu/poi-theme install ghostty
```

## 変更されるもの

- `~/.config/ghostty/themes/`: 新規ファイル 3 個
- `~/.config/ghostty/config`: 1 行: theme = poi-machine

## そのあと

- Ghostty の設定を再読み込みします。macOS は ⌘ ⇧ ,、Linux は Ctrl ⇧ ,。

## 元に戻す

```sh
npx github:pseudoyu/poi-theme uninstall ghostty
```

入れたものをそのまま取り除きます。新規ファイルは削除、追加した行やブロックは除去、元からあったファイルは .pre-poi のコピーから戻します。

## 知っておくこと

- 自分の設定に書いた色は、テーマより優先されます。
- ターミナルの 16 色で描くツールには専用のポートが要りません。bat、delta、lazygit はそのまま追従します。
- Machine にはあと 2 つあります。poi-machine-data（オリーブ、表向け）と poi-machine-log（緑、ログ向け）。ghostty --theme=poi-machine-data で開きます。

## 確認した環境

- macOS (macOS 27): 同じファイルを毎日使用
- Linux (Arch Linux, KDE Plasma 6): 同じファイルを毎日使用

## ファイル

- https://poi.pseudoyu.com/files/ghostty/machine/poi-machine
- https://poi.pseudoyu.com/files/ghostty/machine/poi-machine-data
- https://poi.pseudoyu.com/files/ghostty/machine/poi-machine-log
- https://poi.pseudoyu.com/files/ghostty/machine/glow.glsl
