starship.rs config for servers
starship.toml
140 lines 2.5 kB view raw
1"$schema" = 'https://starship.rs/config-schema.json' 2 3## PROMPT FORMAT 4format = """ 5$os\ 6$container\ 7$directory\ 8$all\ 9$cmd_duration\ 10$jobs\ 11$status\ 12$line_break\ 13$character\ 14""" 15 16# # PALETTE 17palette = 'catppuccin_mocha' 18 19[palettes.catppuccin_mocha] 20rosewater = '#f5e0dc' 21flamingo = '#f2cdcd' 22pink = '#f5c2e7' 23mauve = '#cba6f7' 24red = '#f38ba8' 25maroon = '#eba0ac' 26peach = '#fab387' 27yellow = '#f9e2af' 28green = '#a6e3a1' 29teal = '#94e2d5' 30sky = '#89dceb' 31sapphire = '#74c7ec' 32blue = '#89b4fa' 33lavender = '#b4befe' 34text = '#cdd6f4' 35subtext1 = '#bac2de' 36subtext0 = '#a6adc8' 37overlay2 = '#9399b2' 38overlay1 = '#7f849c' 39overlay0 = '#6c7086' 40surface2 = '#585b70' 41surface1 = '#45475a' 42surface0 = '#313244' 43base = '#1e1e2e' 44mantle = '#181825' 45crust = '#11111b' 46 47## LEFT SIDE - FIRST LINE 48[os] 49disabled = false 50format = '[($name)]($style) ($version) ' 51style = 'bold rosewater' 52 53[os.symbols] 54CachyOS = 'CachyOS' 55Debian = 'Debian' 56FreeBSD = 'FreeBSD' 57Ubuntu = 'Ubuntu' 58 59[directory] 60style = 'subtext0' 61truncation_length = 8 62truncate_to_repo = true 63truncation_symbol = 'repo: ' 64 65[docker_context] 66symbol = 'docker: ' 67format = '[$symbol$context]($style)' 68 69[git_branch] 70symbol = ' ' 71 72[git_status] 73style = 'text' 74ahead = '⇡${count}' 75diverged = '⇕⇡${ahead_count}⇣${behind_count}' 76behind = '⇣${count}' 77deleted = 'x' 78 79[golang] 80symbol = 'go: ' 81format = '[$symbol($version )]($style)' 82 83[nix_shell] 84symbol = 'nix: ' 85format = '[$symbol$state(\($name\))]($style)' 86 87[nodejs] 88symbol = 'node: ' 89format = '[$symbol($version)]($style)' 90 91[python] 92symbol = 'py: ' 93format = '[${symbol}${pyenv_prefix}(${version} )(\($virtualenv\) )]($style)' 94 95[rust] 96symbol = 'rust: ' 97format = '[$symbol($version)]($style)' 98 99[cmd_duration] 100min_time = 1 101style = 'yellow' 102format = '[$duration]($style) ' 103disabled = false 104 105[status] 106format = 'exit status: [$status = $common_meaning]($style) ' 107disabled = false 108style = 'bold red' 109recognize_signal_code = true 110map_symbol = true 111 112## RIGHT SIDE - FIRST LINE 113[time] 114disabled = true 115format = '[$time]($style) ' 116time_format = '%T' 117style = 'bold peach' 118 119## LEFT SIDE - SECOND LINE 120[username] 121disabled = true 122format = '[$user]($style)@' 123style_user = 'red' 124style_root = 'bold red' 125show_always = true 126 127[hostname] 128disabled = true 129format = '[$hostname]($style)' 130style = 'lavender' 131trim_at = '.local' 132ssh_only = false 133 134[character] 135format = '[$symbol]($style) ' 136success_symbol = '[➜](bold teal)' 137error_symbol = '[➜](bold red)' 138vimcmd_symbol = '[V](bold green)' 139 140# vim: ai et ft=toml sts=2 sw=2 ts=2