78 lines
1.9 KiB
TOML
78 lines
1.9 KiB
TOML
format = """
|
|
[](#7aa26b)\
|
|
$username\
|
|
[](fg:#7aa26b bg:#97c381)\
|
|
$hostname\
|
|
[](fg:#97c381 bg:#b3cb92)\
|
|
$directory\
|
|
[](fg:#b3cb92 bg:#cfd3a2)\
|
|
$git_branch\
|
|
$git_status\
|
|
[](fg:#cfd3a2 bg:#ebdbb2)\
|
|
$nodejs\
|
|
$python\
|
|
$rust\
|
|
[ ](fg:#ebdbb2)
|
|
"""
|
|
|
|
[username]
|
|
show_always = true
|
|
style_user = "bg:#7aa26b fg:#3e3e25"
|
|
style_root = "bg:#fb4934 fg:#3e3e25"
|
|
format = '[ $user ]($style)'
|
|
|
|
[hostname]
|
|
ssh_only = false
|
|
style = "bg:#97c381 fg:#3e3e25"
|
|
format = '[ $hostname ]($style)'
|
|
trim_at = ""
|
|
disabled = false
|
|
|
|
[directory]
|
|
style = "bg:#b3cb92 fg:#3e3e25"
|
|
format = "[ $path ]($style)"
|
|
truncation_length = 3
|
|
truncation_symbol = "…/"
|
|
|
|
# Here is how you can shorten some long paths by text replacement
|
|
# similar to mapped_locations in Oh My Posh:
|
|
[directory.substitutions]
|
|
"documents" = " "
|
|
"downloads" = " "
|
|
"music" = " "
|
|
"pictures" = " "
|
|
# Keep in mind that the order matters. For example:
|
|
# "Important Documents" = " "
|
|
# will not be replaced, because "Documents" was already substituted before.
|
|
# So either put "Important Documents" before "Documents" or use the substituted version:
|
|
# "Important " = " "
|
|
|
|
[git_branch]
|
|
symbol = ""
|
|
style = "bg:#cfd3a2 fg:#3e3e25"
|
|
format = '[[ $symbol $branch ](bg:#cfd3a2 fg:#3e3e25)]($style)'
|
|
|
|
[git_status]
|
|
style = "bg:#cfd3a2 fg:#3e3e25"
|
|
format = '[[($all_status$ahead_behind )](bg:#cfd3a2 fg:#3e3e25)]($style)'
|
|
|
|
[nodejs]
|
|
symbol = ""
|
|
style = "bg:#ebdbb2 fg:#3e3e25"
|
|
format = '[[ $symbol ($version) ](bg:#ebdbb2 fg:#3e3e25)]($style)'
|
|
|
|
[python]
|
|
symbol = ""
|
|
style = "bg:#ebdbb2 fg:#3e3e25"
|
|
format = '[[ $symbol ($version) ](bg:#ebdbb2 fg:#3e3e25)]($style)'
|
|
|
|
[rust]
|
|
symbol = ""
|
|
style = "bg:#ebdbb2 fg:#3e3e25"
|
|
format = '[[ $symbol ($version) ](bg:#ebdbb2 fg:#3e3e25)]($style)'
|
|
|
|
#[time]
|
|
#disabled = false
|
|
#time_format = "%R" # Hour:Minute Format
|
|
#style = "bg:#33658A"
|
|
#format = '[[ ♥ $time ](bg:#33658A)]($style)'
|