Skip to content

catppuccin/starship

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo
Catppuccin for Starship

Usage

  1. Copy your desired palette(s) from palettes 🗂️
  2. Find (or create) your starship.toml to paste into
    • Typically at ~/.config/starship.toml
  3. Paste your palette(s)
    • Note that palette tables should be group together towards at the bottom
  4. Set your palette = "catppuccin_flavor" value, save and quit!

Check out this example starship.toml for how to define and use custom palettes

  1. Add this snippet to your home-manager configuration
{ pkgs, ... }: {
  programs.starship =
    let
      flavour = ""; # One of `latte`, `frappe`, `macchiato`, or `mocha`
    in
    {
      enable = true;
      settings = {
        # Other config here
        format = "$all"; # Remove this line to disable the default prompt format
        palette = "catppuccin_${flavour}";
      } // builtins.fromTOML (builtins.readFile
        (pkgs.fetchFromGitHub
          {
            owner = "catppuccin";
            repo = "starship";
            rev = ""; # Replace with the latest commit hash
            sha256 = "";
          } + /palettes/${flavour}.toml));
    };
}
  1. Rebuild your configuration. There should be an error about the invalid checksum
  2. Paste the sha256 checksum from the error message into the sha256 field
  3. Rebuild again

💝 Thanks to

 

Copyright © 2021-present Catppuccin Org

About

🚀 Soothing pastel theme for Starship

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages