lnk: added starship.toml

This commit is contained in:
Lnk User
2025-06-26 18:29:25 +02:00
parent 0f6be2b4a5
commit b04a1a1d17
2 changed files with 68 additions and 0 deletions

67
.config/starship.toml Normal file
View File

@@ -0,0 +1,67 @@
add_newline = true
format = "${custom.dotfile}${custom.tldr}$all"
[python]
symbol = " "
format = ' [${symbol}${pyenv_prefix}(${version} )(\($virtualenv\) )]($style)'
[directory]
repo_root_style = 'bold green'
#truncation_symbol = ".../"
fish_style_pwd_dir_length = 3
read_only = ' '
[git_branch]
format = "[$symbol$branch]($style) [$remote_name]($style dimmed) "
always_show_remote = true
[git_commit]
commit_hash_length = 8
style = "bold white"
tag_disabled = false
[git_status]
ahead = "[⇡${count}](cyan)"
diverged = "⇕⇡${ahead_count}⇣${behind_count}"
behind = "⇣${count}"
#up_to_date = "[✓](green)"
modified = '[!](blue)'
staged = '[+](green)'
#untracked = "?×$count"
#stashed = "st"
#conflicted = "c"
#renamed = "r"
[memory_usage]
format = "$symbol[${ram}( | ${swap})]($style) "
threshold = 70
disabled = false
[time]
disabled = false
format = '[\[$time\]]($style) '
style = 'cyan dimmed'
[nix_shell]
format = 'in [$symbol$state( \($name\))]($style) '
symbol = " "
style = 'bold bright-red'
[custom.dotfile]
when = """ ! ~/dotfiles/git_repo_stats.sh ~/dotfiles/"""
format = "[$symbol($output)]($style) "
description = "dotfiles repo is not clean or fully synchronised"
symbol = ""
style = "bold red"
[custom.tldr]
when = """ ! ~/dotfiles/git_repo_stats.sh ~/tldr-custom-pages/"""
format = "[$symbol($output)]($style) "
description = "tldr-custom-pages repo is not clean or fully synchronised"
symbol = ""
style = "bold red"
# Laptop part
[[battery.display]]
threshold = 30

1
.lnk
View File

@@ -3,6 +3,7 @@
.bashrc
.config/atuin/config.toml
.config/lazygit/config.yml
.config/starship.toml
.emacs
.fzf_custom
.gitconfig