diff --git a/modules/home-manager/cli/starship/default.nix b/modules/home-manager/cli/starship/default.nix index 2ae30bc..e04bc4c 100644 --- a/modules/home-manager/cli/starship/default.nix +++ b/modules/home-manager/cli/starship/default.nix @@ -12,7 +12,7 @@ in enable = true; enableZshIntegration = true; settings = { - format = "$username$hostname$directory$git_branch$git_state$git_status$cmd_duration$line_break$python$nix_shell$character"; + format = "$username$hostname$directory$git_branch$git_state$git_status$cmd_duration$fill$kubernetes$line_break$python$nix_shell$character"; directory = { style = "blue"; truncate_to_repo = false; @@ -22,9 +22,9 @@ in format = "[$read_only]($read_only_style)[$path]($style) "; }; character = { - success_symbol = "[󰅂](purple)"; - error_symbol = "[󰅂](red)"; - vimcmd_symbol = "[󰅁](green)"; + success_symbol = "[](purple)"; + error_symbol = "[](red)"; + vimcmd_symbol = "[](green)"; }; git_branch = { format = "[$branch]($style)"; @@ -58,6 +58,18 @@ in symbol = " "; style = "bright-black"; }; + kubernetes = { + format = "[|$symbol$cluster| ]($style)"; + style = "yellow"; + disabled = false; + detect_folders = [ + "clusters" + "deploy" + ]; + }; + fill = { + symbol = " "; + }; }; }; };