change files structure

This commit is contained in:
Frost-Phoenix 2024-04-06 14:02:42 +02:00
parent f3a6ce6554
commit 736048f9e5
24 changed files with 28 additions and 31 deletions

41
modules/home/starship.nix Normal file
View file

@ -0,0 +1,41 @@
{ lib, inputs, ... }:
{
programs.starship = {
enable = true;
enableBashIntegration = true;
enableZshIntegration = true;
enableNushellIntegration = true;
settings = {
right_format = "$cmd_duration";
directory = {
format = "[ ](bold #89b4fa)[ $path ]($style)";
style = "bold #b4befe";
};
character = {
success_symbol = "[ ](bold #89b4fa)[ ](bold green)";
error_symbol = "[ ](bold #89b4fa)[ ](bold red)";
# error_symbol = "[ ](bold #89dceb)[ ✗](bold red)";
};
cmd_duration = {
format = "[]($style)[[󰔚 ](bg:#161821 fg:#d4c097 bold)$duration](bg:#161821 fg:#BBC3DF)[ ]($style)";
disabled = false;
style = "bg:none fg:#161821";
};
# directory.substitutions = {
# "~" = "󰋞";
# "Documents" = " ";
# "Downloads" = " ";
# "Music" = " ";
# "Pictures" = " ";
# };
palette = "catppuccin_mocha";
} // builtins.fromTOML (builtins.readFile "${inputs.catppuccin-starship}/palettes/mocha.toml");
};
}