diff options
| author | Arpit Chakladar <arpitchakladar@proton.me> | 2026-01-16 01:26:31 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar@proton.me> | 2026-01-16 01:26:31 +0530 |
| commit | dce7bfd25e7add4bbe6cb41905a1b7d8acd79cf6 (patch) | |
| tree | 92247ac78dcc91434612e0b37733553ffe8502aa /modules/tools | |
| parent | f0351958737901e8e6d3d8722c348d817a4d0823 (diff) | |
| download | home-manager-config-dce7bfd25e7add4bbe6cb41905a1b7d8acd79cf6.tar.gz home-manager-config-dce7bfd25e7add4bbe6cb41905a1b7d8acd79cf6.zip | |
Combined git branch and status into a single segment
Diffstat (limited to 'modules/tools')
| -rw-r--r-- | modules/tools/starship/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/tools/starship/default.nix b/modules/tools/starship/default.nix index a5c7fc3..e8c657c 100644 --- a/modules/tools/starship/default.nix +++ b/modules/tools/starship/default.nix @@ -20,7 +20,7 @@ [╰─](red)$status$character ''; - character.format = "[>](red)"; + character.format = "[](red)"; username = { style_user = "blue"; @@ -43,12 +43,12 @@ git_branch = { style = "bold yellow"; - format = mkSegment "$symbol$branch(:$remote_branch)"; + format = ''[┄\[](red)[$symbol$branch(:$remote_branch)]($style)''; }; git_status = { - format = mkSegment "$all_status$ahead_behind"; style = "cyan"; + format = ''( [$all_status$ahead_behind]($style))[\]](red)''; }; nix_shell = { |
