Skip to content

catppuccin/starship

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

20 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 grouped together at the bottom of your config
  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