-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstarship.toml
More file actions
177 lines (149 loc) · 4.01 KB
/
starship.toml
File metadata and controls
177 lines (149 loc) · 4.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
"$schema" = 'https://starship.rs/config-schema.json'
# Icons: https://www.nerdfonts.com/cheat-sheet
# ░▒▓ ▓▒░
# ////////////////////////////////////////////////
# FORMAT
# ////////////////////////////////////////////////
# Left
format = """
[░▒▓](color_black2)\
$os\
$time\
[](fg:color_black2 bg:color_green)\
$hostname\
$localip\
[](fg:color_green bg:color_blue2)\
$username\
[](fg:color_blue2 bg:color_yellow)\
$shell\
$shlvl\
$sudo\
[](fg:color_yellow bg:color_red)\
$git_branch\
$git_status\
$package\
$docker_context\
[](fg:color_red bg:color_white3)\
$directory\
[](fg:color_white3)\
$line_break\
$character\
[ ](fg:color_fg)
"""
# Right
right_format = """$cmd_duration"""
# Empty line
add_newline = true
# ////////////////////////////////////////////////
# COLORS
# ////////////////////////////////////////////////
palette = 'arch_os'
# Nord: https://www.nordtheme.com
[palettes.arch_os]
color_fg = '#d8dee9'
color_bg = '#2e3440'
color_red = '#bf616a'
color_green = '#a3be8c'
color_purple = '#b48ead'
color_yellow = '#ebcb8b'
color_orange = '#d08770'
color_white1 = '#eceff4'
color_white2 = '#e5e9f0'
color_white3 = '#d8dee9'
color_black1 = '#2e3440'
color_black2 = '#3b4252'
color_black3 = '#434c5e'
color_black4 = '#4c566a'
color_blue1 = '#5e81ac'
color_blue2 = '#81a1c1'
color_blue3 = '#88c0d0'
color_blue4 = '#8fbcbb'
# ////////////////////////////////////////////////
# LINE BREAK (disabled)
# ////////////////////////////////////////////////
[line_break]
disabled = true # Disabled
[character]
disabled = true # Disabled
success_symbol = '[ :](bold fg:color_green)'
error_symbol = '[ :](bold fg:color_red)'
vimcmd_symbol = '[ ](bold fg:color_green)'
vimcmd_replace_one_symbol = '[ ](bold fg:color_purple)'
vimcmd_replace_symbol = '[ ](bold fg:color_purple)'
vimcmd_visual_symbol = '[ ](bold fg:color_yellow)'
# ////////////////////////////////////////////////
# MODULES LEFT
# ////////////////////////////////////////////////
[os]
disabled = false
style = "fg:color_white3 bg:color_black2"
format = "[ $symbol ]($style)"
[os.symbols]
Arch = ""
[time]
disabled = false
time_format = "%R" # Hour:Minute Format
style = "bg:color_black2"
format = '[[ $time ](fg:color_white3 bg:color_black2)]($style)'
[hostname]
disabled = false
ssh_only = true
ssh_symbol = " " #
style = "fg:color_bg bg:color_green"
format = '[$ssh_symbol]($style)[ $hostname ]($style)'
[localip]
disabled = false
ssh_only = true
style = "fg:color_bg bg:color_green"
format = '[ $localipv4 ]($style)'
[username]
disabled = false
show_always = false
style_user = "fg:color_bg bg:color_blue2"
style_root = "fg:color_red bg:color_blue2"
format = '[ ]($style)[ $user ](fg:color_bg bg:color_blue2)'
[shell]
disabled = false
fish_indicator = ""
bash_indicator = " bash "
unknown_indicator = " shell "
style = "fg:color_bg bg:color_yellow"
format = "[$indicator]($style)"
[shlvl]
disabled = false
threshold = 2
symbol = ''
style = "fg:color_bg bg:color_yellow"
format = "[ $symbol $shlvl ]($style)"
[sudo]
disabled = false
symbol = ' '
style = "fg:color_red bg:color_yellow"
format = '[ $symbol ]($style)'
[git_branch]
symbol = ""
style = "bg:color_red"
format = '[[ $symbol $branch ](fg:color_fg bg:color_red)]($style)'
[git_status]
style = "bg:color_red"
format = '[[($all_status$ahead_behind )](fg:color_fg bg:color_red)]($style)'
[package]
format = '[ $version ](fg:color_fg bg:color_red)'
[docker_context]
symbol = ""
style = "bg:color_red"
format = '[[ $symbol( $context) ](fg:color_fg bg:color_red)]($style)'
[directory]
truncation_length = 6
truncation_symbol = "••/"
home_symbol = " "
read_only = " "
read_only_style = "fg:color_red bg:color_white3"
style = "fg:color_bg bg:color_white3"
format = "[ ]($style)[$read_only]($read_only_style)[ $path ]($style)"
# ////////////////////////////////////////////////
# MODULES RIGHT
# ////////////////////////////////////////////////
[cmd_duration]
style = "fg:color_fg"
format = "[ ◄ $duration ]($style)"