-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstarship.toml
More file actions
179 lines (151 loc) · 4 KB
/
Copy pathstarship.toml
File metadata and controls
179 lines (151 loc) · 4 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
178
"$schema" = 'https://starship.rs/config-schema.json'
# Icons: https://www.nerdfonts.com/cheat-sheet
# ░▒▓ ▓▒░ █
# ////////////////////////////////////////////////
# FORMAT
# ////////////////////////////////////////////////
# Left
format = """
[█](fg:color_bg)\
$os\
$time\
[](fg:color_bg bg:color_blue2)\
$hostname\
$localip\
[](fg:color_blue2 bg:color_red)\
$username\
[](fg:color_red bg:color_yellow)\
$shell\
$shlvl\
$sudo\
[](fg:color_yellow bg:color_green)\
$git_branch\
$git_status\
$package\
$docker_context\
[](fg:color_green bg:color_fg)\
$directory\
[](fg:color_fg)\
$line_break\
$character\
"""
# Right
right_format = """$cmd_duration"""
# Empty line
add_newline = false
# ////////////////////////////////////////////////
# 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
# ////////////////////////////////////////////////
[line_break]
disabled = false
[character]
disabled = false
format = "[$symbol]($style)"
success_symbol = '[ : ](bold fg:color_fg)'
error_symbol = '[ : ](bold fg:color_red)'
vimcmd_symbol = '[ ](bold fg:color_fg)'
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_fg bg:color_bg"
format = "[ $symbol ]($style)"
symbols = { Arch = " ", Unknown = " " } #
[time]
disabled = true
time_format = "%R" # Hour:Minute Format
style = "fg:color_fg bg:color_bg"
format = '[ $time ]($style)'
[hostname]
disabled = false
ssh_only = true
ssh_symbol = " " #
style = "fg:color_bg bg:color_blue2"
format = '[$ssh_symbol]($style)[ $hostname ]($style)'
[localip]
disabled = false
ssh_only = true
style = "fg:color_bg bg:color_blue2"
format = '[ $localipv4 ]($style)'
[username]
disabled = false
show_always = false
style_user = "fg:color_bg bg:color_red"
style_root = "fg:color_bg bg:color_red"
format = '[ ]($style)[ $user ]($style)'
[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 = "fg:color_bg bg:color_green"
format = '[ $symbol $branch ]($style)'
[git_status]
style = "bold fg:color_red bg:color_green"
format = '[$all_status$ahead_behind ]($style)'
[package]
format = '[ $version ](fg:color_bg bg:color_green)'
[docker_context]
only_with_files = true
symbol = ""
style = "fg:color_bg bg:color_green"
format = '[ $symbol( $context) ]($style)'
[directory]
truncation_length = 5
truncation_symbol = "../"
home_symbol = "~"
read_only = " "
read_only_style = "fg:color_red bg:color_fg"
style = "bold fg:color_bg bg:color_fg"
format = "[ ]($style)[$read_only]($read_only_style)[ $path ]($style)"
# ////////////////////////////////////////////////
# MODULES RIGHT
# ////////////////////////////////////////////////
[cmd_duration]
disabled = false
style = "fg:color_fg"
format = "[ ◄ $duration ]($style)"
min_time = 500 # ms