Skip to content

Commit

Permalink
catppuccin: add starship theme
Browse files Browse the repository at this point in the history
  • Loading branch information
toast003 committed Jan 14, 2024
1 parent 488da42 commit cf1dfaa
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion pkgs/data/themes/catppuccin/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
let
validThemes = [ "bat" "bottom" "btop" "grub" "hyprland" "k9s" "kvantum" "lazygit" "plymouth" "qt5ct" "refind" "rofi" "waybar" ];
validThemes = [ "bat" "bottom" "btop" "grub" "hyprland" "k9s" "kvantum" "lazygit" "plymouth" "qt5ct" "refind" "rofi" "starship" "waybar" ];
in
{ fetchFromGitHub
, lib
Expand Down Expand Up @@ -112,6 +112,14 @@ let
hash = "sha256-DNorfyl3C4RBclF2KDgwvQQwixpTwSRu7fIvihPN8JY=";
};

starship = fetchFromGitHub {
name = "starship";
owner = "catppuccin";
repo = "starship";
rev = "5629d2356f62a9f2f8efad3ff37476c19969bd4f";
hash = "sha256-nsRuxQFKbQkyEI4TXgvAjcroVdG+heKX5Pauq/4Ota0=";
};

waybar = fetchFromGitHub {
name = "waybar";
owner = "catppuccin";
Expand Down Expand Up @@ -195,6 +203,10 @@ stdenvNoCC.mkDerivation {
cp ${sources.refind}/${variant}.conf $out/refind/
cp -r ${sources.refind}/assets/${variant} $out/refind/assets/
'' + lib.optionalString (lib.elem "starship" themeList) ''
mkdir -p $out/starship
cp ${sources.starship}/palettes/${variant}.toml $out/starship/
'' + lib.optionalString (lib.elem "waybar" themeList) ''
mkdir -p $out/waybar
cp ${sources.waybar}/${variant}.css $out/waybar/
Expand Down

0 comments on commit cf1dfaa

Please sign in to comment.