-
Notifications
You must be signed in to change notification settings - Fork 0
/
starship.toml
114 lines (90 loc) · 2.39 KB
/
starship.toml
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
# The new prompt
format = """
[ $username ───── ](bold #9d7cb8)$directory$git_branch$rust$python$lua$cmd_duration $time
[ ](bold #9d7cb8)$character"""
# Break the new line at the start of the prompt
[line_break]
disabled = false
# The symbol of a succesful command and an error command
[character]
#success_symbol = "[ ](bold #DD9B7B)"
#error_symbol = "[ ](#DB425B) "
success_symbol = "[\\$](bold #9d7cb8)"
error_symbol = "[X](bold #DB425B) "
# Truncate the path of the directory to only the basename
[directory]
style = " bold #82aaff"
truncation_length = 2
# Show the username and divide the directory with a pipe symbol
[username]
style_user = "bold #9d7cb8"
show_always = true
style_root = "bold #E37534"
#format = "[$user|]($style) - "
format = "[$user]($style)"
# Show command duration above 1 minute
[cmd_duration]
min_time = 1000
style = "bold #545c7e"
#format = "[ - $duration]($style)"
format = "[ - $duration]($style)"
show_milliseconds = false
# Show the time in the command prompt
[time]
disabled = false
time_format = "| %R"
style = "#545c7e"
format = "[$time]($style) "
# Everything to do with the display of battery
[battery]
format = "[$symbol]($style)$percentage | "
# Order of threshold here matters! from low to high
[[battery.display]]
threshold = 20
discharging_symbol = " CHARGE YOUR LAPTOP "
charging_symbol = " "
style = "#FA1400"
[[battery.display]]
threshold = 40
discharging_symbol = " "
charging_symbol = " "
style = "#FAAF28"
[[battery.display]]
threshold = 60
discharging_symbol = " "
charging_symbol = " "
style = "#F8D50C"
[[battery.display]]
threshold = 85
discharging_symbol = " "
charging_symbol = " "
style = "#CCE019"
[[battery.display]]
threshold = 100
charging_symbol = " "
discharging_symbol = " "
style = "#CCE019"
# Shows memory when threshold of 60% is in use
[memory_usage]
disabled = false
threshold = 60
format = "- $symbol[${ram}]($style) "
# Configures the python prompt
[python]
symbol = " "
format = '[ ${symbol}${pyenv_prefix}(${version} )(\($virtualenv\) )]($style)'
# Configures the rust prompt
[rust]
format = "[ ${symbol}(${version} )]($style)"
style = "#fa6e79"
# Configures the rust prompt
[lua]
format = "[ $symbol]($style)"
symbol = " lua"
# Configures the github prompt
[git_branch]
symbol = " "
style = "#A779FF"
format = "[ $symbol$branch]($style) "
[git_status]
disabled = true