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.1.tar.gz (16.8 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.1-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ghostty_rice-0.1.1.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ghostty_rice-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e83f582d8563e8b967ed5a628e53eee7513a6c611bd07cf54bb82cb6090dffb1
MD5 9740d1aee7b9f6c3c5c4ce16a3b335cf
BLAKE2b-256 8ea71eeebca1a7875cb05c571d1af745188aee2c408b20a0fac6d651b870daa5

See more details on using hashes here.

Provenance

The following attestation bundles were made for ghostty_rice-0.1.1.tar.gz:

Publisher: publish.yml on Jayleonc/ghostty-rice

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: ghostty_rice-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 18.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ghostty_rice-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c0a99c52cc8498dc42ed3f6bd5dea592500e9d58091e2444e7e88a7933dc205d
MD5 e9cbfdb15c0a99b0d32d4b7d5f219e4b
BLAKE2b-256 1f75a5fb89a24ad174749fe5cf9bc4c18500052f4800835d692e463019e7a61c

See more details on using hashes here.

Provenance

The following attestation bundles were made for ghostty_rice-0.1.1-py3-none-any.whl:

Publisher: publish.yml on Jayleonc/ghostty-rice

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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