Compare commits

...

2 Commits

Author SHA1 Message Date
b7b8e12755 more starship mods 2025-11-29 18:59:57 -05:00
75e454710e some re-theming? 2025-11-29 17:33:00 -05:00
4 changed files with 118 additions and 180 deletions

3
.gitmodules vendored
View File

@@ -1,3 +1,6 @@
[submodule "nushell/nu_scripts"] [submodule "nushell/nu_scripts"]
path = nushell/nu_scripts path = nushell/nu_scripts
url = https://github.com/nushell/nu_scripts url = https://github.com/nushell/nu_scripts
[submodule "nushell/themes/catppuccin"]
path = nushell/themes/catppuccin
url = https://github.com/catppuccin/nushell

View File

@@ -1,6 +1,9 @@
# Disable welcome message per https://www.nushell.sh/book/configuration.html#remove-welcome-message # Disable welcome message per https://www.nushell.sh/book/configuration.html#remove-welcome-message
$env.config.show_banner = false $env.config.show_banner = false
# Set theme
source ($nu.default-config-dir | path join "themes/catppuccin/themes/catppuccin_mocha.nu")
# Starship initialization per https://starship.rs/guide/ # Starship initialization per https://starship.rs/guide/
mkdir ($nu.data-dir | path join "vendor/autoload") mkdir ($nu.data-dir | path join "vendor/autoload")
starship init nu | save -f ($nu.data-dir | path join "vendor/autoload/starship.nu") starship init nu | save -f ($nu.data-dir | path join "vendor/autoload/starship.nu")

View File

