]> Freerunner's - dotfiles.git/commitdiff
starship: smooth out git module
authorAndre Ramnitz <tux.rising@gmail.com>
Mon, 23 Sep 2024 18:26:09 +0000 (20:26 +0200)
committerAndre Ramnitz <tux.rising@gmail.com>
Tue, 24 Sep 2024 05:59:46 +0000 (07:59 +0200)
config/dot-config/starship.toml

index b9929942f73309f0140d96e7af453eba45a3a685..f2b3f875b2fa3a90781a0dd8c3808d47f53af010 100644 (file)
@@ -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}'