more omp vibes

This commit is contained in:
Daylin Morgan 2024-06-11 11:57:40 -05:00
parent 5e9ccc05c3
commit e33566ffad
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -4,22 +4,39 @@ transient_prompt:
foreground: cyan
background: transparent
template: " "
palette:
rosewater: '#f5e0dc'
sky: '#89dceb'
final_space: true
blocks:
- type: prompt
alignment: left
segments:
# language segments
- type: python
style: plain
foreground: "yellow"
template: " {{ .Full }} "
- type: go
style: plain
foreground: "cyan"
template: " {{ .Full }} "
- type: rust
style: plain
foreground: "red"
template: " {{ .Full }} "
- type: node
style: plain
foreground: "p:sky"
template: " {{ .Full }} "
- type: project
style: plain
foreground: "p:rosewater"
template: >
{{ if .Error }}{{ .Error }}{{ else }}{{ if .Version }}
{{.Version}}{{ end }}{{ if .Name }}{{ .Name }} {{ end }}{{ end -}}
- type: git
foreground: magenta
# foreground_templates:
# - '{{ if or (.Working.Changed) (.Staging.Changed) }}#FF9248{{ end }}'
# - '{{ if and (gt .Ahead 0) (gt .Behind 0) }}#ff4500{{ end }}'
# - '{{ if gt .Ahead 0 }}#B388FF{{ end }}'
# - '{{ if gt .Behind 0 }}#B388FF{{ end }}'
properties:
branch_max_length: 25
fetch_stash_count: true