当前位置: 首页 > news >正文

ghostty终端主题和文件

ghostty是一个很方便且美化的终端前端

~/.config/starship.toml

这是通用的,比如自带终端或者别的,需要自己install的后端,问ai就好

add_newline = false

format = "[](#a6e3a1)$username[](bg:#89b4fa fg:#a6e3a1)$directory$git_branch$git_status$python$conda[](fg:#cba6f7)\n\r"

[username]
show_always = true
style_user = "bg:#a6e3a1 fg:#1e1e2e"
style_root = "bg:#f38ba8 fg:#1e1e2e"
format = "[ $user ]($style)"

[directory]
style = "bg:#89b4fa fg:#1e1e2e"
format = "[ $path ]($style)"
truncation_length = 3
truncate_to_repo = false

[git_branch]
symbol = " "
style = "bg:#f9e2af fg:#1e1e2e"
format = "[](fg:#89b4fa bg:#f9e2af)[$symbol $branch ]($style)"

[git_status]
style = "bg:#f9e2af fg:#1e1e2e"
format = "[$all_status$ahead_behind ]($style)"

[python]
style = "bg:#cba6f7 fg:#1e1e2e"
format = "[](fg:#f9e2af bg:#cba6f7)[ ${symbol}${pyenv_prefix}(${version} )(\\($virtualenv\\) )]($style)"

[conda]
style = "bg:#cba6f7 fg:#1e1e2e"
format = "[$environment ]($style)"

[time]
disabled = true

ghostty的config

# ============================================
# Ghostty - Minimal Hacker Style (Compact)
# ============================================
#选中颜色
selection-background = #ff8800
selection-foreground = #000000

#选中复制
copy-on-select = true

# --- Typography ---
font-family = "Maple Mono NF CN"
font-size = 12.5
adjust-cell-height = 1

# --- Theme ---
theme = Dracula

# --- Window and Appearance ---
# 保留系统标题栏,方便拖动
window-decoration = false

background-opacity = 0.6

window-padding-x = 6
window-padding-y = 4
window-theme = dark
window-save-state = always

# --- Cursor ---
cursor-style = bar
cursor-style-blink = true
cursor-opacity = 0.9
cursor-color = #B6F500
cursor-invert-fg-bg = false

# --- Mouse ---
mouse-hide-while-typing = true
copy-on-select = clipboard
link-url = true

# --- Shell Integration 改了的地方---
command = /bin/bash -l
shell-integration = bash
shell-integration-features = sudo,no-cursor

# --- Nicholas keybinds ---
keybind = ctrl+i=inspector:toggle
keybind = ctrl+t=new_tab
keybind = ctrl+w=close_surface

# --- Clipboard ---
keybind = ctrl+v=paste_from_clipboard

# --- Splits ---
keybind = ctrl+d=new_split:right
keybind = ctrl+shift+d=new_split:down


keybind = ctrl+f11=toggle_maximize


# --- Move between splits ---
keybind = ctrl+shift+left=goto_split:left
keybind = ctrl+shift+right=goto_split:right
keybind = ctrl+shift+up=goto_split:top
keybind = ctrl+shift+down=goto_split:bottom

# --- Split Management ---
keybind = ctrl+shift+e=equalize_splits

# --- Font Size ---
keybind = ctrl+plus=increase_font_size:1
keybind = ctrl+minus=decrease_font_size:1
keybind = ctrl+zero=reset_font_size
# --- Font Size ---
keybind = ctrl+plus=increase_font_size:1
keybind = ctrl+minus=decrease_font_size:1
keybind = ctrl+zero=reset_font_size

# --- Split Focus ---
unfocused-split-opacity = 0.68
unfocused-split-fill = #000000
split-divider-color = #8a8a7a

# --- Performance ---
scrollback-limit = 25000000

# --- Behavior ---
confirm-close-surface = false
quit-after-last-window-closed = true

# --- Shader ---
# 下面两行只有你把 shader 文件也放进 ~/.config/ghostty/shaders/ 里再打开
custom-shader = shaders/cursor_blaze_no_trail.glsl
custom-shader = shaders/cursor_smear.glsl

http://www.jsqmd.com/news/723013/

相关文章:

  • 本地部署AI对话伴侣:基于Ollama与角色提示词的私有化ChatGPT实践
  • 终极Windows任务栏美化指南:用TranslucentTB打造透明桌面体验
  • Cadence SpectreRF PSS/Pnoise仿真避坑指南:从Beat Frequency设置到Jitter测量实战
  • 恒温恒湿厂房设计哪家好?2026杭州净化车间工程厂家汇总 - 栗子测评
  • 算法训练营第十八天|20. 有效的括号
  • 电信行业语音AI:提升客户体验的技术实践
  • 2026年同城搬家公司口碑排行:五大服务商实测解析 - 优质品牌商家
  • 实用 RAR 分卷压缩技巧,小白也能学会!
  • 告别格式限制:用ncmdump解锁网易云音乐NCM加密文件,实现跨平台自由播放
  • App测试中ios和Android的区别
  • Day07-RNN层(循环网络层)
  • 根据“十五五”规划制定的容灾备份体系
  • 如何高效抽取财报信息
  • 2025亲测好用的10款降AI工具 附避坑指南
  • 校庆(2026)书法展览作品
  • 设备巡检数据都填了,风险还是漏了,利用风塔设备管理系统如何破局?
  • AI Agent不是未来,是现在——程序员该如何抓住这波红利
  • VMware Workstation Pro 17 终极免费激活指南:5000+许可证密钥完整教程
  • 实验室装修设计哪家好?通风柜定制安装哪家好?2026杭州实验室规划设计公司合集:实验台定制厂家推荐+实验室通风柜厂家推荐 - 栗子测评
  • 二维数组传参本质解析
  • 2025_NIPS_Train Once, Get a Family: State-Adaptive Balances for Offline-to-Online Reinforcement L...
  • TVA在齿轮箱零部件及其装配质检中的应用(二)
  • 【AI 编程工具进阶用法】如何在Cursor、Trae等工具中使用Skills
  • 软件需求管理:核心价值、挑战与最佳实践
  • 户外LED照明电路保护设计与器件选型指南
  • :RAG 入门-LangChain 读取文本
  • C/C++语言动态内存管理宝典
  • 17.18.动态规划,背包问题
  • Dify - (一)、本地部署Dify+聊天助手/Agent
  • 解读C++11 原生字符串