From f731af433585ccbbf141dae04d7426ad865fa6c8 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Tue, 6 Feb 2024 18:34:32 +0000 Subject: [PATCH] Redo starship theme --- starship.toml | 220 ++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 212 insertions(+), 8 deletions(-) diff --git a/starship.toml b/starship.toml index debb54c..36e422f 100644 --- a/starship.toml +++ b/starship.toml @@ -1,10 +1,214 @@ -# Inserts a blank line between shell prompts -add_newline = true +# Copied from https://github.com/wintermi/zsh-starship/blob/main/theme/starship.toml -# 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" +format = """ +$os\ +[\uE0B0](fg:bar_one bg:bar_two)\ +$custom$directory\ +[\uE0B0](fg:bar_two bg:bar_three)\ +$git_branch\ +$git_status\ +[\uE0B0](fg:bar_three bg:bar_four)\ +$c\ +$dart\ +$elixir\ +$elm\ +$golang\ +$haskell\ +$java\ +$julia\ +$lua\ +$nodejs\ +$nim\ +$php\ +$python\ +$rlang\ +$ruby\ +$rust\ +$scala\ +[\uE0B0](fg:bar_four)\ +""" -# Disable the battery module, hiding it from the prompt completely -[battery] -disabled = true +right_format = """ +[\uE0B2](fg:bar_three)\ +$time\ +""" + +palette = 'theme' + +# Defines the colour palette for the theme +[palettes.theme] +bar_one = '#C0CAF5' +bar_two = '#6992D7' +bar_three = '#394260' +bar_four = '#212736' +bar_five = '#1D2230' +text_one = '#090C0C' +text_two = '#EEEEEE' +text_three = '#A3AED2' + +[os] +style = 'bg:bar_one fg:text_one' +format = '[ $symbol ]($style)' +disabled = false + +[os.symbols] +Alpine = '' +Amazon = '' +Android = '' +Arch = '' +CentOS = '' +Debian = '' +DragonFly = '' +Emscripten = '' +EndeavourOS = '' +Fedora = '' +FreeBSD = '' +Garuda = '󰛓' +Gentoo = '' +HardenedBSD = '󰞌' +Illumos = '󰈸' +Linux = '' +Macos = '' +Manjaro = '' +Mariner = '' +MidnightBSD = '' +Mint = '' +NetBSD = '' +NixOS = '' +OpenBSD = '󰈺' +SUSE = '' +OracleLinux = '󰌷' +Pop = '' +Raspbian = '' +Redhat = '' +RedHatEnterprise = '' +Redox = '󰀘' +Solus = '󰠳' +openSUSE = '' +Ubuntu = '' +Unknown = '' +Windows = '󰍲' + +[directory] +truncation_length = 0 +truncation_symbol = '.../' +truncate_to_repo = false +fish_style_pwd_dir_length = 1 +style = 'bold fg:text_two bg:bar_two' +format = '[ $path ]($style)' + +[custom.home] +when = ' test "$HOME" = "$PWD" ' +style = 'bold fg:text_two bg:bar_two' +symbol = ' ' + +[custom.folder] +when = ' test "$HOME" != "$PWD" ' +style = 'bold fg:text_two bg:bar_two' +symbol = ' ' + +[directory.substitutions] +'Documents' = ' ' +'Downloads' = ' ' +'Music' = ' ' +'Pictures' = ' ' + +[git_branch] +symbol = ' ' +style = 'fg:text_three bg:bar_three' +format = '[ $symbol $branch ]($style)' + +[git_status] +style = 'fg:text_three bg:bar_three' +format = '[$all_status$ahead_behind ]($style)' + +[c] +symbol = ' ' +style = 'fg:text_three bg:bar_four' +format = '[ $symbol ($version) ]($style)' + +[dart] +symbol = ' ' +style = 'fg:text_three bg:bar_four' +format = '[ $symbol ($version) ]($style)' + +[elixir] +symbol = ' ' +style = 'fg:text_three bg:bar_four' +format = '[ $symbol ($version) ]($style)' + +[elm] +symbol = ' ' +style = 'fg:text_three bg:bar_four' +format = '[ $symbol ($version) ]($style)' + +[golang] +symbol = ' ' +style = 'fg:text_three bg:bar_four' +format = '[ $symbol ($version) ]($style)' + +[haskell] +symbol = ' ' +style = 'fg:text_three bg:bar_four' +format = '[ $symbol ($version) ]($style)' + +[java] +symbol = ' ' +style = 'fg:text_three bg:bar_four' +format = '[ $symbol ($version) ]($style)' + +[julia] +symbol = ' ' +style = 'fg:text_three bg:bar_four' +format = '[ $symbol ($version) ]($style)' + +[lua] +symbol = ' ' +style = 'fg:text_three bg:bar_four' +format = '[ $symbol ($version) ]($style)' + +[nodejs] +symbol = ' ' +style = 'fg:text_three bg:bar_four' +format = '[ $symbol ($version) ]($style)' + +[nim] +symbol = ' ' +style = 'fg:text_three bg:bar_four' +format = '[ $symbol ($version) ]($style)' + +[php] +symbol = ' ' +style = 'fg:text_three bg:bar_four' +format = '[ $symbol ($version) ]($style)' + +[python] +symbol = ' ' +style = 'fg:text_three bg:bar_four' +format = '[ $symbol ($version) ]($style)' + +[rlang] +symbol = 'ﳒ ' +style = 'fg:text_three bg:bar_four' +format = '[ $symbol ($version) ]($style)' + +[ruby] +symbol = ' ' +style = 'fg:text_three bg:bar_four' +format = '[ $symbol ($version) ]($style)' + +[rust] +symbol = ' ' +style = 'fg:text_three bg:bar_four' +format = '[ $symbol ($version) ]($style)' + +[scala] +symbol = ' ' +style = 'fg:text_three bg:bar_four' +format = '[ $symbol ($version) ]($style)' + +[time] +disabled = false +time_format = '%R' # Hour:Minute Format +style = 'fg:text_three bg:bar_three' +format = '[  $time ]($style)' \ No newline at end of file