dotfiles.nix/home/starship.nix

23 lines
757 B
Nix
Raw Normal View History

2022-09-15 21:17:21 +00:00
{
# Starship Prompt
# https://rycee.gitlab.io/home-manager/options.html#opt-programs.starship.enable
programs.starship.enable = true;
# Starship settings -------------------------------------------------------------------------- {{{
programs.starship.settings = {
# See docs here: https://starship.rs/config/
# Symbols config configured in Flake.
2023-08-23 00:50:29 +00:00
battery.display = [{
threshold = 25;
} # display battery information if charge is <= 25%
];
2022-09-15 21:17:21 +00:00
directory.fish_style_pwd_dir_length = 1; # turn on fish directory truncation
directory.truncation_length = 2; # number of directories not to truncate
2023-08-23 00:50:29 +00:00
memory_usage.disabled =
true; # because it includes cached memory it's reported as full a lot
2022-09-15 21:17:21 +00:00
};
# }}}
}