amro edited
This commit is contained in:
parent
b01002dad5
commit
a6c1e17240
1 changed files with 76 additions and 0 deletions
76
amro.toml
Normal file
76
amro.toml
Normal file
|
@ -0,0 +1,76 @@
|
|||
"$schema" = "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json"
|
||||
version = 2
|
||||
|
||||
[transient_prompt]
|
||||
foreground_templates = ["green"]
|
||||
background = 'transparent'
|
||||
template = '>'
|
||||
|
||||
# [transient_prompt]
|
||||
# foreground_templates = [
|
||||
# "{{if gt .Code 0}}red{{end}}",
|
||||
# "{{if eq .Code 0}}green{{end}}",
|
||||
# ]
|
||||
# background = 'transparent'
|
||||
# template = ''
|
||||
|
||||
[[blocks]]
|
||||
alignment = "left"
|
||||
type = "prompt"
|
||||
|
||||
[[blocks.segments]]
|
||||
foreground = "#45F1C2"
|
||||
style = "plain"
|
||||
template = " {{ .UserName }} @ {{ .HostName }} "
|
||||
type = "session"
|
||||
|
||||
[[blocks.segments]]
|
||||
foreground = "#0CA0D8"
|
||||
style = "plain"
|
||||
template = " {{ .Path }} "
|
||||
type = "path"
|
||||
|
||||
[blocks.segments.properties]
|
||||
folder_separator_icon = "/"
|
||||
style = "full"
|
||||
|
||||
[[blocks.segments]]
|
||||
foreground = "#14A5AE"
|
||||
powerline_symbol = ""
|
||||
style = "plain"
|
||||
# template = "{{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} {{ .StashCount }}{{ end }} "
|
||||
template = ' {{ .HEAD }}{{ if or (.Working.Changed) (.Staging.Changed) }}*{{ end }} <cyan>{{ if gt .Behind 0 }}⇣{{ end }}{{ if gt .Ahead 0 }}⇡{{ end }}</>'
|
||||
type = "git"
|
||||
|
||||
[blocks.segments.properties]
|
||||
fetch_stash_count = true
|
||||
fetch_upstream_icon = true
|
||||
|
||||
[[blocks]]
|
||||
alignment = "left"
|
||||
newline = true
|
||||
type = "prompt"
|
||||
|
||||
[[blocks.segments]]
|
||||
foreground = "#cd5e42"
|
||||
style = "plain"
|
||||
template = " "
|
||||
type = "root"
|
||||
|
||||
|
||||
[[blocks.segments]]
|
||||
foreground = "#CD4277"
|
||||
style = "plain"
|
||||
template = "# "
|
||||
type = "text"
|
||||
|
||||
# [transient_prompt]
|
||||
# type = "status"
|
||||
# background = "transparent"
|
||||
# foreground_templates = [
|
||||
# "{{if gt .Code 0}}red{{end}}",
|
||||
# "{{if eq .Code 0}}green{{end}}",
|
||||
# ]
|
||||
# template = ""
|
||||
# # foreground = "p:terminal-blue"
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue