Nicer starship config.
This commit is contained in:
parent
85de1ffbdb
commit
8abb5c3b6e
@ -1,4 +1,4 @@
|
|||||||
{ inputs, config, ... }: {
|
{ inputs, config, pkgs, ... }: {
|
||||||
# But we all know I love zsh
|
# But we all know I love zsh
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -64,9 +64,25 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
# Starhip settings
|
# Starhip settings
|
||||||
programs.starship = {
|
programs.starship = let flavour = "frappe";
|
||||||
|
in {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
|
settings = {
|
||||||
|
palette = "catppuccin_${flavour}";
|
||||||
|
add_newline = false;
|
||||||
|
} // builtins.fromTOML (builtins.readFile (pkgs.fetchFromGitHub {
|
||||||
|
owner = "starship";
|
||||||
|
repo = "starship";
|
||||||
|
rev = "698572aa575508a4bdd0d3092c97f5a056dc50eb";
|
||||||
|
hash = "sha256-jrtlK4vN8u2UhKeo5+9IyCVYJxkySh+JKhSCUsnQWAg=";
|
||||||
|
} + /docs/public/presets/toml/pure-preset.toml)) // builtins.fromTOML
|
||||||
|
(builtins.readFile (pkgs.fetchFromGitHub {
|
||||||
|
owner = "catppuccin";
|
||||||
|
repo = "starship";
|
||||||
|
rev = "5629d2356f62a9f2f8efad3ff37476c19969bd4f";
|
||||||
|
hash = "sha256-nsRuxQFKbQkyEI4TXgvAjcroVdG+heKX5Pauq/4Ota0=";
|
||||||
|
} + /palettes/${flavour}.toml));
|
||||||
};
|
};
|
||||||
|
|
||||||
# Fzf settings
|
# Fzf settings
|
||||||
|
Loading…
Reference in New Issue
Block a user