From ac5c44fd882f91605764a87dbec1a6aa80522271 Mon Sep 17 00:00:00 2001 From: Andre Ramnitz Date: Mon, 23 Sep 2024 20:26:09 +0200 Subject: [PATCH] starship: smooth out git module --- config/dot-config/starship.toml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/config/dot-config/starship.toml b/config/dot-config/starship.toml index b9929942..f2b3f875 100644 --- a/config/dot-config/starship.toml +++ b/config/dot-config/starship.toml @@ -1,16 +1,18 @@ "$schema" = 'https://starship.rs/config-schema.json' +command_timeout = 750 + format = """ [░▒▓](fg:bright-black)\ [  ](bg:bright-black fg:#DDDAEC)\ [](bg:cyan fg:bright-black)\ $directory\ -[](fg:cyan bg:black)\ +[](fg:cyan bg:19)\ ${git_branch}\ ${git_commit}\ ${git_state}\ ${git_status}\ -[](fg:black bg:yellow)\ +[](fg:19 bg:yellow)\ $time\ [ ](fg:yellow bg:default)\ \n$character""" @@ -33,12 +35,12 @@ truncation_symbol = "…/" [git_branch] symbol = "" -style = "fg:cyan bg:black" +style = "fg:cyan bg:19 " format = '[ $symbol $branch ]($style)' [git_commit] format = '[\($hash$tag\)]($style)' -style = 'bg:black fg:cyan dimmed' +style = 'bg:19 fg:cyan dimmed' commit_hash_length = 6 only_detached = false tag_symbol = ' 笠' @@ -47,7 +49,7 @@ disabled = false [git_state] format = '\( [$state($progress_current/$progress_total)]($style)\)' -style = "bg:black fg:white dimmed" +style = "bg:19 fg:white dimmed" rebase = 'REBASING' merge = 'MERGING' revert = 'REVERTING' @@ -59,7 +61,7 @@ disabled = false [git_status] format = '[ \[$all_status$ahead_behind\]]($style)[ ]($style)' -style = 'bg:black fg:bright-green bold' +style = 'bg:19 fg:bright-green bold' stashed = '\$' ahead = '⇡${count}' behind = '⇣${count}' -- 2.51.2