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 = falsebackground-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
