From dc640868aa714e2522a72c0f1a4f21ec70151681 Mon Sep 17 00:00:00 2001 From: iFargle Date: Fri, 19 Jan 2024 13:18:47 +0900 Subject: [PATCH] test --- .../common/software/cli/bash.d/starship-theme.nix | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/home-manager/common/software/cli/bash.d/starship-theme.nix b/home-manager/common/software/cli/bash.d/starship-theme.nix index 6d11c23a..0f5577a9 100644 --- a/home-manager/common/software/cli/bash.d/starship-theme.nix +++ b/home-manager/common/software/cli/bash.d/starship-theme.nix @@ -11,8 +11,9 @@ in programs.starship.settings = { format = lib.concatStrings [ "[](${orangeColor})" - "$os" + "$clock" "$username" + "$hostname" "[](bg:${yellowColor} fg:${orangeColor})" "$directory" "[](fg:${yellowColor} bg:${blueColor})" @@ -35,7 +36,7 @@ in # "[](fg:#86BBD8 bg:#06969A)" "$docker_context" # "[](fg:#06969A bg:#33658A)" - "$time" + # d"$time" # "[ ](fg:#33658A)" ]; @@ -47,6 +48,13 @@ in disabled = false; }; + hostname = { + ssh_only = true; + style_user = "fg:${blackColor} bg:${orangeColor}"; + format = "$[$hostname]($style)"; + disabled = false; + }; + os = { style = "bg:${orangeColor}"; disabled = true; @@ -92,7 +100,7 @@ in disabled = false; time_format = "%R"; # Hour:Minute Format style = "bg:#33658A"; - format = "[ ♥ $time ]($style)"; + format = "[ [$time] ]($style)"; }; }; } \ No newline at end of file