@@ -1,205 +1,136 @@
format = "([░▒▓](#00ffff)[ ENV ](bold bg:#00ffff fg:#000000)[](fg:#00ffff) ${c}${docker_context}${dotnet}${elixir}${erlang}${golang}${gradle}${java}${nodejs}${python}\n)${hostname}${os}${username}${directory}${fossil_branch}${fossil_metrics}${git_branch}${git_commit}${git_status}${git_metrics}[](fg:#394260)${shell}${character}" "$schema" = 'https://starship.rs/config-schema.json'
right_format = "${git_state}${cmd_duration}${status}${sudo}${rust}${php}${memory_usage}${battery}${time}"
format = """
[](red)\
$os\
$hostname\
[ ](fg:red bg:peach)\
$username\
[ ](fg:peach bg:yellow)\
$shell\
[ ](fg:yellow bg:green)\
[ ](fg:green bg:sapphire)\
$directory\
[ ](fg:sapphire bg:lavender)\
$git_branch\
$git_status\
[ ](fg:lavender)\
$cmd_duration\
$character"""
add_newline = false add_newline = false
palette = 'catppuccin_mocha'
[c]
format = '[](fg:#ffffff)[$symbol( $version(-$name))]($style)[](fg:#ffffff) '
version_format = '${raw}'
symbol = ' '
style = 'bold bg:#ffffff fg:#004482'
[docker_context]
format = '[](fg:#ffffff)[$symbol $context]($style)[](fg:#ffffff) '
symbol = '󰡨 '
style = 'bold bg:#FFFFFF fg:#1D63ED'
[dotnet]
format = '[](fg:#1F1F1F)[$symbol( $version)( 🎯 $tfm)]($style)[](fg:#1F1F1F) '
version_format = '${raw}'
symbol = '󰌛 '
style = 'bold bg:#1F1F1F fg:#AC99EA'
[elixir]
format = '[](fg:#ffffff)[$symbol( $version \(OTP $otp_version\))]($style)[](fg:#ffffff) '
version_format = '${raw}'
symbol = ' '
style = 'bold bg:#ffffff fg:#513160'
[erlang]
format = '[](fg:#ffffff)[$symbol($version )]($style)[](fg:#ffffff) '
version_format = '${raw}'
symbol = ' '
style = 'bold bg:#ffffff fg:#A90533'
[golang]
format = '[](fg:#202224)[$symbol( $version)]($style)[](fg:#202224) '
version_format = '${raw}'
symbol = " "
style = "bold bg:#202224 fg:#00ACD7"
not_capable_style = 'bold bg:#202224 fg:#ff0000'
[gradle]
format = '[](fg:#010002)[$symbol( $version)]($style)[](fg:#010002) '
version_format = '${raw}'
symbol = ' '
style = 'bold bg:#010002 fg:#41C2C2'
[nodejs]
format = '[](fg:#333333)[$symbol( $version)]($style)[](fg:#333333) '
version_format = '${raw}'
symbol = "󰎙 "
style = "bold bg:#333333 fg:#5FA04E"
not_capable_style = 'bold bg:#333333 fg:#ff0000'
[python]
format = '[](fg:#244D70)[${symbol} ${pyenv_prefix}(${version})( \($virtualenv\))]($style)[](fg:#244D70) '
version_format = '${raw}'
symbol = ' '
style = 'bold bg:#244D70 fg:#FFDB67'
[hostname]
ssh_only = false
ssh_symbol = '󱘖 '
style = 'bold bg:#00ffff fg:#090c0c'
format = '[░▒▓](#00ffff)[ $ssh_symbol$hostname]($style)'
[os] [os]
format = '[ $symbol]($style)'
style = 'bold bg:#00ffff fg:#090c0c'
disabled = false disabled = false
style = "bg:red fg:crust"
[os.symbols] [os.symbols]
Arch = ' ' Alpine = " "
Gentoo = ' ' Amazon = " "
Ubuntu = ' ' Android = " "
Windows = ' ' Arch = "󰣇 "
Artix = "󰣇 "
CentOS = " "
Debian = "󰣚 "
Fedora = "󰣛 "
Gentoo = "󰣨 "
Linux = "󰌽 "
Macos = "󰀵 "
Manjaro = " "
Mint = "󰣭 "
NixOS = " "
Raspbian = "󰐿 "
SUSE = " "
Redhat = "󱄛 "
RedHatEnterprise = "󱄛 "
Ubuntu = "󰕈 "
Windows = " "
[hostname]
ssh_only = true
format = '[$hostname ]($style)'
style = 'bg:red fg:crust'
[username] [username]
style_root = '#ff0000' show_always = false
style_user = '#a3aed2' style_user = "bg:peach fg:crust"
format = '[](fg:#00ffff bg:$style)[ $user](bold bg:$style fg:#090c0c)[](fg:$style bg:#769ff0)' style_root = "bg:peach fg:crust"
show_always = true format = '[$user ]($style)'
[shell]
disabled = false
format = '[$indicator]($style)'
style = 'bg:yellow fg:crust'
nu_indicator = '󰟆 '
bash_indicator = "󱆃 "
[directory] [directory]
style = "fg:#e3e5e5 bg:#769ff0" style = "bg:sapphire fg:crust"
format = "[ $path]($style)[](fg:#769ff0 bg:#394260)" format = "[$path ]($style)"
truncate_to_repo = false
truncation_length = 3 truncation_length = 3
truncation_symbol = "/" truncation_symbol = "/"
[directory.substitutions] [directory.substitutions]
"Documents" = "󰈙 " "Documents" = "󰈙 "
"Downloads" = " " "Downloads" = " "
"Music" = " " "Music" = "󰝚 "
"Nextcloud" = "󰅟" "Pictures" = ""
"Pictures" = " " "Developer" = "󰲋 "
"repo" = " "
[fossil_branch] "work" = " "
format = '[ $symbol$branch]($style)'
symbol = ' '
style = 'bg:#394260 fg:#769ff0'
disabled = false
[fossil_metrics]
format = '([  $added]($added_style))([  $deleted]($deleted_style))'
added_style = 'bold fg:green bg:#394260'
deleted_style = 'bold fg:red bg:#394260'
only_nonzero_diffs = true
disabled = false
[git_branch] [git_branch]
format = '[ $symbol$branch(:$remote_branch)]($style)' symbol = ""
symbol = ' ' style = "bg:lavender fg:crust"
style = "bg:#394260 fg:#769ff0" format = '[$symbol $branch ]($style)'
only_attached = true
[git_commit]
commit_hash_length = 8
format = '[  $hash( $tag)]($style)'
style = 'bg:#394260 fg:#769ff0'
only_detached = true
tag_disabled = false
tag_symbol = ' '
[git_status] [git_status]
format = '[($all_status$ahead_behind)]($style)' style = "bg:lavender"
conflicted = ' 󰦎 $count' format = '[[($all_status$ahead_behind )](fg:crust bg:lavender)]($style)'
ahead = ' ⇡ $count'
behind = ' ⇣ $count'
diverged = ' ⇕ $count'
up_to_date = ''
untracked = '  $count'
stashed = ' 󰜦 $count'
modified = '  $count'
staged = '  $count'
renamed = '  $count'
deleted = ' ✘ $count'
typechanged = ' oof$count'
style = "bg:#394260 fg:#769ff0"
[git_metrics] [character]
added_style = 'bold fg:green bg:#394260'
deleted_style = 'bold fg:red bg:#394260'
only_nonzero_diffs = true
format = '([  $added]($added_style))([  $deleted]($deleted_style))'
disabled = false disabled = false
success_symbol = '[](bold fg:green)'
[shell] error_symbol = '[](bold fg:red)'
bash_indicator = '󱆃 ' vimcmd_symbol = '[](bold fg:green)'
cmd_indicator = ' ' vimcmd_replace_one_symbol = '[](bold fg:lavender)'
nu_indicator = '󰏌 ' vimcmd_replace_symbol = '[](bold fg:lavender)'
powershell_indicator = ' ' vimcmd_visual_symbol = '[](bold fg:yellow)'
pwsh_indicator = '󰨊 '
zsh_indicator = ' '
format = '[ $indicator]($style)'
style = 'white bold'
disabled = false
[git_state]
style = 'bold bg:#413000 fg:#F05133'
format = '[](fg:#413000)[ $state( $progress_current/$progress_total)]($style)[](fg:#413000)'
[cmd_duration] [cmd_duration]
min_time = 2_000 show_milliseconds = true
format = '[](fg:#8800AA)[󱎫 $duration]($style)[](fg:#8800AA)' format = " in $duration "
style = 'bold bg:#8800AA fg:#E5C7ED' style = "bg:lavender"
[rust]
symbol = " "
style = "bg:#212736"
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
[php]
symbol = " "
style = "bg:#212736"
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
[status]
format = '[](fg:#440000)[$symbol $status( $common_meaning)( $signal_number)( $signal_name)]($style)[](fg:#440000)'
style = 'bold bg:#440000 fg:#ff4444'
map_symbol = true
disabled = false disabled = false
show_notifications = true
min_time_to_notify = 45000
[sudo] [palettes.catppuccin_mocha]
format = '[](fg:#F90F67)[$symbol]($style)[](fg:#F90F67)' rosewater = "#f5e0dc"
symbol = '󰌆 ' flamingo = "#f2cdcd"
style = 'bold bg:#F90F67 fg:#000000' pink = "#f5c2e7"
disabled = false mauve = "#cba6f7"
red = "#f38ba8"
[memory_usage] maroon = "#eba0ac"
threshold = 0 peach = "#fab387"
format = '[](fg:#500679)[$symbol ${ram_pct}]($style)[](fg:#500679)([](fg:#2B0962)[󰘸 ${swap_pct}](bold bg:#2B0962 fg:#D1C2EA)[](fg:#2B0962))' yellow = "#f9e2af"
symbol = '󰍛 ' green = "#a6e3a1"
style = 'bold bg:#500679 fg:#E3C9F1' teal = "#94e2d5"
disabled = false sky = "#89dceb"
sapphire = "#74c7ec"
[battery] blue = "#89b4fa"
format = '[](fg:#061836)[$symbol $percentage](bg:#061836 fg:white)[](fg:#061836)' lavender = "#b4befe"
[[battery.display]] text = "#cdd6f4"
threshold = 100 subtext1 = "#bac2de"
subtext0 = "#a6adc8"
[time] overlay2 = "#9399b2"
format = '[](fg:#1d2230)[[ $time](fg:#a0a9cb bg:#1d2230)]($style)[](fg:#1d2230)' overlay1 = "#7f849c"
use_12hr = false overlay0 = "#6c7086"
time_format = "%T" surface2 = "#585b70"
style = "bg:#1d2230" surface1 = "#45475a"
disabled = false surface0 = "#313244"
base = "#1e1e2e"
mantle = "#181825"
crust = "#11111b"