change starship config

This commit is contained in:
2025-04-29 23:52:27 +08:00
parent f336102714
commit 0f170ac4df

View File

@@ -1,7 +1,9 @@
"$schema" = 'https://starship.rs/config-schema.json' "$schema" = 'https://starship.rs/config-schema.json'
# [](color_orange)\
format = """ format = """
[](color_orange)\ [](color_orange)\
[ ](bg:color_orange)\
$os\ $os\
$username\ $username\
$hostname\ $hostname\
@@ -26,11 +28,13 @@ $conda\
[](fg:color_bg3 bg:color_bg1)\ [](fg:color_bg3 bg:color_bg1)\
$time\ $time\
$cmd_duration\ $cmd_duration\
[ ](fg:color_bg1)\ [ ](fg:color_bg1)\
$fill\ $fill\
$line_break$\ $line_break$\
character""" character"""
# []
palette = 'gruvbox_dark' palette = 'gruvbox_dark'
[palettes.gruvbox_dark] [palettes.gruvbox_dark]
@@ -45,11 +49,13 @@ color_purple = '#b16286'
color_red = '#cc241d' color_red = '#cc241d'
color_yellow = '#d79921' color_yellow = '#d79921'
color_ssh = '#292929' color_ssh = '#292929'
color_wine_red = '#c2295b'
[os] [os]
disabled = false disabled = false
style = "bg:color_orange fg:color_fg0" style = "bg:color_orange fg:color_fg0"
format = '[$symbol ]($style)'
[os.symbols] [os.symbols]
Windows = "󰍲" Windows = "󰍲"
@@ -77,7 +83,7 @@ Pop = ""
[username] [username]
show_always = true show_always = true
style_user = "bg:color_orange fg:color_fg0" style_user = "bg:color_orange fg:color_fg0"
style_root = "bg:color_orange fg:color_fg0" style_root = "bg:color_wine_red fg:color_fg0"
format = '[$user ]($style)' format = '[$user ]($style)'
[hostname] [hostname]