addet some themes
This commit is contained in:
parent
75fd487a3a
commit
b01002dad5
5 changed files with 700 additions and 0 deletions
167
bubbles.toml
Normal file
167
bubbles.toml
Normal file
|
@ -0,0 +1,167 @@
|
|||
"$schema" = "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json"
|
||||
final_space = true
|
||||
version = 2
|
||||
|
||||
[[blocks]]
|
||||
alignment = "right"
|
||||
type = "prompt"
|
||||
|
||||
[[blocks.segments]]
|
||||
background = "#29315A"
|
||||
foreground = "#E64747"
|
||||
leading_diamond = ""
|
||||
style = "diamond"
|
||||
template = "{{ .UserName }}"
|
||||
trailing_diamond = " "
|
||||
type = "session"
|
||||
|
||||
[[blocks.segments]]
|
||||
background = "#29315A"
|
||||
foreground = "#3EC669"
|
||||
leading_diamond = ""
|
||||
style = "diamond"
|
||||
template = " {{ .Path }}"
|
||||
trailing_diamond = ""
|
||||
type = "path"
|
||||
|
||||
[blocks.segments.properties]
|
||||
style = "folder"
|
||||
|
||||
[[blocks.segments]]
|
||||
background = "#29315A"
|
||||
foreground = "#43CCEA"
|
||||
leading_diamond = " "
|
||||
style = "diamond"
|
||||
template = "{{ .HEAD }}"
|
||||
trailing_diamond = ""
|
||||
type = "git"
|
||||
|
||||
[blocks.segments.properties]
|
||||
branch_icon = ""
|
||||
|
||||
[[blocks.segments]]
|
||||
background = "#29315A"
|
||||
foreground = "#E4F34A"
|
||||
leading_diamond = " "
|
||||
style = "diamond"
|
||||
template = "{{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}"
|
||||
trailing_diamond = ""
|
||||
type = "python"
|
||||
|
||||
[blocks.segments.properties]
|
||||
fetch_version = false
|
||||
|
||||
[[blocks.segments]]
|
||||
background = "#29315A"
|
||||
foreground = "#7FD5EA"
|
||||
leading_diamond = " "
|
||||
style = "diamond"
|
||||
template = "{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
|
||||
trailing_diamond = ""
|
||||
type = "go"
|
||||
|
||||
[blocks.segments.properties]
|
||||
fetch_version = false
|
||||
|
||||
[[blocks.segments]]
|
||||
background = "#29315A"
|
||||
foreground = "#42E66C"
|
||||
leading_diamond = " "
|
||||
style = "diamond"
|
||||
template = "{{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}"
|
||||
trailing_diamond = ""
|
||||
type = "node"
|
||||
|
||||
[blocks.segments.properties]
|
||||
fetch_version = false
|
||||
|
||||
[[blocks.segments]]
|
||||
background = "#29315A"
|
||||
foreground = "#E64747"
|
||||
leading_diamond = " "
|
||||
style = "diamond"
|
||||
template = "{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
|
||||
trailing_diamond = ""
|
||||
type = "ruby"
|
||||
|
||||
[blocks.segments.properties]
|
||||
fetch_version = false
|
||||
|
||||
[[blocks.segments]]
|
||||
background = "#29315A"
|
||||
foreground = "#E64747"
|
||||
leading_diamond = " "
|
||||
style = "diamond"
|
||||
template = "{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
|
||||
trailing_diamond = ""
|
||||
type = "java"
|
||||
|
||||
[blocks.segments.properties]
|
||||
fetch_version = false
|
||||
|
||||
[[blocks.segments]]
|
||||
background = "#29315A"
|
||||
foreground = "#9B6BDF"
|
||||
leading_diamond = " "
|
||||
style = "diamond"
|
||||
template = "{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} "
|
||||
trailing_diamond = ""
|
||||
type = "julia"
|
||||
|
||||
[blocks.segments.properties]
|
||||
fetch_version = false
|
||||
|
||||
[[blocks.segments]]
|
||||
background = "#29315A"
|
||||
foreground = "#9B6BDF"
|
||||
foreground_templates = [
|
||||
"{{if eq \"Charging\" .State.String}}#40c4ff{{end}}",
|
||||
"{{if eq \"Discharging\" .State.String}}#ff5722{{end}}",
|
||||
"{{if eq \"Full\" .State.String}}#4caf50{{end}}"
|
||||
]
|
||||
leading_diamond = " "
|
||||
style = "diamond"
|
||||
template = "{{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}"
|
||||
trailing_diamond = ""
|
||||
type = "battery"
|
||||
|
||||
[blocks.segments.properties]
|
||||
charged_icon = " "
|
||||
charging_icon = "⇡ "
|
||||
discharging_icon = "⇣ "
|
||||
|
||||
[[blocks]]
|
||||
alignment = "left"
|
||||
newline = true
|
||||
type = "prompt"
|
||||
|
||||
[[blocks.segments]]
|
||||
background = "#29315A"
|
||||
foreground = "#AEA4BF"
|
||||
leading_diamond = ""
|
||||
style = "diamond"
|
||||
template = "{{ .FormattedMs }}"
|
||||
trailing_diamond = " "
|
||||
type = "executiontime"
|
||||
|
||||
[blocks.segments.properties]
|
||||
style = "austin"
|
||||
threshold = 150
|
||||
|
||||
[[blocks.segments]]
|
||||
background = "#29315A"
|
||||
foreground = "#7FD5EA"
|
||||
leading_diamond = ""
|
||||
style = "diamond"
|
||||
template = "❯"
|
||||
trailing_diamond = ""
|
||||
type = "text"
|
||||
|
||||
[transient_prompt]
|
||||
foreground_templates = [
|
||||
"{{if gt .Code 0}}red{{end}}",
|
||||
"{{if eq .Code 0}}magenta{{end}}",
|
||||
]
|
||||
background = 'transparent'
|
||||
template = '❯ '
|
||||
|
189
homelab.toml
Normal file
189
homelab.toml
Normal file
|
@ -0,0 +1,189 @@
|
|||
"$schema" = "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json"
|
||||
console_title_template = " {{ .Folder }} :: {{if .Root}}Admin{{end}}"
|
||||
final_space = true
|
||||
version = 2
|
||||
terminal_background = "p:t-background"
|
||||
|
||||
[palette]
|
||||
main-bg = "transparent"
|
||||
terminal-red = "#f7768e"
|
||||
pistachio-green = "#9ece6a"
|
||||
terminal-green = "#73daca"
|
||||
terminal-yellow = "#e0af68"
|
||||
terminal-blue = "#7aa2f7"
|
||||
celeste-blue = "#b4f9f8"
|
||||
light-sky-blue = "#7dcfff"
|
||||
terminal-white = "#c0caf5"
|
||||
white-blue = "#a9b1d6"
|
||||
blue-bell = "#9aa5ce"
|
||||
pastal-grey = "#cfc9c2"
|
||||
terminal-magenta = "#bb9af7"
|
||||
blue-black = "#565f89"
|
||||
terminal-black = "#414868"
|
||||
t-background = "p:main-bg"
|
||||
|
||||
[[blocks]]
|
||||
alignment = "left"
|
||||
type = "prompt"
|
||||
|
||||
[[blocks.segments]]
|
||||
type = "text"
|
||||
style = "plain"
|
||||
background = "transparent"
|
||||
foreground = "p:terminal-blue"
|
||||
template = "➜ "
|
||||
|
||||
[[blocks.segments]]
|
||||
type = "username"
|
||||
style = "plain"
|
||||
foreground = "#090c0c"
|
||||
background = "#dc2b4b"
|
||||
template = " {{ .User }}"
|
||||
|
||||
[[blocks.segments]]
|
||||
type = "hostname"
|
||||
style = "plain"
|
||||
background = "#d9647a"
|
||||
foreground = "#090c0c"
|
||||
template = " {{ .Host }} "
|
||||
|
||||
[[blocks.segments]]
|
||||
type = "path"
|
||||
style = "plain"
|
||||
foreground = "#f4b9e8"
|
||||
background = "#9d2163"
|
||||
template = "<b>{{ .Path }}</b> <p:light-sky-blue>⚡</>"
|
||||
|
||||
[blocks.segments.properties]
|
||||
style = "folder"
|
||||
truncation_length = 3
|
||||
truncation_symbol = "/"
|
||||
|
||||
[[blocks.segments]]
|
||||
type = "git"
|
||||
style = "plain"
|
||||
foreground = "#f289c1"
|
||||
background = "#6d274d"
|
||||
template = " {{ .HEAD }}"
|
||||
|
||||
[blocks.segments.properties]
|
||||
fetch_status = true
|
||||
branch_icon = " "
|
||||
|
||||
[[blocks.segments]]
|
||||
type = "git_status"
|
||||
style = "plain"
|
||||
foreground = "#AC53EE"
|
||||
background = "#6d274d"
|
||||
template = "[[$all_status$ahead_behind]]"
|
||||
|
||||
[[blocks.segments]]
|
||||
type = "php"
|
||||
style = "plain"
|
||||
foreground = "#769ff0"
|
||||
background = "#212736"
|
||||
template = " {{ .Full }}"
|
||||
|
||||
[[blocks.segments]]
|
||||
type = "custom"
|
||||
style = "plain"
|
||||
foreground = "#5972e3"
|
||||
template = ""
|
||||
[blocks.segments.properties]
|
||||
command = "echo "
|
||||
files = ["Dockerfile", "dockerfile", "docker-compose.yml", "docker-compose.yaml", "compose.yml", "compose.yaml"]
|
||||
|
||||
[[blocks.segments]]
|
||||
type = "custom"
|
||||
style = "plain"
|
||||
foreground = "#AC53EE"
|
||||
background = "#6d274d"
|
||||
template = ""
|
||||
[blocks.segments.properties]
|
||||
command = "echo "
|
||||
files = [".gitignore", ".gitmodules", ".git/"]
|
||||
|
||||
[[blocks.segments]]
|
||||
type = "cmd_duration"
|
||||
style = "plain"
|
||||
foreground = "#AC53EE"
|
||||
background = "#3a1424"
|
||||
template = "took {{ .Duration }}"
|
||||
|
||||
[blocks.segments.properties]
|
||||
min_time = 50
|
||||
|
||||
[[blocks.segments]]
|
||||
type = "time"
|
||||
style = "plain"
|
||||
foreground = "#ed4f91"
|
||||
background = "#3a1424"
|
||||
template = "since {{ .Time }}"
|
||||
|
||||
[blocks.segments.properties]
|
||||
time_format = "%R" # Hour:Minute Format
|
||||
|
||||
[[blocks.segments]]
|
||||
type = "character"
|
||||
style = "plain"
|
||||
foreground = "#53e67a"
|
||||
template = ""
|
||||
|
||||
[blocks.segments.properties]
|
||||
success_symbol = " "
|
||||
error_symbol = " "
|
||||
vimcmd_symbol = ""
|
||||
|
||||
[[blocks]]
|
||||
alignment = "right"
|
||||
overflow = "hide"
|
||||
type = "prompt"
|
||||
|
||||
[[blocks.segments]]
|
||||
type = "node"
|
||||
style = "plain"
|
||||
foreground = "p:pistachio-green"
|
||||
template = " {{ .Full }} "
|
||||
|
||||
[[blocks.segments]]
|
||||
type = "rust"
|
||||
style = "plain"
|
||||
foreground = "p:769ff0"
|
||||
template = " {{ .Full }} "
|
||||
|
||||
[[blocks.segments]]
|
||||
type = "go"
|
||||
style = "plain"
|
||||
foreground = "p:light-sky-blue"
|
||||
template = " {{ .Full }}"
|
||||
|
||||
[[blocks.segments]]
|
||||
type = "command"
|
||||
style = "plain"
|
||||
foreground = "p:white-blue"
|
||||
|
||||
[blocks.segments.properties]
|
||||
command = "git log --pretty=format:%cr -1 || date +%H:%M:%S"
|
||||
shell = "bash"
|
||||
|
||||
[[blocks]]
|
||||
alignment = "left"
|
||||
newline = true
|
||||
type = "prompt"
|
||||
|
||||
[[blocks.segments]]
|
||||
foreground = "p:pistachio-green"
|
||||
style = "plain"
|
||||
template = ""
|
||||
type = "text"
|
||||
|
||||
[secondary_prompt]
|
||||
background = "transparent"
|
||||
foreground = "p:terminal-blue"
|
||||
template = " "
|
||||
|
||||
[transient_prompt]
|
||||
type = "status"
|
||||
background = "transparent"
|
||||
foreground = "p:terminal-blue"
|
||||
template = ""
|
124
hul10.toml
Normal file
124
hul10.toml
Normal file
|
@ -0,0 +1,124 @@
|
|||
"$schema" = "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json"
|
||||
console_title_template = "{{if .Root}}[root] {{end}}{{.Shell}} in <{{.Folder}}>"
|
||||
final_space = true
|
||||
version = 2
|
||||
|
||||
[palette]
|
||||
white = "#f7f7f7"
|
||||
black = "#111111"
|
||||
|
||||
[transient_prompt]
|
||||
foreground_templates = [
|
||||
"{{if gt .Code 0}}red{{end}}",
|
||||
"{{if eq .Code 0}}magenta{{end}}",
|
||||
]
|
||||
background = 'transparent'
|
||||
template = '❯ '
|
||||
|
||||
[[blocks]]
|
||||
type = "prompt"
|
||||
alignment = "left"
|
||||
newline = true
|
||||
|
||||
[[blocks.segments]]
|
||||
background = "transparent"
|
||||
foreground = "p:white"
|
||||
style = "plain"
|
||||
template = "┌"
|
||||
type = "text"
|
||||
|
||||
[[blocks.segments]]
|
||||
background = "#464646"
|
||||
foreground = "p:white"
|
||||
style = "plain"
|
||||
template = " {{.Icon}}{{if .WSL}} (WSL){{end}}⠀"
|
||||
type = "os"
|
||||
|
||||
[blocks.segments.properties]
|
||||
windows = ""
|
||||
linux = ""
|
||||
ubuntu = ""
|
||||
macos = ""
|
||||
|
||||
[[blocks.segments]]
|
||||
background = "p:white"
|
||||
foreground = "p:black"
|
||||
style = "plain"
|
||||
template = " {{.Name}}⠀"
|
||||
type = "shell"
|
||||
|
||||
[[blocks.segments]]
|
||||
background = "#ffe093"
|
||||
foreground = "p:black"
|
||||
style = "plain"
|
||||
template = " {{.HostName}}{{.UserName}}⠀"
|
||||
type = "session"
|
||||
|
||||
[[blocks.segments]]
|
||||
background = "#ffffd6"
|
||||
foreground = "p:black"
|
||||
style = "plain"
|
||||
template = "{{.HEAD}}⠀"
|
||||
type = "git"
|
||||
|
||||
[blocks.segments.properties]
|
||||
branch_icon = " "
|
||||
|
||||
[[blocks]]
|
||||
type = "prompt"
|
||||
alignment = "right"
|
||||
|
||||
[[blocks.segments]]
|
||||
background = "transparent"
|
||||
foreground = "#b3ffde"
|
||||
style = "plain"
|
||||
template = "{{.FormattedMs}}"
|
||||
type = "executiontime"
|
||||
|
||||
[blocks.segments.properties]
|
||||
style = "austin"
|
||||
threshold = 0
|
||||
|
||||
[[blocks.segments]]
|
||||
background = "transparent"
|
||||
foreground = "#b3ffde"
|
||||
style = "plain"
|
||||
template = "<p:white> · </>{{.CurrentDate | date .Format}}"
|
||||
type = "time"
|
||||
|
||||
[blocks.segments.properties]
|
||||
time_format = "02/01/06 15:04"
|
||||
|
||||
[[blocks]]
|
||||
type = "prompt"
|
||||
alignment = "left"
|
||||
newline = true
|
||||
|
||||
[[blocks.segments]]
|
||||
background = "transparent"
|
||||
foreground = "p:white"
|
||||
style = "plain"
|
||||
template = "<p:white>└</><#93d0ff>[</> {{.Path}} <#93d0ff>]</>"
|
||||
type = "path"
|
||||
|
||||
[blocks.segments.properties]
|
||||
folder_icon = ""
|
||||
folder_separator_template = "<#93d0ff> » </>"
|
||||
home_icon = ""
|
||||
style = "agnoster"
|
||||
|
||||
[[blocks]]
|
||||
type = "prompt"
|
||||
alignment = "left"
|
||||
newline = true
|
||||
|
||||
[[blocks.segments]]
|
||||
background = "transparent"
|
||||
foreground = "#81ff91"
|
||||
foreground_templates = [ "{{if gt .Code 0}}#ff3030{{end}}" ]
|
||||
style = "plain"
|
||||
template = "❯"
|
||||
type = "status"
|
||||
|
||||
[blocks.segments.properties]
|
||||
always_enabled = true
|
146
tokyo_storm.toml
Normal file
146
tokyo_storm.toml
Normal file
|
@ -0,0 +1,146 @@
|
|||
"$schema" = "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json"
|
||||
console_title_template = " {{ .Folder }} :: {{if .Root}}Admin{{end}}"
|
||||
final_space = true
|
||||
version = 2
|
||||
terminal_background = "p:t-background"
|
||||
|
||||
[palette]
|
||||
main-bg = "transparent"
|
||||
terminal-red = "#f7768e"
|
||||
pistachio-green = "#9ece6a"
|
||||
terminal-green = "#73daca"
|
||||
terminal-yellow = "#e0af68"
|
||||
terminal-blue = "#7aa2f7"
|
||||
celeste-blue = "#b4f9f8"
|
||||
light-sky-blue = "#7dcfff"
|
||||
terminal-white = "#c0caf5"
|
||||
white-blue = "#a9b1d6"
|
||||
blue-bell = "#9aa5ce"
|
||||
pastal-grey = "#cfc9c2"
|
||||
terminal-magenta = "#bb9af7"
|
||||
blue-black = "#565f89"
|
||||
terminal-black = "#414868"
|
||||
t-background = "p:main-bg"
|
||||
|
||||
[[blocks]]
|
||||
alignment = "left"
|
||||
type = "prompt"
|
||||
newline = true
|
||||
|
||||
[[blocks.segments]]
|
||||
type = "text"
|
||||
style = "plain"
|
||||
background = "transparent"
|
||||
foreground = "p:terminal-magenta"
|
||||
template = "➜ "
|
||||
|
||||
[[blocks.segments]]
|
||||
type = "path"
|
||||
style = "plain"
|
||||
foreground = "p:terminal-magenta"
|
||||
template = "<b>{{ .Path }}</b> <p:light-sky-blue>⚡</>"
|
||||
|
||||
[blocks.segments.properties]
|
||||
style = "folder"
|
||||
|
||||
[[blocks.segments]]
|
||||
type = "git"
|
||||
style = "plain"
|
||||
foreground = "p:light-sky-blue"
|
||||
foreground_templates = [
|
||||
"{{ if or (.Working.Changed) (.Staging.Changed) }}p:terminal-red{{ end }}",
|
||||
"{{ if and (gt .Ahead 0) (gt .Behind 0)}}p:light-sky-blue {{ end }}",
|
||||
"{{ if gt .Ahead 0 }}p:terminal-blue{{ end }}",
|
||||
"{{ if gt .Behind 0 }}p:celeste-blue{{ end }}"
|
||||
]
|
||||
template = "({{ .HEAD}})"
|
||||
|
||||
[blocks.segments.properties]
|
||||
fetch_status = true
|
||||
branch_icon = " "
|
||||
|
||||
[[blocks.segments]]
|
||||
type = "status"
|
||||
style = "plain"
|
||||
foreground = "p:terminal-red"
|
||||
template = " "
|
||||
|
||||
[[blocks]]
|
||||
alignment = "right"
|
||||
overflow = "hide"
|
||||
type = "prompt"
|
||||
|
||||
[[blocks.segments]]
|
||||
type = "node"
|
||||
style = "plain"
|
||||
foreground = "p:pistachio-green"
|
||||
template = " {{ .Full }} "
|
||||
|
||||
[[blocks.segments]]
|
||||
type = "php"
|
||||
style = "plain"
|
||||
foreground = "p:terminal-blue"
|
||||
template = " {{ .Full }} "
|
||||
|
||||
[[blocks.segments]]
|
||||
type = "python"
|
||||
style = "plain"
|
||||
foreground = "p:terminal-yellow"
|
||||
template = " {{ .Full }}"
|
||||
|
||||
[[blocks.segments]]
|
||||
type = "julia"
|
||||
style = "plain"
|
||||
foreground = "p:terminal-magenta"
|
||||
template = " {{ .Full }}"
|
||||
|
||||
[[blocks.segments]]
|
||||
type = "ruby"
|
||||
style = "plain"
|
||||
foreground = "p:terminal-red"
|
||||
template = " {{ .Full}}"
|
||||
|
||||
[[blocks.segments]]
|
||||
type = "go"
|
||||
style = "plain"
|
||||
foreground = "p:light-sky-blue"
|
||||
template = "ﳑ {{ .Full}}"
|
||||
|
||||
[[blocks.segments]]
|
||||
type = "command"
|
||||
style = "plain"
|
||||
foreground = "p:white-blue"
|
||||
|
||||
[blocks.segments.properties]
|
||||
command = "git log --pretty=format:%cr -1 || date +%H:%M:%S"
|
||||
shell = "bash"
|
||||
|
||||
[[blocks]]
|
||||
alignment = "left"
|
||||
newline = true
|
||||
type = "prompt"
|
||||
|
||||
[[blocks.segments]]
|
||||
style = "plain"
|
||||
foreground_templates = [
|
||||
"{{if gt .Code 0}}red{{end}}",
|
||||
"{{if eq .Code 0}}green{{end}}",
|
||||
]
|
||||
template = ""
|
||||
type = "text"
|
||||
newline = true
|
||||
|
||||
[secondary_prompt]
|
||||
background = "transparent"
|
||||
foreground = "p:terminal-blue"
|
||||
template = " "
|
||||
|
||||
[transient_prompt]
|
||||
type = "status"
|
||||
background = "transparent"
|
||||
foreground_templates = [
|
||||
"{{if gt .Code 0}}red{{end}}",
|
||||
"{{if eq .Code 0}}green{{end}}",
|
||||
]
|
||||
# foreground = "p:terminal-blue"
|
||||
template = ""
|
74
zen.toml
Normal file
74
zen.toml
Normal file
|
@ -0,0 +1,74 @@
|
|||
#:schema https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json
|
||||
|
||||
version = 2
|
||||
final_space = true
|
||||
console_title_template = '{{ .Shell }} in {{ .Folder }}'
|
||||
|
||||
[[blocks]]
|
||||
type = 'prompt'
|
||||
alignment = 'left'
|
||||
newline = true
|
||||
|
||||
[[blocks.segments]]
|
||||
type = 'path'
|
||||
style = 'plain'
|
||||
background = 'transparent'
|
||||
foreground = 'blue'
|
||||
template = '{{ .Path }}'
|
||||
|
||||
[blocks.segments.properties]
|
||||
style = 'full'
|
||||
|
||||
[[blocks.segments]]
|
||||
type = 'git'
|
||||
style = 'plain'
|
||||
foreground = 'p:grey'
|
||||
background = 'transparent'
|
||||
template = ' {{ .HEAD }}{{ if or (.Working.Changed) (.Staging.Changed) }}*{{ end }} <cyan>{{ if gt .Behind 0 }}⇣{{ end }}{{ if gt .Ahead 0 }}⇡{{ end }}</>'
|
||||
|
||||
[blocks.segments.properties]
|
||||
branch_icon = ''
|
||||
commit_icon = '@'
|
||||
fetch_status = true
|
||||
|
||||
[[blocks]]
|
||||
type = 'rprompt'
|
||||
overflow = 'hidden'
|
||||
|
||||
[[blocks.segments]]
|
||||
type = 'executiontime'
|
||||
style = 'plain'
|
||||
foreground = 'yellow'
|
||||
background = 'transparent'
|
||||
template = '{{ .FormattedMs }}'
|
||||
|
||||
[blocks.segments.properties]
|
||||
threshold = 5000
|
||||
|
||||
[[blocks]]
|
||||
type = 'prompt'
|
||||
alignment = 'left'
|
||||
newline = true
|
||||
|
||||
[[blocks.segments]]
|
||||
type = 'text'
|
||||
style = 'plain'
|
||||
foreground_templates = [
|
||||
"{{if gt .Code 0}}red{{end}}",
|
||||
"{{if eq .Code 0}}magenta{{end}}",
|
||||
]
|
||||
background = 'transparent'
|
||||
template = '❯'
|
||||
|
||||
[transient_prompt]
|
||||
foreground_templates = [
|
||||
"{{if gt .Code 0}}red{{end}}",
|
||||
"{{if eq .Code 0}}magenta{{end}}",
|
||||
]
|
||||
background = 'transparent'
|
||||
template = '❯ '
|
||||
|
||||
[secondary_prompt]
|
||||
foreground = 'magenta'
|
||||
background = 'transparent'
|
||||
template = '❯❯ '
|
Loading…
Add table
Add a link
Reference in a new issue