Tuesday, October 4
Shadow

Config file for Starship prompt

# Print a new line at the start of the prompt
add_newline = true

# Makes prompt two lines
[line_break]
disabled = false

# Disable the package module, hiding it from the prompt completely
[package]
disabled = true

# Only show the time diration of command for certain duration
# Commenting out for now...
# [cmd_duration]
# min_time = 10_000  # Show command duration over 10,000 milliseconds (= 10 sec)
# format = "took [$duration]($style)"

[character]
success_symbol = "[❯❯](bold green)"
error_symbol = "[✗](bold red)"

# These symbols will only show when battery levels are 20% or less
[battery]
charging_symbol = "⚡️ "
discharging_symbol = "💀 "

[[battery.display]]  # "bold red" style when capacity is between 0% and 20%
threshold = 20 
style = "bold red"

# Clear visibility for exit codes
[status]
style = "bg:red"
symbol = "💣 "
format = '[\[$symbol$status\]]($style) '
disabled = false

Leave a Reply