Ghostty
藏青底的终端:十六色、暖白的字、黄色的光标和选区。一个主题文件,配置里加一行。
- 输入的名字
- ghostty
- 运行在
- macOS, Linux
- 安装
- 一条命令
- 跟随
- 你 apply 的那套主题
- 文件数
- Machine 4 · Samaritan 2
安装
- 运行安装器
只写下面表里列的东西。动你已有的文件之前,先在旁边留一份 .pre-poi。
$npx github:pseudoyu/poi-theme install ghostty$npx github:pseudoyu/poi-theme install ghostty --theme samaritan - 然后
重新载入 Ghostty 的配置:macOS 按 ⌘ ⇧ ,,Linux 按 Ctrl ⇧ ,。
- 撤销
把装进去的东西原样取出,装之前就有的文件按备份还原。
$npx github:pseudoyu/poi-theme uninstall ghostty
它会改什么
文件或文件夹写进去什么
~/.config/ghostty/themes/新增 3 个文件
~/.config/ghostty/config一行:theme = poi-machine
文件或文件夹写进去什么
~/.config/ghostty/themes/poi-samaritan新文件
~/.config/ghostty/config一行:theme = poi-samaritan
文件
需要知道的
- 你自己在配置里写的颜色优先于主题。
- 用终端自己 16 色画的工具不需要单独的端:bat、delta、lazygit 都会跟着变。
- Machine 另带两份:poi-machine-data(橄榄底,看表格)和 poi-machine-log(绿底,看日志),用 ghostty --theme=poi-machine-data 开。
- Machine 另带两份:poi-samaritan-data(橄榄底,看表格)和 poi-samaritan-log(绿底,看日志),用 ghostty --theme=poi-samaritan-data 开。
在哪里检查过
在系统状态
macOSmacOS 27同样的文件每天在用
LinuxArch Linux, KDE Plasma 6同样的文件每天在用