| Crates.io | suntheme |
| lib.rs | suntheme |
| version | 0.1.14 |
| created_at | 2026-01-20 19:26:54.670076+00 |
| updated_at | 2026-01-20 22:48:27.58565+00 |
| description | Switch Ghostty and Neovim themes based on sunrise/sunset times |
| homepage | https://github.com/lucianlavric/suntheme |
| repository | https://github.com/lucianlavric/suntheme |
| max_upload_size | |
| id | 2057349 |
| size | 157,004 |
Automatically switch Ghostty and Neovim themes based on sunrise/sunset times.
brew install lucianlavric/tap/suntheme
curl -fsSL https://raw.githubusercontent.com/lucianlavric/suntheme/main/install.sh | bash
cargo install suntheme
Note: After
cargo install, ensure~/.cargo/binis in your PATH:echo 'export PATH="$HOME/.cargo/bin:$PATH"' >> ~/.bashrc # or ~/.zshrc source ~/.bashrc
# Initial setup - configures location and themes
suntheme init
# Start automatic theme switching daemon
suntheme start
| Command | Description |
|---|---|
suntheme init |
Interactive setup for location and themes |
suntheme start |
Start daemon for automatic switching |
suntheme stop |
Stop the daemon |
suntheme status |
Show daemon status and current theme |
suntheme toggle |
Toggle between light/dark |
suntheme set <light|dark> |
Set specific mode |
suntheme sun |
Display today's sunrise/sunset times |
suntheme themes |
Change theme configuration |
Config is stored at:
~/Library/Application Support/suntheme/config.toml~/.config/suntheme/config.toml[location]
latitude = 43.6532
longitude = -79.3832
[themes.ghostty]
light = "tokyonight-day"
dark = "tokyonight"
[themes.neovim]
light = "tokyonight-day"
dark = "tokyonight"
Themes with both Ghostty and Neovim support:
| Theme | Ghostty (dark/light) | Neovim Plugin |
|---|---|---|
| Tokyo Night | tokyonight / tokyonight-day |
folke/tokyonight.nvim |
| Gruvbox | gruvbox-dark / gruvbox-light |
ellisonleao/gruvbox.nvim |
| Catppuccin | catppuccin-mocha / catppuccin-latte |
catppuccin/nvim |
| Nord | nord |
shaunsingh/nord.nvim |
| Dracula | dracula |
dracula/vim |
| Rose Pine | rose-pine / rose-pine-dawn |
rose-pine/neovim |
| Kanagawa | kanagawa |
rebelot/kanagawa.nvim |
| Solarized | solarized-dark / solarized-light |
maxmx03/solarized.nvim |
Note: For Neovim, use the same theme name for both light and dark (e.g.,
gruvbox). Thebackgroundsetting handles the variant automatically.
MIT