Skip to main content

Full visual profile manager for Ghostty terminal — beyond just colors.

Project description

🍚 ghostty-rice

Full visual profile manager for Ghostty — beyond just colors.

PyPI Python CI License

English简体中文


Color themes only change 16 ANSI colors. ghostty-rice manages complete visual profiles — colors, opacity, blur, titlebar, cursor, padding, icons — and switches them with a single command.

rice use "Catppuccin Mocha"    # Switch profile, auto-reloads Ghostty

Why ghostty-rice?

Projects like catppuccin/ghostty and iTerm2-Color-Schemes are color palettes. A terminal's look is more than 16 colors:

Other Color Schemes 🍚 ghostty-rice
✅ Foreground & Background Everything they do, plus:
✅ 16 ANSI Palette Colors ✅ Window Opacity & Blur Effects
❌ Titlebar Style ✅ Titlebar Style (tabs, transparent, hidden)
❌ Cursor Customization ✅ Cursor Shape, Color & Animation
❌ Window Spacing ✅ Window Padding & Spacing
❌ App Icon ✅ App Icon Variant

Install

pipx install ghostty-rice
Other methods
# With pip
pip install ghostty-rice

# From source
git clone https://github.com/jayleonc/ghostty-rice.git
cd ghostty-rice
pip install -e .

Quick Start

# List available profiles
rice list

# Switch profile (auto-reloads Ghostty)
rice use "Catppuccin Mocha"

# Preview without switching
rice preview "Cyber"

# Check setup
rice doctor

# See current profile
rice current

Built-in Profiles

Profile Style
Catppuccin Mocha Warm, cozy, the most popular dev palette
🌲 Rose Pine Elegant dark with automatic light/dark switching
🤖 Cyber High transparency, hidden chrome, holographic icon
Minimal No titlebar, no blur, just code
🧊 Frosted macOS native frosted glass, light mode

Custom Profiles

Profile files follow Ghostty's own format — plain key = value, no file extension, filename is the profile name.

1. Create from an existing profile:

rice create "My Theme" --from "Catppuccin Mocha"

2. Or write one from scratch:

Create a file in your Ghostty config directory under rice-profiles/:

Platform Path
macOS ~/Library/Application Support/com.mitchellh.ghostty/rice-profiles/
Linux ~/.config/ghostty/rice-profiles/
theme = Catppuccin Mocha
background-opacity = 0.90
background-blur = macos-glass-regular
macos-titlebar-style = transparent
window-padding-x = 12
window-padding-y = 8
cursor-style = block
cursor-style-blink = true

3. Add metadata (optional) in manifest.toml alongside your profiles:

[profiles."My Theme"]
description = "My custom visual profile"
author = "me"
tags = ["dark", "custom"]

4. Use it:

rice use "My Theme"

Diagnostics

rice doctor

Checks Ghostty installation, version, running state, automation permissions, config directory, and profile status in one command.

How It Works

ghostty-rice preserves your base Ghostty config (shell, fonts, keybinds) and only manages the visual profile section. When you switch profiles:

  1. Your base config stays untouched
  2. The profile section is replaced
  3. Ghostty is auto-reloaded (macOS: native AppleScript API, Linux: xdotool)

Platform Support

Platform Profile switching Auto-reload
macOS Full Native AppleScript API
Linux Full Via xdotool (optional)

Contributing

Contributions welcome — especially new profiles, platform support, and shader management.

git clone https://github.com/jayleonc/ghostty-rice.git
cd ghostty-rice
uv venv .venv && source .venv/bin/activate
uv pip install -e ".[dev]"
pytest

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ghostty_rice-0.1.0.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ghostty_rice-0.1.0-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

Details for the file ghostty_rice-0.1.0.tar.gz.

File metadata

  • Download URL: ghostty_rice-0.1.0.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.1

File hashes

Hashes for ghostty_rice-0.1.0.tar.gz
Algorithm Hash digest
SHA256 305864773c3efe53e0c8b6687acf6a42b6341c1101d146fdf005259bb6983ebd
MD5 87305f2e31e20ee282e42d72660319d1
BLAKE2b-256 cd01d089da409c43779fa8002b2c1d58323946bf297b873bbd96c2288efde65e

See more details on using hashes here.

File details

Details for the file ghostty_rice-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ghostty_rice-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fa946b525c9200b71b33441142c3cadfa9aa06a508500c498fcc08a04706c2b5
MD5 ade17d518ee9f8c35a4fca643e84eed9
BLAKE2b-256 9b23f814f9a3fcc7261bc7c49163ae7b1d70129b299ee148f5ea8e664be7e487

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page