diff options
author | Vikas Kushwaha <dev@vikas.rocks> | 2025-02-07 18:03:41 +0530 |
---|---|---|
committer | Vikas Kushwaha <dev@vikas.rocks> | 2025-02-07 18:03:41 +0530 |
commit | 5940d14ddbdb6f68869f48351083875b11b6abf7 (patch) | |
tree | 9a5cc0f1268933ca0d5a1a7d2882e93766c25250 /.config/starship.toml | |
parent | 18507fd21b7a7709133d8f3049c683e1abffcda2 (diff) |
preview updates
Diffstat (limited to '.config/starship.toml')
-rw-r--r-- | .config/starship.toml | 142 |
1 files changed, 142 insertions, 0 deletions
diff --git a/.config/starship.toml b/.config/starship.toml new file mode 100644 index 0000000..06f8b23 --- /dev/null +++ b/.config/starship.toml @@ -0,0 +1,142 @@ +# # FIRST LINE/ROW: Info & Status +# # First param ─┌ +# [username] +# format = " [╭─$user]($style)@" +# style_user = "bold red" +# style_root = "bold red" +# show_always = true + +# # Second param +# [hostname] +# format = "[$hostname]($style) in " +# style = "bold dimmed red" +# trim_at = "-" +# ssh_only = false +# disabled = false + +# # Third param +# [directory] +# style = "purple" +# truncation_length = 0 +# truncate_to_repo = true +# truncation_symbol = "repo: " + +# Before all the version info (python, nodejs, php, etc.) +[git_status] +style = "white" +ahead = "⇡${count}" +diverged = "⇕⇡${ahead_count}⇣${behind_count}" +behind = "⇣${count}" +deleted = "x" + +# Last param in the first line/row +[cmd_duration] +min_time = 50 +format = "took [$duration]($style)" +disabled = false + + +## SECOND LINE/ROW: Prompt +# Somethere at the beginning +[battery] +full_symbol = " " +charging_symbol = " " +discharging_symbol = " " +disabled = true + +[[battery.display]] # "bold red" style when capacity is between 0% and 10% +threshold = 15 +style = "bold red" +disabled = true + +[[battery.display]] # "bold yellow" style when capacity is between 10% and 30% +threshold = 50 +style = "bold yellow" +disabled = true + +[[battery.display]] # "bold green" style when capacity is between 10% and 30% +threshold = 80 +style = "bold green" +disabled = true + +# Prompt: optional param 1 +[time] +format = " 🕙 $time($style)\n" +time_format = "%T" +style = "bright-white" +disabled = true + +# # Prompt: param 2 └─ +# [character] +# success_symbol = " [╰─λ](bold red)" +# error_symbol = " [×](bold red)" + +# SYMBOLS +[status] +symbol = "🔴" +format = '[\[$symbol$status_common_meaning$status_signal_name$status_maybe_int\]]($style)' +map_symbol = true +disabled = false + +[aws] +symbol = " " + +[conda] +symbol = " " + +[dart] +symbol = " " + +[docker_context] +symbol = " " + +[elixir] +symbol = " " + +[elm] +symbol = " " + +[git_branch] +symbol = " " + +[golang] +symbol = " " + +[hg_branch] +symbol = " " + +[java] +symbol = " " + +[julia] +symbol = " " + +[nim] +symbol = " " + +[nix_shell] +symbol = " " + +[nodejs] +symbol = " " + +[package] +symbol = " " + +[perl] +symbol = " " + +[php] +symbol = " " + +[python] +symbol = " " + +[ruby] +symbol = " " + +[rust] +symbol = " " + +[swift] +symbol = "ﯣ " |