99 lines
2.5 KiB
Nix
99 lines
2.5 KiB
Nix
{ catppuccin-themes, ... }:
|
||
|
||
{
|
||
programs.starship = {
|
||
enable = true;
|
||
enableBashIntegration = true;
|
||
enableZshIntegration = true;
|
||
settings = {
|
||
inherit (builtins.fromTOML (builtins.readFile catppuccin-themes.starship))
|
||
palettes;
|
||
command_timeout = 1000;
|
||
add_newline = true;
|
||
palette = "catppuccin_macchiato";
|
||
character = {
|
||
success_symbol = "[[](green) ❯](maroon)";
|
||
error_symbol = "[](red)";
|
||
vimcmd_symbol = "[](green)";
|
||
};
|
||
directory = {
|
||
truncation_length = 2;
|
||
fish_style_pwd_dir_length = 1;
|
||
read_only = " ";
|
||
style = "bold lavender";
|
||
truncate_to_repo = false;
|
||
before_repo_root_style = "bold lavender";
|
||
repo_root_style = "bold teal";
|
||
};
|
||
line_break.disabled = false;
|
||
git_branch = {
|
||
symbol = "";
|
||
only_attached = true;
|
||
ignore_branches = [ "master" "main" ];
|
||
};
|
||
git_commit = {
|
||
format = "[ $hash$tag]($style) ";
|
||
tag_symbol = "";
|
||
tag_disabled = false;
|
||
};
|
||
git_metrics.disabled = false;
|
||
hostname = {
|
||
ssh_only = true;
|
||
ssh_symbol = " ";
|
||
style = "bold green";
|
||
};
|
||
localip.disabled = false;
|
||
memory_usage = {
|
||
disabled = false;
|
||
symbol = " ";
|
||
};
|
||
nix_shell.symbol = " ";
|
||
os = {
|
||
disabled = false;
|
||
format = "on [$symbol $name ]($style)";
|
||
style = "bold blue";
|
||
symbols = {
|
||
Alpine = " ";
|
||
Android = " ";
|
||
Arch = " ";
|
||
CentOS = " ";
|
||
Debian = " ";
|
||
EndeavourOS = " ";
|
||
Fedora = " ";
|
||
FreeBSD = " ";
|
||
Gentoo = " ";
|
||
Illumos = " ";
|
||
Linux = " ";
|
||
Macos = " ";
|
||
Manjaro = " ";
|
||
Mint = " ";
|
||
NixOS = " ";
|
||
OpenBSD = " ";
|
||
openSUSE = " ";
|
||
Pop = " ";
|
||
Raspbian = " ";
|
||
Redhat = " ";
|
||
RedHatEnterprise = " ";
|
||
Solus = " ";
|
||
SUSE = " ";
|
||
Ubuntu = " ";
|
||
Unknown = " ";
|
||
Windows = " ";
|
||
};
|
||
};
|
||
python = {
|
||
symbol = " ";
|
||
python_binary = "python3";
|
||
};
|
||
shell = {
|
||
disabled = false;
|
||
format = "using [$indicator ]($style)";
|
||
};
|
||
sudo = {
|
||
disabled = false;
|
||
symbol = " ";
|
||
};
|
||
};
|
||
};
|
||
}
|