From 12d43810dc74cf6d3d05b25675380604f733286b Mon Sep 17 00:00:00 2001 From: Eric Renfro Date: Wed, 13 Mar 2024 19:33:10 -0400 Subject: [PATCH] Added starship config --- .config/starship.toml | 105 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 105 insertions(+) create mode 100644 .config/starship.toml diff --git a/.config/starship.toml b/.config/starship.toml new file mode 100644 index 0000000..ef373c9 --- /dev/null +++ b/.config/starship.toml @@ -0,0 +1,105 @@ +"$schema" = 'https://starship.rs/config-schema.json' + +add_newline = true + +#format = """\ +# $username\ +# $directory\ +# $kubernetes\ +# $git_branch\ +# $git_commit\ +# $git_state\ +# $git_status\ +# $character\ +# """ +format = """\ +[](bg:#030B16 fg:#7DF9AA)\ +[󰀵 ](bg:#7DF9AA fg:#090c0c)\ +[](fg:#7DF9AA bg:#1C3A5E)\ +$time\ +[](fg:#1C3A5E bg:#3B76F0)\ +$directory\ +[](fg:#3B76F0 bg:#FCF392)\ +$git_branch\ +$git_status\ +$git_metrics\ +[](fg:#FCF392 bg:#030B16)\ +$character\ +""" + +#right_format = """\ +#[](fg:#1C3A5E bg:#00000)\ +#[](fg:#7DF9AA bg:#1C3A5E)\ +#$time\ +#[](fg:#7DF9AA bg:#1C3A5E)\ +#[ some text ](fg:#000000 bg:#7DF9AA)\ +#[](fg:#7DF9AA bg:#1C3A5E)\ +#""" + +[character] +success_symbol = "\n[❯](bold green)" +error_symbol = "\n[✖](bold red)" +#[character] +#success_symbol = '[ ➜](bold green) ' +#error_symbol = '[ ✗](#E84D44) ' + +#[cmd_duration] +#min_time = 500 +[cmd_duration] +format = "[  $duration ]($style)" +style = "fg:bright-white bg:18" + +[username] +disabled = false +show_always = false + +[directory] +disabled = false +truncation_length = 8 +truncate_to_repo = true +read_only = " " +home_symbol = " " +format = "[  $path ]($style)" +style = "fg:#E4E4E4 bg:#3B76F0" + +[kubernetes] +disabled = false +symbol = "󱃾 " +format = "[\\[$symbol$context \\($namespace\\)\\]]($style) " +style = "bold bright-green" + +[python] +disabled = false +format = '\[[${symbol}${pyenv_prefix}(${version})(\($virtualenv\))]($style)\]' +symbol = " " + +#[git_branch] +#disabled = false +#symbol = " " +[git_branch] +format = '[ $symbol$branch(:$remote_branch) ]($style)' +symbol = "  " +style = "fg:#1C3A5E bg:#FCF392" + +[git_status] +format = '[$all_status]($style)' +style = "fg:#1C3A5E bg:#FCF392" + +[git_metrics] +format = "([+$added]($added_style))[]($added_style)" +added_style = "fg:#1C3A5E bg:#FCF392" +deleted_style = "fg:bright-red bg:235" +disabled = false + +[git_commit] +disabled = false +commit_hash_length = 8 +only_detached = false +style = "grey" +tag_symbol = " " + +[time] +disabled = false +time_format = "%R" # Hour:Minute Format +style = "bg:#1d2230" +format = '[[ 󱑍 $time ](bg:#1C3A5E fg:#8DFBD2)]($style)'