├── Nordic-starship ├── Nordic-starship2 ├── downloadnerdfont.sh ├── README.md └── starship.toml /Nordic-starship: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zaid-hassan/nordic-starship-toml/HEAD/Nordic-starship -------------------------------------------------------------------------------- /Nordic-starship2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zaid-hassan/nordic-starship-toml/HEAD/Nordic-starship2 -------------------------------------------------------------------------------- /downloadnerdfont.sh: -------------------------------------------------------------------------------- 1 | #/bin/bash 2 | # install DroidSansMono Nerd Font 3 | # you can also choose another at: https://www.nerdfonts.com/font-downloads 4 | 5 | link=https://github.com/ryanoasis/nerd-fonts/releases/download/v2.3.3/DroidSansMono.zip 6 | name=DroidSansMono.zip 7 | echo "Downloading fonts..." 8 | echo "${link}" 9 | wget $link 10 | echo "Unzipping Font: ${name}..." 11 | unzip $name -d ~/.fonts 12 | fc-cache -fv 13 | echo "Downloaded and unzipped ${name}" 14 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Nordic Starship Pastel Powerline Preset 2 | 3 | ### Nordic starship 1 4 | ![Nordic-starship](Nordic-starship) 5 | ### Nordic starship 2 (Current) 6 | ![Nordic-starship](Nordic-starship2) 7 | 8 | This is a starship.toml configuration file based on 'Pastel Powerline' preset' i have tried to customise it using Nordic color palette. 9 | Although i would like to point out the fact that it is not purely based on Nordic theme as i have used two colors from 'Dracula' theme, because i was running short of two colors and the Dracula colors mixed will with Nordic palette. 10 | You will also need to download the 'Nerd fort', i am using DroidSansMono Nerd Font Mono' in my terminal and have included a shell script to download and unzip the same font, but if you wish to use any other font you may use it. 11 | 12 | ....................... 13 | 14 | Instructions to run the downloadnerdfont.sh 15 | ``` 16 | cd nordic-starship-toml 17 | chmod +x downloadnerdfont.sh 18 | ./downloadnerdfont.sh 19 | ``` 20 | 21 | ## Credit's 22 | 23 | [Starship Pastel Powerline Preset Github](https://github.com/starship/starship/edit/master/docs/presets/pastel-powerline.md) 24 | -------------------------------------------------------------------------------- /starship.toml: -------------------------------------------------------------------------------- 1 | # Nordic-darker color palette 2 | #2e3440 user 3 | #3b4252 dir 4 | #434c5e git 5 | #4c566a version 6 | #5e81ac doc (from dracula color palette) 7 | #6272a4 time (from dracula color palette) 8 | 9 | # some extra symbols 10 | #  11 | #  12 | 13 | # _ _ 14 | # ______ _(_) __| | 15 | # |_ / _` | |/ _` | 16 | # / / (_| | | (_| | 17 | # /___\__,_|_|\__,_| zaid-hassan 18 | 19 | # --------------------------------------------------------------- 20 | format = """ 21 | [░▒▓](#2e3440)\ 22 | $os\ 23 | $username\ 24 | [](bg:#3b4252 fg:#2e3440)\ 25 | $directory\ 26 | [](fg:#3b4252 bg:#434c5e)\ 27 | $git_branch\ 28 | $git_status\ 29 | [](fg:#434c5e bg:#4c566a)\ 30 | $c\ 31 | $python\ 32 | $elixir\ 33 | $elm\ 34 | $golang\ 35 | $haskell\ 36 | $java\ 37 | $julia\ 38 | $nodejs\ 39 | $nim\ 40 | $rust\ 41 | $scala\ 42 | [](fg:#4c566a bg:#5e81ac)\ 43 | $docker_context\ 44 | [](fg:#5e81ac bg:#6272a4)\ 45 | $time\ 46 | [ ](fg:#6272a4)\ 47 | \n 48 | $cmd_duration\ 49 | $character\ 50 | """ 51 | #add_newline = false 52 | 53 | [line_break] 54 | disabled = false 55 | 56 | [username] 57 | show_always = true 58 | style_user = "bg:#2e3440" 59 | style_root = "bg:#9A348E" 60 | format = '[ $user ]($style)' 61 | disabled = false 62 | 63 | [os] 64 | style = "bg:#9A348E" 65 | disabled = true # Disabled by default 66 | 67 | [directory] 68 | style = "bg:#3b4252" 69 | format = "[ $path ]($style)" 70 | truncation_length = 3 71 | truncation_symbol = "…/" 72 | 73 | [directory.substitutions] 74 | "Documents" = " " 75 | "Downloads" = " " 76 | "Music" = " " 77 | "Pictures" = " " 78 | 79 | [c] 80 | symbol = " " 81 | style = "bg:#4c566a" 82 | format = '[ $symbol ($version) ]($style)' 83 | 84 | [python] 85 | symbol = " " 86 | style = "bg:#4c566a" 87 | format = '[ $symbol ($version) ]($style)' 88 | 89 | [docker_context] 90 | symbol = " " 91 | style = "bg:#5e81ac" 92 | format = '[ $symbol $context ]($style) $path' 93 | 94 | [elixir] 95 | symbol = " " 96 | style = "bg:#434c5e" 97 | format = '[ $symbol ($version) ]($style)' 98 | 99 | [elm] 100 | symbol = " " 101 | style = "bg:#434c5e" 102 | format = '[ $symbol ($version) ]($style)' 103 | 104 | [git_branch] 105 | symbol = "" 106 | style = "bg:#434c5e" 107 | format = '[ $symbol $branch ]($style)' 108 | 109 | [git_status] 110 | style = "bg:#434c5e" 111 | format = '[$all_status$ahead_behind ]($style)' 112 | 113 | [golang] 114 | symbol = " " 115 | style = "bg:#434c5e" 116 | format = '[ $symbol ($version) ]($style)' 117 | 118 | [haskell] 119 | symbol = " " 120 | style = "bg:#434c5e" 121 | format = '[ $symbol ($version) ]($style)' 122 | 123 | [java] 124 | symbol = " " 125 | style = "bg:#434c5e" 126 | format = '[ $symbol ($version) ]($style)' 127 | 128 | [julia] 129 | symbol = " " 130 | style = "bg:#434c5e" 131 | format = '[ $symbol ($version) ]($style)' 132 | 133 | [nodejs] 134 | symbol = "" 135 | style = "bg:#434c5e" 136 | format = '[ $symbol ($version) ]($style)' 137 | 138 | [nim] 139 | symbol = " " 140 | style = "bg:##434c5e" 141 | format = '[ $symbol ($version) ]($style)' 142 | 143 | [rust] 144 | symbol = "" 145 | style = "bg:#434c5e" 146 | format = '[ $symbol ($version) ]($style)' 147 | 148 | [scala] 149 | symbol = " " 150 | style = "bg:#434c5e" 151 | format = '[ $symbol ($version) ]($style)' 152 | 153 | [time] 154 | disabled = false 155 | time_format = "%R" # Hour:Minute Format 156 | style = "bg:#6272a4" 157 | format = '[  $time ]($style)' 158 | 159 | [character] 160 | success_symbol = '[ ➜](#6272a4)' 161 | error_symbol = '[ ➜](bold red)' 162 | #style = "bg:#6272a4" 163 | 164 | [cmd_duration] 165 | min_time = 500 166 | format = ' [$duration](#6272a4)' 167 | --------------------------------------------------------------------------------