Skip to content

howenyap/hue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hue

Hue is a CLI tool which synchronises themes across targets. Check the files under themes/ for the bundled per-target mappings.

You can also override the installed theme files locally for any other themes you may have.

Currently, Hue supports the following targets:

Bundled themes are installed into ~/.config/hue/themes/ as one file per target:

  • ghostty.toml
  • helix.toml
  • zed.toml

Please create an issue or PR if you'd like to add support for other targets.

Installation

Cargo

cargo install hue-cli

Brew

brew tap howenyap/tap

brew install hue

Usage

  • hue current prints out the current set theme
  • hue list prints out available themes
  • hue search <query> prints the closest matching themes
  • hue search <query> --limit <n> limits the number of results
  • hue reset removes ~/.config/hue, it will be lazily reinitiliased by other commands
  • hue set <theme> sets a logical theme and synchronises it across targets
  • hue set <theme> --dry-run shows a diff of the update without applying any changes
  • hue config prints the config directory

Development

Make sure you have Rust installed.

Pre-commit Hooks

  • Install prek
  • Install the local Git hooks prek install
  • Manual run with prek run

About

CLI to synchronise themes across Ghostty, Zed, and Helix

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages