From 2e94c9c913cc5bdfc44b67a8d1dffd0842e6fb15 Mon Sep 17 00:00:00 2001 From: Frost-Phoenix <67cyril6767@gmail.com> Date: Sun, 12 Nov 2023 17:38:31 +0100 Subject: [PATCH] change starship config --- modules/home/starship/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/home/starship/default.nix b/modules/home/starship/default.nix index e62a231..2c6945f 100755 --- a/modules/home/starship/default.nix +++ b/modules/home/starship/default.nix @@ -8,6 +8,8 @@ enableNushellIntegration = true; settings = { + right_format = """$cmd_duration"""; + directory = { format = "[ ](bold #89b4fa)[ $path ]($style)"; style = "bold #b4befe"; @@ -19,6 +21,12 @@ # error_symbol = "[ ](bold #89dceb)[ ✗](bold red)"; }; + cmd_duration = { + format = "[]($style)[[神](bg:#161821 fg:#eba0ac bold)$duration](bg:#161821 fg:#BBC3DF)[ ]($style)"; + disabled = false; + style = "bg:none fg:#161821"; + }; + # directory.substitutions = { # "~" = "󰋞"; # "Documents" = " ";