83 lines
1.9 KiB
TOML
83 lines
1.9 KiB
TOML
"$schema" = "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json"
|
||
console_title_template = "{{ .Folder }}"
|
||
version = 2
|
||
|
||
[[blocks]]
|
||
type = "prompt"
|
||
alignment = "right"
|
||
overflow = "hide"
|
||
|
||
[[blocks.segments]]
|
||
type = "executiontime"
|
||
style = "powerline"
|
||
foreground = "#a9ffb4"
|
||
template = " {{ .FormattedMs }}s <#ffffff></>"
|
||
|
||
[blocks.segments.properties]
|
||
threshold = 0
|
||
style = "dallas"
|
||
|
||
[[blocks.segments]]
|
||
type = "node"
|
||
style = "powerline"
|
||
foreground = "#45bf17"
|
||
template = " {{ .Full }} "
|
||
|
||
[[blocks.segments]]
|
||
type = "npm"
|
||
style = "powerline"
|
||
foreground = "#FE4A49"
|
||
template = "<#F3EFF5>and</> {{ .Full }} "
|
||
|
||
[[blocks]]
|
||
type = "prompt"
|
||
alignment = "left"
|
||
newline = true
|
||
overflow = "break"
|
||
|
||
[[blocks.segments]]
|
||
type = "path"
|
||
style = "powerline"
|
||
foreground = "#ffafd2"
|
||
template = " {{ .Path }} "
|
||
|
||
[blocks.segments.properties]
|
||
style = "agnoster_full"
|
||
home_icon = "home"
|
||
folder_icon = ""
|
||
folder_separator_icon = " ❯ "
|
||
|
||
[[blocks.segments]]
|
||
type = "git"
|
||
style = "plain"
|
||
foreground = "#1ea54c"
|
||
foreground_templates = [
|
||
"{{ if or (.Working.Changed) (.Staging.Changed) }}#a51e42{{ end }}",
|
||
"{{ if and (gt .Ahead 0) (gt .Behind 0)}}#1e62a5{{ end }}",
|
||
"{{ if gt .Ahead 0 }}#e3dd47{{ end }}",
|
||
"{{ if gt .Behind 0 }}#1e62a5{{ end }}"
|
||
]
|
||
template = '({{ .HEAD }}{{ if or (.Working.Changed) (.Staging.Changed) }}*{{ end }} <#1ea54c>{{ if gt .Behind 0 }}⇣{{ end }}{{ if gt .Ahead 0 }}⇡{{ end }}</>)'
|
||
|
||
[blocks.segments.properties]
|
||
fetch_status = true
|
||
branch_icon = " "
|
||
|
||
[[blocks]]
|
||
alignment = "left"
|
||
newline = true
|
||
type = "prompt"
|
||
|
||
[[blocks.segments]]
|
||
type = "status"
|
||
style = "diamond"
|
||
foreground = "#00c7fc"
|
||
template = "<#00c7fc>❯</>_: "
|
||
|
||
[blocks.segments.properties]
|
||
always_enabled = true
|
||
|
||
[transient_prompt]
|
||
background = "transparent"
|
||
foreground = "#FEF5ED"
|
||
template = "{{ .Shell }}"
|