From a6c1e17240eb4df4f7ec7937c61ccfc045db35e6 Mon Sep 17 00:00:00 2001 From: pika Date: Fri, 16 Aug 2024 18:52:57 +0200 Subject: [PATCH] amro edited --- amro.toml | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 amro.toml diff --git a/amro.toml b/amro.toml new file mode 100644 index 0000000..9f0deb2 --- /dev/null +++ b/amro.toml @@ -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 }} {{ 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" +