363 lines
6.8 KiB
TOML
363 lines
6.8 KiB
TOML
format = """
|
||
[](color_blue)\
|
||
$cmd_duration\
|
||
$hostname\
|
||
$localip\
|
||
$shlvl\
|
||
$shell\
|
||
$env_var\
|
||
[](fg:color_aqua bg:color_blue)\
|
||
$username\
|
||
$sudo\
|
||
[](fg:color_blue bg:color_bg3)\
|
||
$os\
|
||
$battery\
|
||
$status\
|
||
[](fg:color_bg3 bg:color_bg1)\
|
||
$character\
|
||
[ ](fg:color_bg1)\
|
||
"""
|
||
|
||
right_format = """
|
||
[ ](fg:color_bg1)\
|
||
$vcsh\
|
||
$fossil_branch\
|
||
$git_branch\
|
||
$git_status\
|
||
$git_commit\
|
||
$git_state\
|
||
$git_metrics\
|
||
$hg_branch\
|
||
$pijul_channel\
|
||
[ ](fg:color_bg2 bg:color_bg1)\
|
||
$directory\
|
||
[ ](fg:color_bg3 bg:color_bg2)\
|
||
$c\
|
||
$cmake\
|
||
$cobol\
|
||
$daml\
|
||
$dart\
|
||
$deno\
|
||
$dotnet\
|
||
$elixir\
|
||
$elm\
|
||
$erlang\
|
||
$fennel\
|
||
$golang\
|
||
$guix_shell\
|
||
$haskell\
|
||
$haxe\
|
||
$helm\
|
||
$java\
|
||
$julia\
|
||
$kotlin\
|
||
$gradle\
|
||
$lua\
|
||
$nim\
|
||
$nodejs\
|
||
$ocaml\
|
||
$opa\
|
||
$perl\
|
||
$php\
|
||
$pulumi\
|
||
$purescript\
|
||
$python\
|
||
$raku\
|
||
$rlang\
|
||
$red\
|
||
$ruby\
|
||
$rust\
|
||
$scala\
|
||
$solidity\
|
||
$swift\
|
||
$terraform\
|
||
$vlang\
|
||
$vagrant\
|
||
$zig\
|
||
[ ](fg:color_blue bg:color_bg3)\
|
||
$package\
|
||
$memory_usage\
|
||
$custom\
|
||
$jobs\
|
||
$container\
|
||
[ ](fg:color_aqua bg:color_blue)\
|
||
"""
|
||
|
||
add_newline = true
|
||
palette = 'gruvbox_dark'
|
||
|
||
[palettes.gruvbox_dark]
|
||
color_fg0 = '#fbf1c7'
|
||
color_fg1 = '#b9b0a0'
|
||
color_bg1 = '#3c3836'
|
||
color_bg2 = '#444444'
|
||
color_bg3 = '#665c54'
|
||
color_blue = '#458588'
|
||
color_aqua = '#689d6a'
|
||
color_green = '#68971a'
|
||
color_orange = '#d65d0e'
|
||
color_purple = '#b16286'
|
||
color_red = '#cc241d'
|
||
color_yellow = '#d79921'
|
||
color_gold = '#998855'
|
||
|
||
|
||
[os]
|
||
disabled = false
|
||
style = "bg:color_bg3 fg:color_fg0"
|
||
|
||
[os.symbols]
|
||
Windows = ""
|
||
Ubuntu = ""
|
||
SUSE = ""
|
||
Raspbian = ""
|
||
Mint = ""
|
||
Macos = ""
|
||
Manjaro = ""
|
||
Linux = ""
|
||
Gentoo = ""
|
||
Fedora = " "
|
||
Alpine = ""
|
||
Amazon = ""
|
||
Android = ""
|
||
Arch = ""
|
||
Artix = ""
|
||
CentOS = ""
|
||
Debian = ""
|
||
Redhat = ""
|
||
RedHatEnterprise = ""
|
||
|
||
[character]
|
||
format = "$symbol"
|
||
#success_symbol = "[❯](bold)"
|
||
success_symbol = "[](bold bg:color_bg1)"
|
||
error_symbol = "[⊘ ](fg:color_yellow bg:color_bg1)"
|
||
|
||
[env_var.VIMSHELL] # vim subshell
|
||
format = "[$env_value]($style)"
|
||
style = 'green italic'
|
||
|
||
[sudo]
|
||
format = "[$symbol]($style)"
|
||
style = "italic bright-purple"
|
||
symbol = "◇┈"
|
||
disabled = false
|
||
|
||
[username]
|
||
style_user = "yellow bold"
|
||
style_root = "purple bold italic"
|
||
format = "[$user]($style) ▻ "
|
||
disabled = false
|
||
|
||
[directory]
|
||
home_symbol = " "
|
||
truncation_length = 3
|
||
truncation_symbol = "…/"
|
||
truncate_to_repo = true
|
||
read_only = " 🔏"
|
||
read_only_style = "bold red"
|
||
style = "color_fg0 bg:color_bg2"
|
||
format = '[$path]($style)[$read_only]($read_only_style)'
|
||
|
||
[directory.substitutions]
|
||
"Documents" = " "
|
||
"Downloads" = " "
|
||
"Music" = " "
|
||
"Pictures" = " "
|
||
"Developer" = " "
|
||
|
||
[cmd_duration]
|
||
min_time = 500
|
||
format = "[ $duration ](italic bright-yellow)"
|
||
|
||
[jobs]
|
||
format = '[ job(s \($number\)) ]($style)'
|
||
style = "fg:color_fg1 bg:color_blue"
|
||
|
||
[localip]
|
||
ssh_only = true
|
||
format = " ◯[$localipv4](bold magenta)"
|
||
disabled = false
|
||
|
||
[time]
|
||
disabled = false
|
||
format = "[ $time]($style)"
|
||
time_format = "%R"
|
||
utc_time_offset = "local"
|
||
style = "dimmed white"
|
||
|
||
[status]
|
||
format = "[$symbol$common_meaning$signal_name$maybe_int]($style)"
|
||
style = 'bg:yellow'
|
||
symbol = '❌'
|
||
map_symbol = true
|
||
|
||
[battery]
|
||
format = "[ $percentage $symbol]($style)"
|
||
charging_symbol = "[ ](italic fg:color_fg0 bg:color_green)"
|
||
discharging_symbol = "[ ](italic fg:color_fg0 bg:color_bg3)"
|
||
unknown_symbol = "[ ](italic fg:color_fg0 bg:color_bg3)"
|
||
empty_symbol = "[ ](italic fg:color_fg0 bg:color_red)"
|
||
|
||
[[battery.display]]
|
||
threshold = 40
|
||
style = "fg:color_yellow bg:color_bg3"
|
||
|
||
[[battery.display]]
|
||
threshold = 70
|
||
style = "fg:color_fg1 bg:color_bg3"
|
||
|
||
[git_branch]
|
||
format = "[ $branch(:$remote_branch)]($style)"
|
||
style = "bg:color_bg1 fg:color_yellow"
|
||
|
||
|
||
[git_status]
|
||
format = '[( $all_status$ahead_behind )](fg:color_gold bg:color_bg1)'
|
||
up_to_date = "✓ "
|
||
conflicted = "◪◦"
|
||
ahead = "┤${count}│"
|
||
behind = "┤${count}│"
|
||
diverged = "┤${ahead_count}│┤${behind_count}│"
|
||
untracked = " "
|
||
stashed = "◫◦"
|
||
modified = " "
|
||
staged = "■┤$count│"
|
||
renamed = "◎◦"
|
||
deleted = "✕ "
|
||
|
||
[deno]
|
||
symbol = "🦕 "
|
||
style = "fg:color_fg1 bg:color_bg3"
|
||
version_format = "${major}.${minor}"
|
||
format = "[ ${symbol}${version} ]($style)"
|
||
|
||
[lua]
|
||
symbol = " "
|
||
style = "fg:color_fg1 bg:color_bg3"
|
||
format = "[ ${symbol}${version} ]($style)"
|
||
|
||
[nodejs]
|
||
symbol = " "
|
||
style = "fg:color_fg1 bg:color_bg3"
|
||
version_format = "${major}.${minor}"
|
||
format = "[ ${symbol}${version} ]($style)"
|
||
detect_files = ["package-lock.json", "yarn.lock", "pnpm-lock.json"]
|
||
|
||
[python]
|
||
symbol = " "
|
||
style = "fg:color_fg1 bg:color_bg3"
|
||
version_format = "${major}.${minor}"
|
||
format = "[ $symbol($version) ]($style)"
|
||
|
||
[ruby]
|
||
symbol = " "
|
||
style = "fg:color_fg1 bg:color_bg3"
|
||
version_format = "${major}.${minor}"
|
||
format = "[ $symbol($version) ]($style)"
|
||
|
||
[rust]
|
||
symbol = " "
|
||
style = "fg:color_fg1 bg:color_bg3"
|
||
version_format = "${major}.${minor}"
|
||
format = "[ $symbol($version) ]($style)"
|
||
|
||
[package]
|
||
symbol = "📦 "
|
||
style = "fg:color_fg1 bg:color_blue"
|
||
version_format = "${major}.${minor}"
|
||
format = "[ $symbol($version) ]($style)"
|
||
|
||
[swift]
|
||
symbol = " "
|
||
style = "fg:color_fg1 bg:color_bg3"
|
||
version_format = "${major}.${minor}"
|
||
format = "[ $symbol($version) ]($style)"
|
||
|
||
[aws]
|
||
symbol = " "
|
||
format = "[ $symbol $profile $region ]($style)"
|
||
style = "fg:color_fg1 bg:color_bg3"
|
||
|
||
[buf]
|
||
symbol = " "
|
||
format = "[ buf $symbol ($version )$buf_version ]($style)"
|
||
style = "fg:color_fg1 bg:color_bg3"
|
||
|
||
[c]
|
||
symbol = "∁ "
|
||
style = "fg:color_fg1 bg:color_bg3"
|
||
format = "[ $symbol($version(-$name))]($style)"
|
||
|
||
[conda]
|
||
symbol = "◯ "
|
||
style = "fg:color_fg1 bg:color_bg3"
|
||
format = "[ conda $symbol$environment]($style)"
|
||
|
||
[dart]
|
||
symbol = " "
|
||
style = "fg:color_fg1 bg:color_bg3"
|
||
format = "[ $symbol($version) ]($style)"
|
||
|
||
[docker_context]
|
||
symbol = " "
|
||
format = "[ $symbol$context ]($style)"
|
||
|
||
[elixir]
|
||
symbol = " "
|
||
style = "fg:color_fg1 bg:color_bg3"
|
||
format = "[ $symbol $version OTP $otp_version ]($style)"
|
||
|
||
[elm]
|
||
symbol = " "
|
||
style = "fg:color_fg1 bg:color_bg3"
|
||
format = "[ $symbol($version) ]($style)"
|
||
|
||
[golang]
|
||
symbol = " "
|
||
style = "fg:color_fg1 bg:color_bg3"
|
||
format = "[ $symbol($version) ]($style)"
|
||
|
||
[haskell]
|
||
symbol = " "
|
||
style = "fg:color_fg1 bg:color_bg3"
|
||
format = "[ $symbol($version) ]($style)"
|
||
|
||
[java]
|
||
symbol = " "
|
||
style = "fg:color_fg1 bg:color_bg3"
|
||
format = "[ $symbol($version) ]($style)"
|
||
|
||
[julia]
|
||
symbol = " "
|
||
style = "fg:color_fg1 bg:color_bg3"
|
||
format = "[ $symbol($version) ]($style)"
|
||
|
||
[memory_usage]
|
||
symbol = "▪▫▪ "
|
||
format = " mem [${ram}( ${swap})]($style)"
|
||
|
||
[nim]
|
||
symbol = " "
|
||
style = "fg:color_fg1 bg:color_bg3"
|
||
format = "[ $symbol($version) ]($style)"
|
||
|
||
[nix_shell]
|
||
symbol = " "
|
||
style = "fg:color_fg1 bg:color_bg3"
|
||
format = "[ $symbol$state $name]($style)"
|
||
|
||
[spack]
|
||
symbol = "◇ "
|
||
style = "fg:color_fg1 bg:color_bg3"
|
||
format = "[ spack $symbol$environment ]($style)"
|
||
|
||
[vlang]
|
||
symbol = "V"
|
||
style = "fg:color_fg1 bg:color_bg3"
|
||
format = "[ $symbol($version) ]($style)"
|
||
|
||
[zig]
|
||
symbol = " "
|
||
style = "fg:color_fg1 bg:color_bg3"
|
||
format = "[ $symbol($version) ]($style)"
|