From 1926d0ddc3e1fcbe8bf2c4423f0f7d818cdbf1d2 Mon Sep 17 00:00:00 2001 From: Frost-Phoenix <67cyril6767@gmail.com> Date: Mon, 6 Nov 2023 23:38:38 +0100 Subject: [PATCH] test starship config --- modules/home/starship/default.nix | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/modules/home/starship/default.nix b/modules/home/starship/default.nix index c2a506e..67075c9 100755 --- a/modules/home/starship/default.nix +++ b/modules/home/starship/default.nix @@ -9,16 +9,30 @@ settings = { format = lib.concatStrings [ + # "$directory" + # "$git_branch" + # "$git_status" + # "$nix_shell" "$directory" "$git_branch" "$git_status" - "$nix_shell" + "$git_metrics" + "$time" + "\n" + "$character" ]; - # character = { - # success_symbol = "[ ](bold #89dceb)[›](bold green)"; - # error_symbol = "[ ](bold #89dceb)[›](bold red)"; - # }; + directory = { + format = "[ ﱮ $path ]($style)"; + style = "bold #74c7ec"; + }; + + character = { + # success_symbol = "[ ](bold #89dceb)[›](bold green)"; + # error_symbol = "[ ](bold #89dceb)[›](bold red)"; + success_symbol = "[ ](bold #89dceb)[➜](bold green)"; + error_symbol = "[ ](bold #89dceb)[✗](bold red)"; + }; # directory.substitutions = { # "Documents" = " ";