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 foreground: cyan
background: transparent background: transparent
template: " " template: " "
palette:
rosewater: '#f5e0dc'
sky: '#89dceb'
final_space: true final_space: true
blocks: blocks:
- type: prompt - type: prompt
alignment: left alignment: left
segments: segments:
# language segments
- type: python - type: python
style: plain style: plain
foreground: "yellow" foreground: "yellow"
template: " {{ .Full }} " 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 - type: git
foreground: magenta 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: properties:
branch_max_length: 25 branch_max_length: 25
fetch_stash_count: true fetch_stash_count: true