Skip to content

Commit

Permalink
starship: Switch to bash/zsh default PS1 style
Browse files Browse the repository at this point in the history
Signed-off-by: Rune Morling <[email protected]>
  • Loading branch information
ermo committed Jan 10, 2025
1 parent f91e46e commit c8d001f
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 33 deletions.
Binary file modified s/starship/manifest.x86_64.bin
Binary file not shown.
2 changes: 1 addition & 1 deletion s/starship/manifest.x86_64.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@
}
},
"source-name": "starship",
"source-release": "9",
"source-release": "10",
"source-version": "1.21.1"
}
63 changes: 32 additions & 31 deletions s/starship/pkg/serpent-os.toml
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
add_newline = false

format = """
[░▒▓](#a3aed2)\
[ 󰌽 ](bg:#a3aed2 fg:#090c0c)\
󰌽 \
$username\
$hostname\
[](bg:#769ff0 fg:#a3aed2)\
$directory\
[](fg:#769ff0 bg:#394260)\
$git_branch\
$git_status\
[](fg:#394260 bg:#212736)\
$nodejs\
$rust\
$golang\
$php\
[](fg:#212736 bg:#1d2230)\
$time\
[ ](fg:#1d2230)\
\n$character"""
$fill\
$time\n$character
"""

[fill]
symbol = ' '

[directory]
style = "fg:#e3e5e5 bg:#769ff0"
format = "[ $path ]($style)"
truncation_length = 3
style = "purple"
format = "[$path ]($style)"
truncation_length = 10
truncation_symbol = "…/"
truncate_to_repo = false

[directory.substitutions]
"Desktop" = ""
Expand All @@ -35,49 +35,50 @@ truncation_symbol = "…/"

[username]
show_always = true
style_user = "bg:#a3aed2 fg:#090c0c"
style_root = "bg:#a3aed2 fg:#090c0c"
style_user = "bold"
style_root = "bold red"
format = '[$user]($style)'
disabled = false

[hostname]
ssh_only = false
format = '[@$hostname $ssh_symbol ]($style)'
ssh_symbol = "󰄙"
style = "bg:#a3aed2 fg:#090c0c"
format = '@[$hostname]($style):$ssh_symbol'
ssh_symbol = "󰄙 "
style = "bold green"
disabled = false

[git_branch]
symbol = ""
style = "bg:#394260"
format = '[[ $symbol $branch ](fg:#769ff0 bg:#394260)]($style)'
style = "cyan"
format = '[\[ $symbol $branch ]($style)'

[git_status]
style = "bg:#394260"
format = '[[($all_status$ahead_behind )](fg:#769ff0 bg:#394260)]($style)'
style = "cyan"
format = '[($all_status$ahead_behind )\]]($style)'

[nodejs]
symbol = ""
style = "bg:#212736"
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
style = ""
format = '[\[ $symbol ($version) \]]($style)'

[rust]
symbol = ""
style = "bg:#212736"
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
style = ""
format = '[ $symbol ($version) ]($style)'

[golang]
symbol = ""
style = "bg:#212736"
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
style = ""
format = '[ $symbol ($version) ]($style)'

[php]
symbol = ""
style = "bg:#212736"
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
style = ""
format = '[ $symbol ($version) ]($style)'

[time]
disabled = false
time_format = "%R" # Hour:Minute Format
style = "bg:#1d2230"
format = '[[  $time ](fg:#a0a9cb bg:#1d2230)]($style)'
style = "reverse"
format = '[$fill $time]($style)'

2 changes: 1 addition & 1 deletion s/starship/stone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#
name : starship
version : "1.21.1"
release : 9
release : 10
license : ISC
homepage : https://starship.rs/
upstreams :
Expand Down

0 comments on commit c8d001f

Please sign in to comment.