wip
This commit is contained in:
parent
383e35c14a
commit
72117ea3ec
1 changed files with 21 additions and 7 deletions
28
.omp.toml
28
.omp.toml
|
@ -2,13 +2,19 @@
|
||||||
final_space = true
|
final_space = true
|
||||||
version = 3
|
version = 3
|
||||||
|
|
||||||
|
[transient_prompt]
|
||||||
|
template = '❯❯ '
|
||||||
|
background = 'transparent'
|
||||||
|
foreground_templates = ['{{if gt .Code 0}}#d04a39{{end}}', '{{if eq .Code 0}}#b5daa4{{end}}']
|
||||||
|
newline = true
|
||||||
|
|
||||||
[[blocks]]
|
[[blocks]]
|
||||||
alignment = "left"
|
alignment = "left"
|
||||||
newline = true
|
newline = true
|
||||||
type = "prompt"
|
type = "prompt"
|
||||||
|
|
||||||
[[blocks.segments]]
|
[[blocks.segments]]
|
||||||
foreground = "#E5C07B"
|
foreground = "#fc71a7"
|
||||||
style = "plain"
|
style = "plain"
|
||||||
template = "[{{ .CurrentDate | date .Format }}]"
|
template = "[{{ .CurrentDate | date .Format }}]"
|
||||||
type = "time"
|
type = "time"
|
||||||
|
@ -16,10 +22,18 @@ type = "prompt"
|
||||||
[blocks.segments.properties]
|
[blocks.segments.properties]
|
||||||
time_format = "15:04"
|
time_format = "15:04"
|
||||||
|
|
||||||
|
# [[blocks.segments]]
|
||||||
|
# # background = "#2e2e4e" # Muted indigo blue
|
||||||
|
# foreground = "#B388FF"
|
||||||
|
# style = "plain"
|
||||||
|
# type = "session"
|
||||||
|
# template = '{{ .UserName }}{{if .SSHSession }}@{{ .HostName }}{{ end }}'
|
||||||
|
# # background_templates = ['{{if .SSHSession }}#522a27{{end}}']
|
||||||
|
|
||||||
[[blocks.segments]]
|
[[blocks.segments]]
|
||||||
type = "shell"
|
type = "shell"
|
||||||
style = "plain"
|
style = "plain"
|
||||||
foreground = "#E06C75"
|
foreground = "#6c5dbe"
|
||||||
template = " {{ .Name }}"
|
template = " {{ .Name }}"
|
||||||
|
|
||||||
[blocks.segments.properties.mapped_shell_names]
|
[blocks.segments.properties.mapped_shell_names]
|
||||||
|
@ -29,10 +43,10 @@ cmd = "Cmd"
|
||||||
bash = "Bash"
|
bash = "Bash"
|
||||||
|
|
||||||
[[blocks.segments]]
|
[[blocks.segments]]
|
||||||
foreground = "#F3C267"
|
foreground = "#b5daa4"
|
||||||
foreground_templates = [
|
foreground_templates = [
|
||||||
"{{ if or (.Working.Changed) (.Staging.Changed) }}#FF9248{{ end }}",
|
"{{ if or (.Working.Changed) (.Staging.Changed) }}#f7c5a1{{ end }}",
|
||||||
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#ff4500{{ end }}",
|
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#d04a39{{ end }}",
|
||||||
"{{ if gt .Ahead 0 }}#B388FF{{ end }}",
|
"{{ if gt .Ahead 0 }}#B388FF{{ end }}",
|
||||||
"{{ if gt .Behind 0 }}#B388FF{{ end }}"
|
"{{ if gt .Behind 0 }}#B388FF{{ end }}"
|
||||||
]
|
]
|
||||||
|
@ -74,7 +88,7 @@ newline = true
|
||||||
type = "prompt"
|
type = "prompt"
|
||||||
|
|
||||||
[[blocks.segments]]
|
[[blocks.segments]]
|
||||||
foreground = "#61AFEF"
|
foreground = "#60f2f2"
|
||||||
style = "plain"
|
style = "plain"
|
||||||
template = " {{ .Path }}"
|
template = " {{ .Path }}"
|
||||||
type = "path"
|
type = "path"
|
||||||
|
@ -94,7 +108,7 @@ type = "prompt"
|
||||||
type = "root"
|
type = "root"
|
||||||
|
|
||||||
[[blocks.segments]]
|
[[blocks.segments]]
|
||||||
foreground = "#E06C75"
|
foreground = "#6c5dbe"
|
||||||
style = "plain"
|
style = "plain"
|
||||||
template = "❯"
|
template = "❯"
|
||||||
type = "text"
|
type = "text"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue