new version i guess

This commit is contained in:
pik4li 2024-12-25 10:16:24 +01:00
parent 9ea122f0dd
commit 5cf9b70cb0

299
amro.toml
View file

@ -1,172 +1,191 @@
#"$schema" = "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json" console_title_template = ' {{ .Folder }} :: {{if .Root}}Admin{{end}}'
version = 2 version = 3
final_space = true final_space = true
console_title_template = " {{ .Folder }} :: {{if .Root}}Admin{{end}}"
[palette] [palette]
main-bg = "transparent" blue-bell = '#9aa5ce'
terminal-red = "#f7768e" blue-black = '#565f89'
cherry-red = "#562d38" celeste-blue = '#b4f9f8'
pistachio-green = "#9ece6a" cherry-red = '#562d38'
terminal-green = "#73daca" light-sky-blue = '#7dcfff'
terminal-yellow = "#e0af68" main-bg = 'transparent'
terminal-blue = "#7aa2f7" pastal-grey = '#cfc9c2'
celeste-blue = "#b4f9f8" pistachio-green = '#9ece6a'
light-sky-blue = "#7dcfff" t-background = 'p:main-bg'
terminal-white = "#c0caf5" terminal-black = '#414868'
white-blue = "#a9b1d6" terminal-blue = '#7aa2f7'
blue-bell = "#9aa5ce" terminal-green = '#73daca'
pastal-grey = "#cfc9c2" terminal-magenta = '#bb9af7'
terminal-magenta = "#bb9af7" terminal-red = '#f7768e'
blue-black = "#565f89" terminal-white = '#c0caf5'
terminal-black = "#414868" terminal-yellow = '#e0af68'
t-background = "p:main-bg" white-blue = '#a9b1d6'
[secondary_prompt]
template = ''
foreground = 'p:terminal-blue'
background = 'transparent'
[transient_prompt]
template = ''
background = 'transparent'
type = 'status'
foreground_templates = ['{{if gt .Code 0}}terminal-red{{end}}', '{{if eq .Code 0}}p:pistachio-green{{end}}']
[[blocks]] [[blocks]]
type = 'prompt'
alignment = 'left'
newline = true newline = true
alignment = "left"
type = "prompt"
[[blocks.segments]] [[blocks.segments]]
foreground = "p:terminal-magenta" template = ' {{ .UserName }}'
foreground_templates = [ foreground = 'p:terminal-magenta'
"{{if .SSHSession }}p:terminal-red{{end}}", type = 'session'
] style = 'plain'
style = "plain" foreground_templates = ['{{if .SSHSession }}p:terminal-red{{end}}']
template = " {{ .UserName }}"
type = "session"
[[blocks.segments]]
foreground = "p:terminal-black"
foreground_templates = [
"{{if .SSHSession }}p:cherry-red{{end}}",
]
style = "plain"
template = "󰁥 "
type = "session"
[[blocks.segments]]
foreground = "p:terminal-magenta"
foreground_templates = [
"{{if .SSHSession }}p:terminal-red{{end}}",
]
style = "plain"
template = " {{ .HostName }} "
type = "session"
[[blocks]]
newline = true
alignment = "left"
type = "prompt"
[[blocks.segments]]
foreground = "p:blue-black"
style = "plain"
template = " {{ .Path }} "
type = "path"
[blocks.segments.properties] [blocks.segments.properties]
folder_separator_icon = "/" cache_duration = 'none'
style = "full"
[[blocks.segments]]
template = '󰁥 '
foreground = 'p:terminal-black'
type = 'session'
style = 'plain'
foreground_templates = ['{{if .SSHSession }}p:cherry-red{{end}}']
[blocks.segments.properties]
cache_duration = 'none'
[[blocks.segments]]
template = ' {{ .HostName }} '
foreground = 'p:terminal-magenta'
type = 'session'
style = 'plain'
foreground_templates = ['{{if .SSHSession }}p:terminal-red{{end}}']
[blocks.segments.properties]
cache_duration = 'none'
[[blocks]]
type = 'prompt'
alignment = 'left'
newline = true
[[blocks.segments]]
template = ' {{ .Path }} '
foreground = 'p:blue-black'
type = 'path'
style = 'plain'
[blocks.segments.properties]
cache_duration = 'none'
folder_separator_icon = '/'
style = 'full'
[[blocks.segments]] [[blocks.segments]]
type = "git"
style = "plain"
foreground = "p:pistachio-green"
foreground_templates = [
"{{ if or (.Working.Changed) (.Staging.Changed) }}p:terminal-red{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0)}}p:light-sky-blue {{ end }}",
"{{ if gt .Ahead 0 }}p:terminal-yellow{{ end }}",
"{{ if gt .Behind 0 }}p:celeste-blue{{ end }}"
]
template = '({{ .HEAD }}{{ if or (.Working.Changed) (.Staging.Changed) }}*{{ end }} <p:pistachio-green>{{ if gt .Behind 0 }}⇣{{ end }}{{ if gt .Ahead 0 }}⇡{{ end }}</>)' template = '({{ .HEAD }}{{ if or (.Working.Changed) (.Staging.Changed) }}*{{ end }} <p:pistachio-green>{{ if gt .Behind 0 }}⇣{{ end }}{{ if gt .Ahead 0 }}⇡{{ end }}</>)'
foreground = 'p:pistachio-green'
type = 'git'
style = 'plain'
foreground_templates = ['{{ if or (.Working.Changed) (.Staging.Changed) }}p:terminal-red{{ end }}', '{{ if and (gt .Ahead 0) (gt .Behind 0)}}p:light-sky-blue {{ end }}', '{{ if gt .Ahead 0 }}p:terminal-yellow{{ end }}', '{{ if gt .Behind 0 }}p:celeste-blue{{ end }}']
[blocks.segments.properties] [blocks.segments.properties]
branch_icon = ' '
cache_duration = 'none'
fetch_status = true fetch_status = true
branch_icon = " "
[[blocks.segments]] [[blocks.segments]]
type = "status" template = ' '
style = "plain" foreground = 'p:terminal-red'
foreground = "p:terminal-red" type = 'status'
template = " " style = 'plain'
[blocks.segments.properties] [blocks.segments.properties]
cache_duration = 'none'
fetch_stash_count = true fetch_stash_count = true
fetch_upstream_icon = true fetch_upstream_icon = true
[[blocks]] [[blocks]]
alignment = "right" type = 'prompt'
overflow = "hide" alignment = 'right'
type = "prompt" overflow = 'hide'
[[blocks.segments]] [[blocks.segments]]
type = "node" template = ' {{ .Full }} '
style = "plain" foreground = 'p:pistachio-green'
foreground = "p:pistachio-green" type = 'node'
template = " {{ .Full }} " style = 'plain'
[[blocks.segments]]
type = "php"
style = "plain"
foreground = "p:terminal-blue"
template = " {{ .Full }} "
[[blocks.segments]]
type = "python"
style = "plain"
foreground = "p:terminal-yellow"
template = " {{ .Full }}"
[[blocks.segments]]
type = "julia"
style = "plain"
foreground = "p:terminal-magenta"
template = " {{ .Full }}"
[[blocks.segments]]
type = "ruby"
style = "plain"
foreground = "p:terminal-red"
template = " {{ .Full}}"
[[blocks.segments]]
type = "go"
style = "plain"
foreground = "p:light-sky-blue"
template = "ﳑ {{ .Full}}"
[[blocks.segments]]
type = "command"
style = "plain"
foreground = "p:white-blue"
[blocks.segments.properties] [blocks.segments.properties]
command = "git log --pretty=format:%cr -1 || date +%H:%M:%S" cache_duration = 'none'
shell = "bash"
[[blocks]]
alignment = "left"
newline = true
type = "prompt"
[[blocks.segments]] [[blocks.segments]]
style = "plain" template = ' {{ .Full }} '
foreground_templates = [ foreground = 'p:terminal-blue'
"{{if gt .Code 0}}p:terminal-red{{end}}", type = 'php'
"{{if eq .Code 0}}p:pistachio-green{{end}}", style = 'plain'
]
template = "" [blocks.segments.properties]
type = "text" cache_duration = 'none'
[[blocks.segments]]
template = ' {{ .Full }}'
foreground = 'p:terminal-yellow'
type = 'python'
style = 'plain'
[blocks.segments.properties]
cache_duration = 'none'
[[blocks.segments]]
template = ' {{ .Full }}'
foreground = 'p:terminal-magenta'
type = 'julia'
style = 'plain'
[blocks.segments.properties]
cache_duration = 'none'
[[blocks.segments]]
template = ' {{ .Full}}'
foreground = 'p:terminal-red'
type = 'ruby'
style = 'plain'
[blocks.segments.properties]
cache_duration = 'none'
[[blocks.segments]]
template = 'ﳑ {{ .Full}}'
foreground = 'p:light-sky-blue'
type = 'go'
style = 'plain'
[blocks.segments.properties]
cache_duration = 'none'
[[blocks.segments]]
foreground = 'p:white-blue'
type = 'command'
style = 'plain'
[blocks.segments.properties]
cache_duration = 'none'
command = 'git log --pretty=format:%cr -1 || date +%H:%M:%S'
shell = 'bash'
[[blocks]]
type = 'prompt'
alignment = 'left'
newline = true newline = true
[secondary_prompt] [[blocks.segments]]
background = "transparent" template = ''
foreground = "p:terminal-blue" type = 'text'
template = "" style = 'plain'
foreground_templates = ['{{if gt .Code 0}}p:terminal-red{{end}}', '{{if eq .Code 0}}p:pistachio-green{{end}}']
newline = true
[transient_prompt] [blocks.segments.properties]
type = "status" cache_duration = 'none'
background = "transparent"
foreground_templates = [
"{{if gt .Code 0}}terminal-red{{end}}",
"{{if eq .Code 0}}p:pistachio-green{{end}}",
]
# foreground = "p:terminal-blue"
template = ""