73 lines
1.7 KiB
TOML
73 lines
1.7 KiB
TOML
version = 3
|
|
final_space = true
|
|
|
|
[transient_prompt]
|
|
template = ' '
|
|
foreground = '#f9e2af'
|
|
background = 'transparent'
|
|
|
|
[[blocks]]
|
|
type = 'prompt'
|
|
alignment = 'left'
|
|
newline = true
|
|
|
|
[[blocks.segments]]
|
|
template = '{{ if .Root }}root{{ else }}{{ .UserName }}{{ end }}@{{ .HostName }} '
|
|
foreground = '#cba6f7'
|
|
type = 'session'
|
|
style = 'plain'
|
|
|
|
[blocks.segments.properties]
|
|
cache_duration = 'none'
|
|
|
|
[[blocks.segments]]
|
|
template = '{{ if ne .Type "unknown" }} {{ end }}'
|
|
foreground = '#89b4fa'
|
|
type = 'nix-shell'
|
|
style = 'plain'
|
|
|
|
[blocks.segments.properties]
|
|
cache_duration = 'none'
|
|
|
|
[[blocks.segments]]
|
|
template = 'in'
|
|
foreground = '#585b70'
|
|
type = 'text'
|
|
style = 'plain'
|
|
|
|
[blocks.segments.properties]
|
|
cache_duration = 'none'
|
|
|
|
[[blocks.segments]]
|
|
foreground = '#89dceb'
|
|
type = 'path'
|
|
style = 'powerline'
|
|
|
|
[blocks.segments.properties]
|
|
cache_duration = 'none'
|
|
style = 'full'
|
|
|
|
[[blocks.segments]]
|
|
template = '{{if .UpstreamIcon}}{{ .UpstreamIcon }} {{end}}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} {{ .StashCount }}{{ end }}'
|
|
foreground = '#585b70'
|
|
type = 'git'
|
|
style = 'plain'
|
|
|
|
[blocks.segments.properties]
|
|
fetch_upstream_icon = true
|
|
fetch_status = true
|
|
|
|
[[blocks]]
|
|
type = 'prompt'
|
|
alignment = 'left'
|
|
newline = true
|
|
|
|
[[blocks.segments]]
|
|
template = ''
|
|
foreground = '#f9e2af'
|
|
type = 'text'
|
|
style = 'plain'
|
|
|
|
[blocks.segments.properties]
|
|
cache_duration = 'none'
|