feat(shell): start using starship and clean up hyfetch

This commit is contained in:
aria 2025-07-06 22:55:46 +10:00
parent cf046eeb92
commit 56c40db613
Signed by: aria
SSH key fingerprint: SHA256:WqtcVnDMrv1lnUlNah5k31iywFUI/DV+5yHzCTO4Vds
4 changed files with 313 additions and 2 deletions

59
fastfetch.jsonc Normal file
View file

@ -0,0 +1,59 @@
{
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
"display": {
"size": {
"maxPrefix": "MB",
"ndigits": 0
}
},
"modules": [
"title",
"separator",
"os",
{
"type": "kernel",
"format": "{release}"
},
"uptime",
"packages",
"shell",
"display",
"de",
"wm",
"wmtheme",
"theme",
"icons",
"terminal",
"break",
"cpu",
{
"type": "gpu",
"key": "GPU"
},
"vulkan",
{
"type": "memory",
"format": "{} / {}"
},
{
"type": "swap",
"format": "{} / {}"
},
"break",
{
"type": "localip",
"showIpv6": true,
"showMac": false,
"showSpeed": true,
"showMtu": false,
"showLoop": false,
"showFlags": false,
"showAllIps": false
},
"break",
{
"type": "disk",
"temp": true
},
]
}

View file

@ -2,14 +2,14 @@
"preset": "transgender", "preset": "transgender",
"mode": "rgb", "mode": "rgb",
"light_dark": "dark", "light_dark": "dark",
"lightness": 0.69, "lightness": 0.7,
"color_align": { "color_align": {
"mode": "horizontal", "mode": "horizontal",
"custom_colors": [], "custom_colors": [],
"fore_back": null "fore_back": null
}, },
"backend": "fastfetch", "backend": "fastfetch",
"args": null, "args": "--config /home/buymymojo/.config/fastfetch.jsonc",
"distro": null, "distro": null,
"pride_month_shown": [], "pride_month_shown": [],
"pride_month_disable": false "pride_month_disable": false

88
starship-old.toml Normal file
View file

@ -0,0 +1,88 @@
# Get editor completions based on the config schema
"$schema" = 'https://starship.rs/config-schema.json'
# Inserts a blank line between shell prompts
add_newline = true
# Replace the '' symbol in the prompt with '➜'
[character] # The name of the module we are configuring is 'character'
success_symbol = '[➜](bold green)' # The 'success_symbol' segment is being set to '➜' with the color 'bold green'
[container]
format = '[$symbol \[$name\]]($style) '
[directory]
truncation_length = 8
truncation_symbol = '…/'
[docker_context]
format = 'via [🐋 $context](blue bold)'
[git_branch]
symbol = '🌱 '
truncation_length = 4
truncation_symbol = ''
ignore_branches = ['master', 'main']
[git_commit]
commit_hash_length = 4
tag_symbol = '🔖 '
[git_state]
format = '[\($state( $progress_current of $progress_total)\)]($style) '
cherry_pick = '[🍒 PICKING](bold red)'
[git_metrics]
added_style = 'bold blue'
format = '[+$added]($added_style)/[-$deleted]($deleted_style) '
[git_status]
conflicted = '🏳'
ahead = '🏎💨'
behind = '😰'
diverged = '😵'
up_to_date = '✓'
untracked = '🤷'
stashed = '📦'
modified = '📝'
staged = '[++\($count\)](green)'
renamed = '👅'
deleted = '🗑'
[golang]
format = 'via [🏎💨 $version](bold cyan) '
[localip]
ssh_only = false
format = '@[$localipv4](bold red) '
disabled = false
[memory_usage]
disabled = false
threshold = -1
symbol = ' '
style = 'bold dimmed green'
[status]
# style = 'bg:blue'
symbol = '🔴 '
success_symbol = '🟢'
format = '[\[$symbol$common_meaning$signal_name$maybe_int\]]($style) '
map_symbol = true
disabled = false
[sudo]
style = 'bold green'
symbol = '👩‍💻 '
disabled = false
[username]
style_user = 'white bold'
style_root = 'black bold'
format = '[$user]($style)'
disabled = false
show_always = true
aliases = { "buymymojo" = "Aria" }

164
starship.toml Normal file
View file

@ -0,0 +1,164 @@
format = """
[](#9A348E)\
$os\
$username\
[](bg:#DA627D fg:#9A348E)\
$directory\
[](fg:#DA627D bg:#FCA17D)\
$git_branch\
$git_status\
[](fg:#FCA17D bg:#86BBD8)\
$package\
$c\
$elixir\
$elm\
$golang\
$gradle\
$haskell\
$java\
$julia\
$nodejs\
$nim\
$rust\
$scala\
[](fg:#86BBD8 bg:#06969A)\
$docker_context\
[](fg:#06969A bg:#33658A)\
$memory_usage\
$time\
[ ](fg:#33658A)\
"""
# Disable the blank line at the start of the prompt
# add_newline = false
# You can also replace your username with a neat symbol like  or disable this
# and use the os module below
[username]
show_always = true
style_user = "bg:#9A348E"
style_root = "bg:#9A348E"
format = '[$user ]($style)'
disabled = false
aliases = { "buymymojo" = "Aria" }
# An alternative to the username module which displays a symbol that
# represents the current operating system
[os]
style = "bg:#9A348E"
disabled = true # Disabled by default
[directory]
style = "bg:#DA627D"
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 󰈙 " = " 󰈙 "
[package]
symbol = " "
format = '[$version]($style)'
style = "bg:#86BBD8"
[c]
symbol = " "
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[cpp]
symbol = " "
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[docker_context]
symbol = " "
style = "bg:#06969A"
format = '[ $symbol $context ]($style)'
[elixir]
symbol = " "
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[elm]
symbol = " "
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[git_branch]
symbol = ""
style = "bg:#FCA17D"
format = '[ $symbol $branch ]($style)'
[git_status]
style = "bg:#FCA17D"
format = '[$all_status$ahead_behind ]($style)'
[golang]
symbol = " "
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[gradle]
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[haskell]
symbol = " "
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[java]
symbol = " "
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[julia]
symbol = " "
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[nodejs]
symbol = ""
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[nim]
symbol = "󰆥 "
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[rust]
symbol = ""
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[scala]
symbol = " "
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[time]
disabled = false
time_format = "%R" # Hour:Minute Format
style = "bg:#33658A"
format = '[ ♥ $time ]($style)'
[memory_usage]
disabled = false
threshold = -1
symbol = ' '
style = 'bg:#33658A'
format = "[ $ram ]($style)"