From 86db860fe6bc49d364f9fc176ac15c18132b1013 Mon Sep 17 00:00:00 2001 From: Jan De Dobbeleer Date: Thu, 3 Feb 2022 10:22:57 +0100 Subject: [PATCH] theme: migrate all --- .gitignore | 2 + themes/M365Princess.omp.json | 106 +++-- themes/agnoster.omp.json | 101 ++--- themes/agnosterplus.omp.json | 71 ++-- themes/aliens.omp.json | 73 ++-- themes/amro.omp.json | 60 ++- themes/atomic.omp.json | 366 +++++++++--------- themes/atomicBit.omp.json | 240 ++++++------ themes/avit.omp.json | 55 +-- themes/blue-owl.omp.json | 169 ++++---- themes/blueish.omp.json | 146 +++---- themes/bubbles.omp.json | 213 +++++----- themes/bubblesline.omp.json | 185 +++++---- themes/capr4n.omp.json | 82 ++-- themes/cert.omp.json | 62 +-- themes/cinnamon.omp.json | 130 ++++--- themes/clean-detailed.omp.json | 302 +++++++-------- themes/cloud-native-azure.omp.json | 132 ++++--- themes/craver.omp.json | 199 +++++----- themes/darkblood.omp.json | 59 ++- themes/emodipt.omp.json | 63 +-- themes/festivetech.omp.json | 128 +++--- themes/fish.omp.json | 65 ++-- themes/gmay.omp.json | 140 +++---- themes/grandpa-style.omp.json | 253 ++++++------ themes/half-life.omp.json | 58 ++- themes/honukai.omp.json | 88 +++-- themes/hotstick.minimal.omp.json | 75 ++-- themes/hunk.omp.json | 174 ++++----- themes/huvix.omp.json | 163 ++++---- themes/iterm2.omp.json | 156 ++++---- themes/jandedobbeleer.omp.json | 289 +++++++------- themes/jblab_2021.omp.json | 67 ++-- themes/jonnychipz.omp.json | 182 +++++---- themes/jtracey93.omp.json | 31 +- themes/jv_sitecorian.omp.json | 246 ++++++------ themes/lambda.omp.json | 34 +- themes/larserikfinholt.omp.json | 110 +++--- themes/marcduiker.omp.json | 38 +- themes/markbull.omp.json | 171 ++++----- themes/material.omp.json | 52 ++- themes/microverse-power.omp.json | 117 +++--- themes/mojada.omp.json | 167 ++++---- themes/mt.omp.json | 96 +++-- themes/negligible.omp.json | 112 +++--- themes/night-owl.omp.json | 534 +++++++++++++------------- themes/nordtron.omp.json | 105 +++-- themes/nu4a.omp.json | 102 ++--- themes/paradox.omp.json | 111 +++--- themes/pararussel.omp.json | 70 ++-- themes/patriksvensson.omp.json | 81 ++-- themes/pixelrobots.omp.json | 151 ++++---- themes/plague.omp.json | 112 +++--- themes/powerlevel10k_classic.omp.json | 112 +++--- themes/powerlevel10k_lean.omp.json | 48 +-- themes/powerlevel10k_modern.omp.json | 137 +++---- themes/powerlevel10k_rainbow.omp.json | 263 ++++++------- themes/powerline.omp.json | 87 +++-- themes/pure.omp.json | 85 ++-- themes/remk.omp.json | 67 ++-- themes/robbyrussel.omp.json | 45 +-- themes/rudolfs-dark.omp.json | 73 ++-- themes/rudolfs-light.omp.json | 61 ++- themes/slim.omp.json | 210 +++++----- themes/slimfat.omp.json | 204 +++++----- themes/smoothie.omp.json | 146 ++++--- themes/sonicboom_dark.omp.json | 248 ++++++------ themes/sonicboom_light.omp.json | 248 ++++++------ themes/sorin.omp.json | 65 ++-- themes/space.omp.json | 115 +++--- themes/spaceship.omp.json | 60 ++- themes/star.omp.json | 64 ++- themes/stelbent.minimal.omp.json | 126 +++--- themes/thecyberden.omp.json | 215 +++++------ themes/tonybaloney.omp.json | 35 +- themes/unicorn.omp.json | 112 +++--- themes/wopian.omp.json | 109 +++--- themes/xtoys.omp.json | 55 ++- themes/ys.omp.json | 99 +++-- themes/zash.omp.json | 53 ++- 80 files changed, 5003 insertions(+), 5233 deletions(-) diff --git a/.gitignore b/.gitignore index 7cb964d3..6b984ef7 100644 --- a/.gitignore +++ b/.gitignore @@ -239,3 +239,5 @@ $RECYCLE.BIN/ # Keys cosign.key + +*.omp.json.bak diff --git a/themes/M365Princess.omp.json b/themes/M365Princess.omp.json index 7262353c..7d7420a4 100644 --- a/themes/M365Princess.omp.json +++ b/themes/M365Princess.omp.json @@ -1,71 +1,69 @@ { "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", - "final_space": true, "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "session", - "style": "diamond", - "foreground": "#ffffff", "background": "#9A348E", - "leading_diamond": "\uE0B6", - "trailing_diamond": "", - "properties": { - "prefix": "", - "template": "{{ .UserName }}" - } - }, - { - "type": "path", - "style": "powerline", - "powerline_symbol": "\uE0B0", "foreground": "#ffffff", - "background": "#DA627D", + "leading_diamond": "\ue0b6", "properties": { - "style": "folder" - } - }, - { - "type": "git", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#ffffff", - "background": "#FCA17D", - "properties": { - "fetch_stash_count": true, - "fetch_upstream_icon": true, - "branch_icon": "", - "fetch_status": false, - "template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}", - "prefix": " \u279C (", - "postfix": ") " - } - }, - { - "type": "node", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#ffffff", - "background": "#86BBD8", - "properties": { - "prefix": " \uE718 " - } - }, - { - "type": "time", + "template": "{{ .UserName }} " + }, "style": "diamond", - "trailing_diamond": "\uE0B0", + "type": "session" + }, + { + "background": "#DA627D", "foreground": "#ffffff", - "background": "#33658A", + "powerline_symbol": "\ue0b0", "properties": { - "prefix": " \u2665 ", + "style": "folder", + "template": " {{ .Path }} " + }, + "style": "powerline", + "type": "path" + }, + { + "background": "#FCA17D", + "foreground": "#ffffff", + "powerline_symbol": "\ue0b0", + "properties": { + "branch_icon": "", + "fetch_stash_count": true, + "fetch_status": false, + "fetch_upstream_icon": true, + "template": " \u279c ({{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }}) " + }, + "style": "powerline", + "type": "git" + }, + { + "background": "#86BBD8", + "foreground": "#ffffff", + "powerline_symbol": "\ue0b0", + "properties": { + "template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} " + }, + "style": "powerline", + "type": "node" + }, + { + "background": "#33658A", + "foreground": "#ffffff", + "properties": { + "template": " \u2665 {{ .CurrentDate | date .Format }} ", "time_format": "15:04" - } + }, + "style": "diamond", + "trailing_diamond": "\ue0b0", + "type": "time" } - ] + ], + "type": "prompt" } - ] + ], + "final_space": true, + "version": 1 } diff --git a/themes/agnoster.omp.json b/themes/agnoster.omp.json index 77b718a1..ab888ba4 100644 --- a/themes/agnoster.omp.json +++ b/themes/agnoster.omp.json @@ -2,71 +2,76 @@ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "root", - "style": "powerline", - "powerline_symbol": "\uE0B0", + "background": "#ffe9aa", "foreground": "#100e23", - "background": "#ffe9aa" + "powerline_symbol": "\ue0b0", + "properties": { + "template": " \uf0e7 " + }, + "style": "powerline", + "type": "root" }, { - "type": "session", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#100e23", "background": "#ffffff", + "foreground": "#100e23", + "powerline_symbol": "\ue0b0", "properties": { - "template": "{{ .UserName }}@{{ .HostName }}" - } + "template": " {{ .UserName }}@{{ .HostName }} " + }, + "style": "powerline", + "type": "session" }, { - "type": "path", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#100e23", "background": "#91ddff", - "properties": { - "home_icon": "\uF7DB", - "folder_icon": "\uF115", - "folder_separator_icon": " \uE0B1 ", - "style": "agnoster" - } - }, - { - "type": "git", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#193549", - "background": "#95ffa4", - "properties": { - "template": "{{ .HEAD }}" - } - }, - { - "type": "python", - "style": "powerline", - "powerline_symbol": "\uE0B0", "foreground": "#100e23", - "background": "#906cff", + "powerline_symbol": "\ue0b0", "properties": { - "prefix": " \uE235 " - } + "folder_icon": "\uf115", + "folder_separator_icon": " \ue0b1 ", + "home_icon": "\uf7db", + "style": "agnoster", + "template": " {{ .Path }} " + }, + "style": "powerline", + "type": "path" }, { - "type": "exit", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#ffffff", - "background": "#ff8080", + "background": "#95ffa4", + "foreground": "#193549", + "powerline_symbol": "\ue0b0", "properties": { - "template": "{{ .Text }}" - } + "template": " {{ .HEAD }} " + }, + "style": "powerline", + "type": "git" + }, + { + "background": "#906cff", + "foreground": "#100e23", + "powerline_symbol": "\ue0b0", + "properties": { + "template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} " + }, + "style": "powerline", + "type": "python" + }, + { + "background": "#ff8080", + "foreground": "#ffffff", + "powerline_symbol": "\ue0b0", + "properties": { + "template": " {{ .Text }} " + }, + "style": "powerline", + "type": "exit" } - ] + ], + "type": "prompt" } ], - "final_space": true + "final_space": true, + "version": 1 } diff --git a/themes/agnosterplus.omp.json b/themes/agnosterplus.omp.json index de339cf8..6d1b0254 100644 --- a/themes/agnosterplus.omp.json +++ b/themes/agnosterplus.omp.json @@ -2,60 +2,63 @@ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { - "type": "prompt", "alignment": "right", - "vertical_offset": -1, "segments": [ { - "type": "time", - "style": "plain", "foreground": "#007ACC", "properties": { + "template": " {{ .CurrentDate | date .Format }} ", "time_format": "15:04:05" - } + }, + "style": "plain", + "type": "time" } - ] + ], + "type": "prompt", + "vertical_offset": -1 }, { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "session", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#100e23", "background": "#ffffff", - "properties": { - "template": "{{ .UserName }}@{{ .HostName }}" - } - }, - { - "type": "path", - "style": "powerline", - "powerline_symbol": "\uE0B0", "foreground": "#100e23", - "background": "#91ddff", + "powerline_symbol": "\ue0b0", "properties": { - "home_icon": "\uF7DB", - "folder_icon": "\uF115", - "folder_separator_icon": " \uE0B1 ", - "style": "agnoster" - } + "template": " {{ .UserName }}@{{ .HostName }} " + }, + "style": "powerline", + "type": "session" }, { - "type": "git", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#193549", - "background": "#95ffa4", + "background": "#91ddff", + "foreground": "#100e23", + "powerline_symbol": "\ue0b0", "properties": { - "template": "{{ .HEAD }}" - } + "folder_icon": "\uf115", + "folder_separator_icon": " \ue0b1 ", + "home_icon": "\uf7db", + "style": "agnoster", + "template": " {{ .Path }} " + }, + "style": "powerline", + "type": "path" + }, + { + "background": "#95ffa4", + "foreground": "#193549", + "powerline_symbol": "\ue0b0", + "properties": { + "template": " {{ .HEAD }} " + }, + "style": "powerline", + "type": "git" } - ] + ], + "type": "prompt" } ], - "final_space": true + "final_space": true, + "version": 1 } diff --git a/themes/aliens.omp.json b/themes/aliens.omp.json index 55e2ee7b..cd977c5f 100644 --- a/themes/aliens.omp.json +++ b/themes/aliens.omp.json @@ -2,50 +2,55 @@ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "session", - "style": "diamond", - "foreground": "#ffffff", "background": "#61AFEF", - "leading_diamond": "\uE0B6", - "trailing_diamond": "\uE0B0", - "properties": { - "template": "{{ .UserName }}@{{ .HostName }}" - } - }, - { - "type": "path", - "style": "powerline", - "powerline_symbol": "\uE0B0", "foreground": "#ffffff", - "background": "#C678DD", + "leading_diamond": "\ue0b6", "properties": { - "style": "full" - } - }, - { - "type": "git", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#193549", - "background": "#95ffa4", - "properties": { - "template": "{{ .HEAD }}" - } - }, - { - "type": "python", + "template": " {{ .UserName }}@{{ .HostName }} " + }, "style": "diamond", + "trailing_diamond": "\ue0b0", + "type": "session" + }, + { + "background": "#C678DD", "foreground": "#ffffff", + "powerline_symbol": "\ue0b0", + "properties": { + "style": "full", + "template": " {{ .Path }} " + }, + "style": "powerline", + "type": "path" + }, + { + "background": "#95ffa4", + "foreground": "#193549", + "powerline_symbol": "\ue0b0", + "properties": { + "template": " {{ .HEAD }} " + }, + "style": "powerline", + "type": "git" + }, + { "background": "#FF6471", - "leading_diamond": "\uE0B0", - "trailing_diamond": "\uE0B4" + "foreground": "#ffffff", + "leading_diamond": "\ue0b0", + "properties": { + "template": " {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} " + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "python" } - ] + ], + "type": "prompt" } ], - "final_space": true + "final_space": true, + "version": 1 } diff --git a/themes/amro.omp.json b/themes/amro.omp.json index ac035112..f6dd72c3 100644 --- a/themes/amro.omp.json +++ b/themes/amro.omp.json @@ -2,67 +2,63 @@ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "session", - "style": "plain", "foreground": "#45F1C2", "properties": { - "prefix": "\uf508 ", - "postfix": " on", - "template": "{{ .UserName }}" - } + "template": "\uf508 {{ .UserName }} on" + }, + "style": "plain", + "type": "session" }, { - "type": "path", - "style": "plain", "foreground": "#0CA0D8", "properties": { + "folder_separator_icon": "/", "style": "full", - "prefix": " \uf07b ", - "folder_separator_icon": "/" - } + "template": " \uf07b {{ .Path }} " + }, + "style": "plain", + "type": "path" }, { - "type": "git", - "style": "plain", - "powerline_symbol": "\uE0B0", "foreground": "#14A5AE", + "powerline_symbol": "\ue0b0", "properties": { "fetch_stash_count": true, "fetch_upstream_icon": true, - "prefix": "", - "template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}" - } + "template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} " + }, + "style": "plain", + "type": "git" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "root", - "style": "plain", "foreground": "#cd5e42", "properties": { - "prefix": "", - "template": "\ue3bf" - } + "template": "\ue3bf " + }, + "style": "plain", + "type": "root" }, { - "type": "text", - "style": "plain", "foreground": "#CD4277", "properties": { - "prefix": "", - "text": "\u0023" - } + "template": "# " + }, + "style": "plain", + "type": "text" } - ] + ], + "type": "prompt" } - ] + ], + "version": 1 } diff --git a/themes/atomic.omp.json b/themes/atomic.omp.json index e2ce8167..f8701281 100644 --- a/themes/atomic.omp.json +++ b/themes/atomic.omp.json @@ -1,53 +1,42 @@ { "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", - "final_space": false, - "osc99": true, "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "shell", - "style": "diamond", - "leading_diamond": "╭─", - "trailing_diamond": "", - "foreground": "#ffffff", "background": "#0077c2", + "foreground": "#ffffff", + "leading_diamond": "\u256d\u2500\ue0b6", "properties": { - "prefix": " " - } - }, - { - "type": "root", + "template": "\uf120 {{ .Name }} " + }, "style": "diamond", - "leading_diamond": "", - "trailing_diamond": "", - "foreground": "#FFFB38", + "type": "shell" + }, + { "background": "#ef5350", + "foreground": "#FFFB38", "properties": { - "template": "\uf292", - "prefix": "\uE0B0 " - } + "template": "\ue0b0 \uf292 " + }, + "style": "diamond", + "type": "root" }, { - "type": "path", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#2d3436", "background": "#FF9248", + "foreground": "#2d3436", + "powerline_symbol": "\ue0b0", "properties": { - "home_icon": "", "folder_icon": " \uf07b ", + "home_icon": "\uf7dd", "style": "folder", - "prefix": " \uf07b\uf553" - } + "template": " \uf07b\uf553{{ .Path }} " + }, + "style": "powerline", + "type": "path" }, { - "type": "git", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#011627", "background": "#FFFB38", "background_templates": [ "{{ if or (.Working.Changed) (.Staging.Changed) }}#ffeb95{{ end }}", @@ -55,270 +44,257 @@ "{{ if gt .Ahead 0 }}#C792EA{{ end }}", "{{ if gt .Behind 0 }}#C792EA{{ end }}" ], + "foreground": "#011627", + "powerline_symbol": "\ue0b0", "properties": { "branch_icon": "\ue725 ", "fetch_status": true, "fetch_upstream_icon": true, - "template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uF044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }}<#ef5350> \uF046 {{ .Staging.String }}{{ end }}" - } + "template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }}<#ef5350> \uf046 {{ .Staging.String }}{{ end }} " + }, + "style": "powerline", + "type": "git" }, { - "type": "executiontime", - "style": "diamond", - "leading_diamond": "", - "trailing_diamond": "\uE0B4", - "foreground": "#ffffff", "background": "#83769c", + "foreground": "#ffffff", "properties": { - "prefix": "羽", - "postfix": "\u2800", - "threshold": 0, - "style": "roundrock" - } + "style": "roundrock", + "template": " \ufa1e{{ .FormattedMs }}\u2800", + "threshold": 0 + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "executiontime" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "right", "segments": [ { - "type": "node", - "style": "diamond", - "leading_diamond": " \uE0B6", - "trailing_diamond": "\uE0B4", - "foreground": "#3C873A", "background": "#303030", + "foreground": "#3C873A", + "leading_diamond": " \ue0b6", "properties": { - "prefix": "\uE718 ", - "postfix": "", - "display_package_manager": true, - "yarn_icon": " <#348cba>", - "npm_icon": " <#cc3a3a> " - } + "fetch_package_manager": true, + "npm_icon": " <#cc3a3a>\ue5fa ", + "template": "\ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}", + "yarn_icon": " <#348cba>\uf61a" + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "node" }, { - "type": "python", - "style": "diamond", - "leading_diamond": " \uE0B6", - "trailing_diamond": "\uE0B4", - "foreground": "#FFE873", "background": "#306998", + "foreground": "#FFE873", + "leading_diamond": " \ue0b6", "properties": { - "prefix": "\uE235 ", - "postfix": "" - } + "template": "\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}" + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "python" }, { - "type": "java", - "style": "diamond", - "leading_diamond": " \uE0B6", - "trailing_diamond": "\uE0B4", - "foreground": "#ec2729", "background": "#0e8ac8", + "foreground": "#ec2729", + "leading_diamond": " \ue0b6", "properties": { - "prefix": "\uE738 ", - "postfix": "" - } + "template": "\ue738 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}" + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "java" }, { - "type": "dotnet", - "style": "diamond", - "leading_diamond": " \uE0B6", - "trailing_diamond": "\uE0B4", - "foreground": "#0d6da8", "background": "#0e0e0e", + "foreground": "#0d6da8", + "leading_diamond": " \ue0b6", "properties": { - "prefix": "\uE77F ", - "postfix": "" - } + "template": "\ue77f {{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }}" + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "dotnet" }, { - "type": "go", - "style": "diamond", - "leading_diamond": " \uE0B6", - "trailing_diamond": "\uE0B4", + "background": "#ffffff", "foreground": "#06aad5", - "background": "#ffffff", + "leading_diamond": " \ue0b6", "properties": { - "prefix": "\uFCD1 ", - "postfix": "" - } + "template": "\ufcd1 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}" + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "go" }, { - "type": "rust", - "style": "diamond", - "leading_diamond": " \uE0B6", - "trailing_diamond": "\uE0B4", - "foreground": "#925837", "background": "#f3f0ec", + "foreground": "#925837", + "leading_diamond": " \ue0b6", "properties": { - "prefix": "\uE7a8 ", - "postfix": "" - } + "template": "\ue7a8 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}" + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "rust" }, { - "type": "dart", - "style": "diamond", - "leading_diamond": " \uE0B6", - "trailing_diamond": "\uE0B4", - "foreground": "#055b9c", "background": "#e1e8e9", + "foreground": "#055b9c", + "leading_diamond": " \ue0b6", "properties": { - "prefix": "\uE798 ", - "postfix": "" - } + "template": "\ue798 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}" + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "dart" }, { - "type": "angular", - "style": "diamond", - "leading_diamond": " \uE0B6", - "trailing_diamond": "\uE0B4", + "background": "#ffffff", "foreground": "#ce092f", - "background": "#ffffff", + "leading_diamond": " \ue0b6", "properties": { - "prefix": "\uE753 ", - "postfix": "" - } + "template": "\ue753 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}" + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "angular" }, { - "type": "julia", - "style": "diamond", - "leading_diamond": " \uE0B6", - "trailing_diamond": "\uE0B4", - "foreground": "#359a25", "background": "#945bb3", + "foreground": "#359a25", + "leading_diamond": " \ue0b6", "properties": { - "prefix": "<#ca3c34>\uE624 ", - "postfix": "" - } + "template": "<#ca3c34>\ue624 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}" + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "julia" }, { - "type": "ruby", - "style": "diamond", - "leading_diamond": " \uE0B6", - "trailing_diamond": "\uE0B4", + "background": "#ffffff", "foreground": "#9c1006", - "background": "#ffffff", + "leading_diamond": " \ue0b6", "properties": { - "prefix": "\uE791 ", - "postfix": "" - } + "template": "\ue791 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}" + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "ruby" }, { - "type": "azfunc", - "style": "diamond", - "leading_diamond": " \uE0B6", - "trailing_diamond": "\uE0B4", + "background": "#ffffff", "foreground": "#5398c2", - "background": "#ffffff", + "leading_diamond": " \ue0b6", "properties": { - "prefix": "\uf104<#f5bf45>\uf0e7\uf105 ", - "postfix": "" - } + "template": "\uf104<#f5bf45>\uf0e7\uf105 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}" + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "azfunc" }, { - "type": "aws", - "style": "diamond", - "leading_diamond": " \uE0B6", - "trailing_diamond": "\uE0B4", - "foreground": "#faa029", "background": "#565656", + "foreground": "#faa029", + "leading_diamond": " \ue0b6", "properties": { - "prefix": "\uE7AD ", - "postfix": "", - "template": "{{.Profile}}{{if .Region}}@{{.Region}}{{end}}" - } + "template": "\ue7ad {{.Profile}}{{if .Region}}@{{.Region}}{{end}}" + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "aws" }, { - "type": "kubectl", - "style": "diamond", - "leading_diamond": " \uE0B6", - "trailing_diamond": "\uE0B4", - "foreground": "#ffffff", "background": "#316ce4", + "foreground": "#ffffff", + "leading_diamond": " \ue0b6", "properties": { - "prefix": "\uFD31 ", - "postfix": "", - "template": "{{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}}" - } + "template": "\ufd31 {{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}}" + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "kubectl" }, { - "type": "os", - "style": "diamond", - "leading_diamond": " \uE0B6", - "trailing_diamond": "", - "foreground": "#222222", "background": "#b2bec3", + "foreground": "#222222", + "leading_diamond": " \ue0b6", "properties": { - "postfix": "<#262626> \uE0B2", - "windows": "\ue27f", + "linux": "\ue27f", "macos": "\ue27f", - "linux": "\ue27f" - } + "template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}<#262626> \ue0b2", + "windows": "\ue27f" + }, + "style": "diamond", + "type": "os" }, { - "type": "battery", - "style": "diamond", - "invert_powerline": true, - "leading_diamond": "\uE0B2", - "trailing_diamond": "", - "foreground": "#262626", "background": "#f36943", "background_templates": [ "{{if eq \"Charging\" .State.String}}#b8e994{{end}}", "{{if eq \"Discharging\" .State.String}}#fff34e{{end}}", "{{if eq \"Full\" .State.String}}#33DD2D{{end}}" ], + "foreground": "#262626", + "invert_powerline": true, + "leading_diamond": "\ue0b2", "properties": { - "discharging_icon": " ", - "charging_icon": "\uf1e6 ", "charged_icon": "\uf58e ", - "postfix": " <#262626>\uE0B2" - } + "charging_icon": "\uf1e6 ", + "discharging_icon": "\ue234 ", + "template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}\uf295 <#262626>\ue0b2" + }, + "style": "diamond", + "type": "battery" }, { - "type": "time", - "style": "diamond", - "invert_powerline": true, - "leading_diamond": "\uE0B2", - "trailing_diamond": "\uE0B4", "background": "#40c4ff", "foreground": "#ffffff", + "invert_powerline": true, + "leading_diamond": "\ue0b2", "properties": { - "prefix": " \uf5ef ", + "template": " \uf5ef {{ .CurrentDate | date .Format }} ", "time_format": "_2,15:04" + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "time" } - } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "text", - "style": "plain", "foreground": "#21c7c7", "properties": { - "prefix": "", - "postfix": "", - "text": "╰─" - } + "template": "\u2570\u2500" + }, + "style": "plain", + "type": "text" }, { - "type": "exit", - "style": "plain", "foreground": "#e0f8ff", + "foreground_templates": [ + "{{ if gt .Code 0 }}#ef5350{{ end }}" + ], "properties": { - "prefix": "\ue285ff", - "display_exit_code": false, "always_enabled": true, - "error_color": "#ef5350" - } + "template": "\ue285\ufb00 " + }, + "style": "plain", + "type": "exit" } - ] + ], + "type": "prompt" } - ] + ], + "osc99": true, + "version": 1 } diff --git a/themes/atomicBit.omp.json b/themes/atomicBit.omp.json index df1a1d49..99094c3e 100644 --- a/themes/atomicBit.omp.json +++ b/themes/atomicBit.omp.json @@ -1,183 +1,157 @@ { "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", - "final_space": false, - "osc99": true, "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "session", - "style": "plain", "properties": { - "prefix": "╭─[", - "postfix": "]─", - "template": "<#ffff55>{{ .UserName }}<#ff5555>@<#55ff55>{{ .HostName }}" - } + "template": "\u256d\u2500[<#ffff55>{{ .UserName }}<#ff5555>@<#55ff55>{{ .HostName }}]\u2500" + }, + "style": "plain", + "type": "session" }, { - "type": "path", - "style": "plain", "foreground": "#ff5555", "properties": { - "prefix": "<#ffffff>[", - "postfix": "<#ffffff>]" - } + "template": "<#ffffff>[{{ .Path }}<#ffffff>]" + }, + "style": "plain", + "type": "path" }, { - "type": "root", - "style": "plain", "foreground": "#FF9248", "properties": { - "prefix": "<#ffffff>─(", - "postfix": "<#ffffff>)", - "template": "#" - } + "template": "<#ffffff>\u2500(#<#ffffff>)" + }, + "style": "plain", + "type": "root" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "right", "segments": [ { - "type": "node", - "style": "plain", "foreground": "#3C873A", "properties": { - "prefix": "<#ffffff>(", - "postfix": "<#ffffff>)", - "display_package_manager": true, - "yarn_icon": " <#348cba>", - "npm_icon": " <#cc3a3a> " - } + "fetch_package_manager": true, + "npm_icon": " <#cc3a3a>\ue5fa ", + "template": "<#ffffff>({{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}<#ffffff>)", + "yarn_icon": " <#348cba>\uf61a" + }, + "style": "plain", + "type": "node" }, { - "type": "python", - "style": "plain", "foreground": "#FFE873", "properties": { - "prefix": "<#ffffff>(", - "postfix": "<#ffffff>)" - } + "template": "<#ffffff>({{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}<#ffffff>)" + }, + "style": "plain", + "type": "python" }, { - "type": "java", - "style": "plain", "foreground": "#ec2729", "properties": { - "prefix": "<#ffffff>(", - "postfix": "<#ffffff>)" - } + "template": "<#ffffff>({{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)" + }, + "style": "plain", + "type": "java" }, { - "type": "dotnet", - "style": "plain", "foreground": "#0d6da8", "properties": { - "prefix": "<#ffffff>(", - "postfix": "<#ffffff>)" - } + "template": "<#ffffff>({{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }}<#ffffff>)" + }, + "style": "plain", + "type": "dotnet" }, { - "type": "go", - "style": "plain", "foreground": "#06aad5", "properties": { - "prefix": "<#ffffff>(", - "postfix": "<#ffffff>)" - } + "template": "<#ffffff>({{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)" + }, + "style": "plain", + "type": "go" }, { - "type": "rust", - "style": "plain", "foreground": "#925837", "properties": { - "prefix": "<#ffffff>(", - "postfix": "<#ffffff>)" - } + "template": "<#ffffff>({{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)" + }, + "style": "plain", + "type": "rust" }, { - "type": "dart", - "style": "plain", "foreground": "#055b9c", "properties": { - "prefix": "<#ffffff>(", - "postfix": "<#ffffff>)" - } + "template": "<#ffffff>({{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)" + }, + "style": "plain", + "type": "dart" }, { - "type": "angular", - "style": "plain", "foreground": "#ce092f", "properties": { - "prefix": "<#ffffff>(", - "postfix": "<#ffffff>)" - } + "template": "<#ffffff>({{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)" + }, + "style": "plain", + "type": "angular" }, { - "type": "julia", - "style": "plain", "foreground": "#359a25", "properties": { - "prefix": "<#ffffff>(", - "postfix": "<#ffffff>)" - } + "template": "<#ffffff>({{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)" + }, + "style": "plain", + "type": "julia" }, { - "type": "ruby", - "style": "plain", "foreground": "#9c1006", "properties": { - "prefix": "<#ffffff>(", - "postfix": "<#ffffff>)" - } + "template": "<#ffffff>({{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)" + }, + "style": "plain", + "type": "ruby" }, { - "type": "azfunc", - "style": "plain", "foreground": "#5398c2", "properties": { - "prefix": "<#ffffff>(", - "postfix": "<#ffffff>)" - } + "template": "<#ffffff>({{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}<#ffffff>)" + }, + "style": "plain", + "type": "azfunc" }, { - "type": "aws", - "style": "plain", "foreground": "#faa029", "properties": { - "prefix": "<#ffffff>(", - "postfix": "<#ffffff>)", - "template": "{{.Profile}}{{if .Region}}@{{.Region}}{{end}}" - } + "template": "<#ffffff>({{.Profile}}{{if .Region}}@{{.Region}}{{end}}<#ffffff>)" + }, + "style": "plain", + "type": "aws" }, { - "type": "kubectl", - "style": "plain", "foreground": "#316ce4", "properties": { - "prefix": "<#ffffff>(", - "postfix": "<#ffffff>)", - "template": "{{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}}" - } + "template": "<#ffffff>({{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}}<#ffffff>)" + }, + "style": "plain", + "type": "kubectl" }, { - "type": "os", - "style": "plain", "foreground": "#ffffff", "properties": { - "prefix": "<#ffffff>(", - "postfix": "<#ffffff>)─", - "windows": "<#ffffff>\ue27f", + "linux": "<#ffffff>\ue27f", "macos": "<#ffffff>\ue27f", - "linux": "<#ffffff>\ue27f" - } + "template": "<#ffffff>({{ if .WSL }}WSL at {{ end }}{{.Icon}}<#ffffff>)\u2500", + "windows": "<#ffffff>\ue27f" + }, + "style": "plain", + "type": "os" }, { - "type": "battery", - "style": "plain", "foreground": "#ffffff", "foreground_templates": [ "{{if eq \"Charging\" .State.String}}#40c4ff{{end}}", @@ -185,64 +159,64 @@ "{{if eq \"Full\" .State.String}}#33DD2D{{end}}" ], "properties": { - "discharging_icon": " ", - "charging_icon": "\uf1e6 ", "charged_icon": "\uf58e ", - "prefix": "<#ffffff>[", - "postfix": "%<#ffffff>]─" - } + "charging_icon": "\uf1e6 ", + "discharging_icon": "\ue234 ", + "template": "<#ffffff>[{{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}%<#ffffff>]\u2500" + }, + "style": "plain", + "type": "battery" }, { - "type": "time", - "style": "plain", "foreground": "#55ffff", "properties": { - "prefix": "<#ffffff>[", - "postfix": "<#ffffff>]", + "template": "<#ffffff>[{{ .CurrentDate | date .Format }}<#ffffff>]", "time_format": "_2,15:04" + }, + "style": "plain", + "type": "time" } - } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "text", - "style": "plain", "properties": { - "prefix": "", - "postfix": "", - "text": "╰─" - } + "template": "\u2570\u2500" + }, + "style": "plain", + "type": "text" }, { - "type": "git", - "style": "plain", "foreground": "#e0f8ff", "properties": { - "prefix": "<#ffffff>[", - "postfix": "<#ffffff>]-", "branch_icon": "\ue725 ", "fetch_status": true, "fetch_upstream_icon": true, - "template": "{{ .HEAD }}{{ if .Staging.Changed }}<#00AA00> ● {{ .Staging.String }}{{ end }}{{ if .Working.Changed }}<#D75F00> ● {{ .Working.String }}{{ end }}" - } + "template": "<#ffffff>[{{ .HEAD }}{{ if .Staging.Changed }}<#00AA00> \u25cf {{ .Staging.String }}{{ end }}{{ if .Working.Changed }}<#D75F00> \u25cf {{ .Working.String }}{{ end }}<#ffffff>]-" + }, + "style": "plain", + "type": "git" }, { - "type": "exit", - "style": "plain", "foreground": "#ecf7fa", + "foreground_templates": [ + "{{ if gt .Code 0 }}#ef5350{{ end }}" + ], "properties": { - "prefix": "\ue285ff", - "display_exit_code": false, "always_enabled": true, - "error_color": "#ef5350" - } + "template": "\ue285\ufb00 " + }, + "style": "plain", + "type": "exit" } - ] + ], + "type": "prompt" } - ] + ], + "osc99": true, + "version": 1 } diff --git a/themes/avit.omp.json b/themes/avit.omp.json index d2316775..c2ebd6c5 100644 --- a/themes/avit.omp.json +++ b/themes/avit.omp.json @@ -2,59 +2,60 @@ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "path", - "style": "plain", "foreground": "#ffffff", "properties": { - "prefix": "", - "style": "full" - } + "style": "full", + "template": "{{ .Path }} " + }, + "style": "plain", + "type": "path" }, { - "type": "git", - "style": "plain", "foreground": "#C2C206", "properties": { - "prefix": "", - "template": "{{ .HEAD }}" - } + "template": "{{ .HEAD }} " + }, + "style": "plain", + "type": "git" }, { - "type": "root", + "foreground": "#B5B50D", + "properties": { + "template": " \uf0e7 " + }, "style": "plain", - "foreground": "#B5B50D" + "type": "root" }, { - "type": "exit", - "style": "plain", "foreground": "#C94A16", "properties": { - "template": "x{{ .Text }}", - "prefix": "" - } + "template": "x{{ .Text }} " + }, + "style": "plain", + "type": "exit" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "text", - "style": "plain", "foreground": "#007ACC", "properties": { - "prefix": "", - "text": "\uE602" - } + "template": "\ue602 " + }, + "style": "plain", + "type": "text" } - ] + ], + "type": "prompt" } ], - "final_space": true + "final_space": true, + "version": 1 } diff --git a/themes/blue-owl.omp.json b/themes/blue-owl.omp.json index 0659ead4..bff890be 100644 --- a/themes/blue-owl.omp.json +++ b/themes/blue-owl.omp.json @@ -1,53 +1,43 @@ { "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", - "final_space": false, - "osc99": true, - "console_title": true, - "console_title_style": "template", - "console_title_template": "{{if .Root}} ⚡ {{end}}{{.Folder | replace \"~\" \"🏚\" }} @ {{.HostName}}", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "root", - "style": "plain", - "foreground": "#FFEB3B", "background": "#a313a8", + "foreground": "#FFEB3B", "properties": { - "prefix": "", - "template": "⚡" - } - }, - { - "type": "os", + "template": "\u26a1 " + }, "style": "plain", - "foreground": "#ffffff", + "type": "root" + }, + { "background": "transparent", - "properties": { - "prefix": "" - } - }, - { - "type": "path", - "style": "diamond", - "leading_diamond": "\uE0B0", - "trailing_diamond": "\uE0B0", "foreground": "#ffffff", - "background": "#01579B", "properties": { - "home_icon": "\uF7DB", - "folder_icon": "\uF6D7", - "folder_separator_icon": " \uE0BD ", - "style": "agnoster_short" - } + "template": "{{ if .WSL }}WSL at {{ end }}{{.Icon}} " + }, + "style": "plain", + "type": "os" + }, + { + "background": "#01579B", + "foreground": "#ffffff", + "leading_diamond": "\ue0b0", + "properties": { + "folder_icon": "\uf6d7", + "folder_separator_icon": " \ue0bd ", + "home_icon": "\uf7db", + "style": "agnoster_short", + "template": " {{ .Path }} " + }, + "style": "diamond", + "trailing_diamond": "\ue0b0", + "type": "path" }, { - "type": "git", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#000000", "background": "#00C853", "background_templates": [ "{{ if or (.Working.Changed) (.Staging.Changed) }}#FFEB3B{{ end }}", @@ -55,84 +45,91 @@ "{{ if gt .Ahead 0 }}#B388FF{{ end }}", "{{ if gt .Behind 0 }}#B388FF{{ end }}" ], + "foreground": "#000000", + "powerline_symbol": "\ue0b0", "properties": { "fetch_stash_count": true, "fetch_status": true, - "template": "{{ .HEAD }}{{ if .Staging.Changed }}<#FF6F00> \uF046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uF044 {{ .Working.String }}{{ end }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}" - } - }, - { - "type": "executiontime", - "style": "diamond", - "leading_diamond": "\uE0B0", - "trailing_diamond": "\uE0B0", - "foreground": "#ffffff", - "background": "#49404f", - "properties": { - "threshold": 0, - "style": "dallas", - "postfix": "s " - } - }, - { - "type": "exit", + "template": " {{ .HEAD }}{{ if .Staging.Changed }}<#FF6F00> \uf046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} " + }, "style": "powerline", - "powerline_symbol": "\uE0B0", + "type": "git" + }, + { + "background": "#49404f", "foreground": "#ffffff", - "background": "#910000", + "leading_diamond": "\ue0b0", "properties": { - "prefix": " \uF12A ", - "template": "{{ .Text }}" - } + "style": "dallas", + "template": " {{ .FormattedMs }}s ", + "threshold": 0 + }, + "style": "diamond", + "trailing_diamond": "\ue0b0", + "type": "executiontime" + }, + { + "background": "#910000", + "foreground": "#ffffff", + "powerline_symbol": "\ue0b0", + "properties": { + "template": " \uf12a {{ .Text }} " + }, + "style": "powerline", + "type": "exit" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "right", "segments": [ { - "type": "session", - "style": "diamond", - "trailing_diamond": "", - "leading_diamond": "\uE0C5", - "foreground": "#43CCEA", "background": "#29315A", + "foreground": "#43CCEA", + "leading_diamond": "\ue0c5", "properties": { - "postfix": "", - "prefix": " ", - "template": "{{ .UserName }} / {{ .HostName }}" - } + "template": " {{ .UserName }} / {{ .HostName }}" + }, + "style": "diamond", + "type": "session" }, { - "type": "time", - "style": "plain", - "foreground": "#3EC669", "background": "#29315A", + "foreground": "#3EC669", "properties": { - "time_format": "15:04:05", - "prefix": " \uE0BA\uE0BC " - } + "template": " \ue0ba\ue0bc {{ .CurrentDate | date .Format }} ", + "time_format": "15:04:05" + }, + "style": "plain", + "type": "time" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "exit", - "style": "plain", "foreground": "#ffffff", - "foreground_templates": ["{{ if gt .Code 0 }}#ff0000{{ end }}"], + "foreground_templates": [ + "{{ if gt .Code 0 }}#ff0000{{ end }}" + ], "properties": { - "template": "\u276F", - "prefix": "", - "always_enabled": true - } + "always_enabled": true, + "template": "\u276f " + }, + "style": "plain", + "type": "exit" } - ] + ], + "type": "prompt" } - ] + ], + "console_title": true, + "console_title_style": "template", + "console_title_template": "{{if .Root}} \u26a1 {{end}}{{.Folder | replace \"~\" \"🏚\" }} @ {{.HostName}}", + "osc99": true, + "version": 1 } diff --git a/themes/blueish.omp.json b/themes/blueish.omp.json index fe75972c..873f0eae 100644 --- a/themes/blueish.omp.json +++ b/themes/blueish.omp.json @@ -2,128 +2,132 @@ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "os", - "style": "diamond", - "foreground": "#26C6DA", "background": "#546E7A", + "foreground": "#26C6DA", + "leading_diamond": "\ue0c5", "properties": { - "postfix": " \uE0B1", - "macos": "mac" + "macos": "mac", + "template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} \ue0b1" }, - "leading_diamond": "\uE0c5", - "trailing_diamond": "\uE0B0" + "style": "diamond", + "trailing_diamond": "\ue0b0", + "type": "os" }, { - "type": "session", - "style": "powerline", - "foreground": "#26C6DA", "background": "#546E7A", - "powerline_symbol": "\uE0B0", + "foreground": "#26C6DA", + "powerline_symbol": "\ue0b0", "properties": { - "template": "{{ .UserName }}@{{ .HostName }}" - } + "template": " {{ .UserName }}@{{ .HostName }} " + }, + "style": "powerline", + "type": "session" }, { - "type": "battery", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#193549", "background": "#a2beef", "background_templates": [ "{{if eq \"Charging\" .State.String}}#00D100{{end}}", "{{if eq \"Discharging\" .State.String}}#FFCD58{{end}}", "{{if eq \"Full\" .State.String}}#0476d0{{end}}" ], + "foreground": "#193549", + "powerline_symbol": "\ue0b0", "properties": { - "postfix": "\uF295 \uf583 " - } + "template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}\uf295 \uf583 " + }, + "style": "powerline", + "type": "battery" }, { - "type": "path", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#193549", "background": "#14c2dd", + "foreground": "#193549", + "powerline_symbol": "\ue0b0", "properties": { - "prefix": " \uE5FF ", - "style": "folder" - } + "style": "folder", + "template": " \ue5ff {{ .Path }} " + }, + "style": "powerline", + "type": "path" }, { - "type": "git", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#193549", "background": "#a2c4e0", + "foreground": "#193549", + "powerline_symbol": "\ue0b0", "properties": { "fetch_stash_count": true, "fetch_upstream_icon": true, - "template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}" - } + "template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} " + }, + "style": "powerline", + "type": "git" }, { - "type": "node", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#ffffff", "background": "#6CA35E", + "foreground": "#ffffff", + "powerline_symbol": "\ue0b0", "properties": { - "prefix": " \uE718 " - } + "template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} " + }, + "style": "powerline", + "type": "node" }, { - "type": "root", - "style": "powerline", - "powerline_symbol": "\uE0B0", + "background": "#ffff66", "foreground": "#193549", - "background": "#ffff66" - }, - { - "type": "kubectl", + "powerline_symbol": "\ue0b0", + "properties": { + "template": " \uf0e7 " + }, "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#ffffff", - "background": "#0077c2", - "properties": { - "prefix": " \uFD31 ", - "template": "{{.Context}} :: {{if .Namespace}}{{.Namespace}}{{else}}default{{end}}" - } + "type": "root" }, { - "type": "exit", - "style": "diamond", + "background": "#0077c2", "foreground": "#ffffff", - "background": "#007800", - "background_templates": ["{{ if gt .Code 0 }}#f1184c{{ end }}"], - "leading_diamond": "\uE0B0", - "trailing_diamond": "\uE0b0", + "powerline_symbol": "\ue0b0", "properties": { - "template": "\ufc8d", - "always_enabled": true - } + "template": " \ufd31 {{.Context}} :: {{if .Namespace}}{{.Namespace}}{{else}}default{{end}} " + }, + "style": "powerline", + "type": "kubectl" + }, + { + "background": "#007800", + "background_templates": [ + "{{ if gt .Code 0 }}#f1184c{{ end }}" + ], + "foreground": "#ffffff", + "leading_diamond": "\ue0b0", + "properties": { + "always_enabled": true, + "template": " \ufc8d " + }, + "style": "diamond", + "trailing_diamond": "\ue0b0", + "type": "exit" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "text", - "style": "plain", "foreground": "#007ACC", "properties": { - "prefix": "", - "text": "\u279C" - } + "template": "\u279c " + }, + "style": "plain", + "type": "text" } - ] + ], + "type": "prompt" } ], - "final_space": true + "final_space": true, + "version": 1 } diff --git a/themes/bubbles.omp.json b/themes/bubbles.omp.json index 4e1e6582..de1c00e8 100644 --- a/themes/bubbles.omp.json +++ b/themes/bubbles.omp.json @@ -1,183 +1,170 @@ { "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", - "final_space": true, "blocks": [ { - "type": "prompt", "alignment": "right", "segments": [ { - "type": "session", - "style": "diamond", - "trailing_diamond": "\uE0B4 ", - "leading_diamond": "\uE0B6", + "background": "#29315A", "foreground": "#E64747", - "background": "#29315A", + "leading_diamond": "\ue0b6", "properties": { - "postfix": "", - "prefix": "", "template": "{{ .UserName }}" - } + }, + "style": "diamond", + "trailing_diamond": "\ue0b4 ", + "type": "session" }, { - "type": "path", - "style": "diamond", - "trailing_diamond": "\uE0B4", - "leading_diamond": "\uE0B6", + "background": "#29315A", "foreground": "#3EC669", - "background": "#29315A", + "leading_diamond": "\ue0b6", "properties": { - "prefix": "\uE5FF ", - "postfix": "", - "style": "folder" - } + "style": "folder", + "template": "\ue5ff {{ .Path }}" + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "path" }, { - "type": "git", - "style": "diamond", - "trailing_diamond": "\uE0B4", - "leading_diamond": " \uE0B6", - "foreground": "#43CCEA", "background": "#29315A", + "foreground": "#43CCEA", + "leading_diamond": " \ue0b6", "properties": { - "prefix": "", - "postfix": "", "branch_icon": "", "template": "{{ .HEAD }}" - } + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "git" }, { - "type": "python", - "style": "diamond", - "trailing_diamond": "\uE0B4", - "leading_diamond": " \uE0B6", + "background": "#29315A", "foreground": "#E4F34A", - "background": "#29315A", + "leading_diamond": " \ue0b6", "properties": { - "prefix": "\uE235", - "postfix": "", - "fetch_version": false - } + "fetch_version": false, + "template": "\ue235{{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}" + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "python" }, { - "type": "go", - "style": "diamond", - "trailing_diamond": "\uE0B4", - "leading_diamond": " \uE0B6", + "background": "#29315A", "foreground": "#7FD5EA", - "background": "#29315A", + "leading_diamond": " \ue0b6", "properties": { - "prefix": "\uFCD1", - "postfix": "", - "fetch_version": false - } + "fetch_version": false, + "template": "\ufcd1{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}" + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "go" }, { - "type": "node", - "style": "diamond", - "trailing_diamond": "\uE0B4", - "leading_diamond": " \uE0B6", + "background": "#29315A", "foreground": "#42E66C", - "background": "#29315A", + "leading_diamond": " \ue0b6", "properties": { - "prefix": "\uE718", - "postfix": "", - "fetch_version": false - } + "fetch_version": false, + "template": "\ue718{{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}" + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "node" }, { - "type": "ruby", - "style": "diamond", - "trailing_diamond": "\uE0B4", - "leading_diamond": " \uE0B6", + "background": "#29315A", "foreground": "#E64747", - "background": "#29315A", + "leading_diamond": " \ue0b6", "properties": { - "prefix": "\uE791", - "postfix": "", - "fetch_version": false - } + "fetch_version": false, + "template": "\ue791{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}" + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "ruby" }, { - "type": "java", - "style": "diamond", - "trailing_diamond": "\uE0B4", - "leading_diamond": " \uE0B6", + "background": "#29315A", "foreground": "#E64747", - "background": "#29315A", + "leading_diamond": " \ue0b6", "properties": { - "prefix": "\uE738", - "postfix": "", - "fetch_version": false - } + "fetch_version": false, + "template": "\ue738{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}" + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "java" }, { - "type": "julia", - "style": "diamond", - "trailing_diamond": "\uE0B4", - "leading_diamond": " \uE0B6", - "foreground": "#9B6BDF", "background": "#29315A", + "foreground": "#9B6BDF", + "leading_diamond": " \ue0b6", "properties": { - "prefix": "\uE624", - "fetch_version": false - } + "fetch_version": false, + "template": "\ue624{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} " + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "julia" }, { - "type": "battery", - "style": "diamond", - "trailing_diamond": "\uE0B4", - "leading_diamond": " \uE0B6", - "foreground": "#9B6BDF", "background": "#29315A", + "foreground": "#9B6BDF", "foreground_templates": [ "{{if eq \"Charging\" .State.String}}#40c4ff{{end}}", "{{if eq \"Discharging\" .State.String}}#ff5722{{end}}", "{{if eq \"Full\" .State.String}}#4caf50{{end}}" ], + "leading_diamond": " \ue0b6", "properties": { - "discharging_icon": "\u21E3 ", - "charging_icon": "\u21E1 ", - "charged_icon": "\u0095 ", - "prefix": "", - "postfix": "" - } + "charged_icon": "• ", + "charging_icon": "\u21e1 ", + "discharging_icon": "\u21e3 ", + "template": "{{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}" + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "battery" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "executiontime", - "style": "diamond", - "trailing_diamond": "\uE0B4 ", - "leading_diamond": "\uE0B6", - "foreground": "#AEA4BF", "background": "#29315A", + "foreground": "#AEA4BF", + "leading_diamond": "\ue0b6", "properties": { - "threshold": 150, "style": "austin", - "prefix": "", - "postfix": "" - } + "template": "{{ .FormattedMs }}", + "threshold": 150 + }, + "style": "diamond", + "trailing_diamond": "\ue0b4 ", + "type": "executiontime" }, { - "type": "text", - "style": "diamond", - "trailing_diamond": "\uE0B4", - "leading_diamond": "\uE0B6", - "foreground": "#7FD5EA", "background": "#29315A", + "foreground": "#7FD5EA", + "leading_diamond": "\ue0b6", "properties": { - "prefix": "", - "text": "\u276F", - "postfix": "" - } + "template": "\u276f" + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "text" } - ] + ], + "type": "prompt" } - ] + ], + "final_space": true, + "version": 1 } diff --git a/themes/bubblesline.omp.json b/themes/bubblesline.omp.json index 0462d361..8c58f22e 100644 --- a/themes/bubblesline.omp.json +++ b/themes/bubblesline.omp.json @@ -2,154 +2,143 @@ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { - "type": "rprompt", "alignment": "right", "segments": [ { - "type": "path", - "style": "diamond", - "trailing_diamond": "\uE0B4", - "leading_diamond": "\uE0B6", + "background": "#424242", "foreground": "#3EC669", - "background": "#424242", + "leading_diamond": "\ue0b6", "properties": { - "prefix": "\uE5FF ", - "postfix": "", - "style": "folder" - } + "style": "folder", + "template": "\ue5ff {{ .Path }}" + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "path" }, { - "type": "git", - "style": "diamond", - "trailing_diamond": "\uE0B4", - "leading_diamond": " \uE0B6", + "background": "#424242", "foreground": "#43CCEA", - "background": "#424242", + "leading_diamond": " \ue0b6", "properties": { - "prefix": "", - "postfix": "", - "template": "{{ .HEAD }}", - "branch_icon": "" - } + "branch_icon": "", + "template": "{{ .HEAD }}" + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "git" }, { - "type": "python", - "style": "diamond", - "trailing_diamond": "\uE0B4", - "leading_diamond": " \uE0B6", + "background": "#424242", "foreground": "#E4F34A", - "background": "#424242", + "leading_diamond": " \ue0b6", "properties": { - "prefix": "\uE235", - "postfix": "", - "fetch_version": false - } + "fetch_version": false, + "template": "\ue235{{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}" + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "python" }, { - "type": "go", - "style": "diamond", - "trailing_diamond": "\uE0B4", - "leading_diamond": " \uE0B6", + "background": "#424242", "foreground": "#7FD5EA", - "background": "#424242", + "leading_diamond": " \ue0b6", "properties": { - "prefix": "\uFCD1", - "postfix": "", - "fetch_version": false - } + "fetch_version": false, + "template": "\ufcd1{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}" + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "go" }, { - "type": "node", - "style": "diamond", - "trailing_diamond": "\uE0B4", - "leading_diamond": " \uE0B6", + "background": "#424242", "foreground": "#42E66C", - "background": "#424242", + "leading_diamond": " \ue0b6", "properties": { - "prefix": "\uE718", - "postfix": "", - "fetch_version": false - } + "fetch_version": false, + "template": "\ue718{{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}" + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "node" }, { - "type": "ruby", - "style": "diamond", - "trailing_diamond": "\uE0B4", - "leading_diamond": " \uE0B6", + "background": "#424242", "foreground": "#E64747", - "background": "#424242", + "leading_diamond": " \ue0b6", "properties": { - "prefix": "\uE791", - "postfix": "", - "fetch_version": false - } + "fetch_version": false, + "template": "\ue791{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}" + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "ruby" }, { - "type": "java", - "style": "diamond", - "trailing_diamond": "\uE0B4", - "leading_diamond": " \uE0B6", + "background": "#424242", "foreground": "#E64747", - "background": "#424242", + "leading_diamond": " \ue0b6", "properties": { - "prefix": "\uE738", - "postfix": "", - "fetch_version": false - } + "fetch_version": false, + "template": "\ue738{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}" + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "java" }, { - "type": "julia", - "style": "diamond", - "trailing_diamond": "\uE0B4", - "leading_diamond": " \uE0B6", - "foreground": "#9B6BDF", "background": "#424242", + "foreground": "#9B6BDF", + "leading_diamond": " \ue0b6", "properties": { - "prefix": "\uE624", - "postfix": "", - "fetch_version": false - } + "fetch_version": false, + "template": "\ue624{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}" + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "julia" }, { - "type": "battery", - "style": "diamond", - "trailing_diamond": "\uE0B4", - "leading_diamond": " \uE0B6", - "foreground": "#9B6BDF", "background": "#424242", + "foreground": "#9B6BDF", "foreground_templates": [ "{{if eq \"Charging\" .State.String}}#40c4ff{{end}}", "{{if eq \"Discharging\" .State.String}}#ff5722{{end}}", "{{if eq \"Full\" .State.String}}#4caf50{{end}}" ], + "leading_diamond": " \ue0b6", "properties": { - "discharging_icon": "\u21E3 ", - "charging_icon": "\u21E1 ", - "charged_icon": "\u25CF ", - "prefix": "", - "postfix": "" - } + "charged_icon": "\u25cf ", + "charging_icon": "\u21e1 ", + "discharging_icon": "\u21e3 ", + "template": "{{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}" + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "battery" } - ] + ], + "type": "rprompt" }, { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "session", - "style": "diamond", - "trailing_diamond": "\uE0B4 ", - "leading_diamond": "\uE0B6", - "foreground": "#9B6BDF", "background": "#424242", + "foreground": "#9B6BDF", + "leading_diamond": "\ue0b6", "properties": { - "postfix": " \u276F", - "prefix": "", - "template": "{{ .UserName }}" - } + "template": "{{ .UserName }} \u276f" + }, + "style": "diamond", + "trailing_diamond": "\ue0b4 ", + "type": "session" } - ] + ], + "type": "prompt" } - ] + ], + "version": 1 } diff --git a/themes/capr4n.omp.json b/themes/capr4n.omp.json index 0430f048..47c90979 100644 --- a/themes/capr4n.omp.json +++ b/themes/capr4n.omp.json @@ -1,76 +1,76 @@ { "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", - "final_space": true, - "console_title": true, - "console_title_style": "template", - "console_title_template": "{{if .Root}} ⚡ {{end}}{{.UserName}} ➔ 📁{{.Folder}}", "blocks": [ { - "type": "rprompt", "alignment": "right", "segments": [ { - "type": "time", - "style": "plain", - "foreground": "#ffffff", "background": "#003543", + "foreground": "#ffffff", "properties": { - "prefix": " \uf64f " - } + "template": " \uf64f {{ .CurrentDate | date .Format }} " + }, + "style": "plain", + "type": "time" }, { - "type": "executiontime", - "style": "plain", - "foreground": "#ffffff", "background": "#83769c", + "foreground": "#ffffff", "properties": { "always_enabled": true, - "prefix": " 羽" - } + "template": " \ufa1e{{ .FormattedMs }} " + }, + "style": "plain", + "type": "executiontime" } - ] + ], + "type": "rprompt" }, { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "session", - "style": "diamond", - "foreground": "#ffffff", "background": "#61AFEF", - "trailing_diamond": "\uE0B0", + "foreground": "#ffffff", "properties": { - "prefix": "", - "postfix": "", "display_host": false, - "template": "{{if .Root}} \uF0E7 {{.UserName}} {{else}} {{.UserName}} {{end}}" - } + "template": "{{if .Root}} \uf0e7 {{.UserName}} {{else}} {{.UserName}} {{end}}" + }, + "style": "diamond", + "trailing_diamond": "\ue0b0", + "type": "session" }, { - "type": "path", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "ffffff", "background": "#C678DD", + "foreground": "ffffff", + "powerline_symbol": "\ue0b0", "properties": { + "folder_icon": "\uf115", + "folder_separator_icon": " \ue0b1 ", "max_depth": 2, - "folder_icon": "\uF115", - "folder_separator_icon": " \uE0B1 ", - "style": "agnoster_short" - } + "style": "agnoster_short", + "template": " {{ .Path }} " + }, + "style": "powerline", + "type": "path" }, { - "type": "git", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#193549", "background": "#95ffa4", + "foreground": "#193549", + "powerline_symbol": "\ue0b0", "properties": { - "template": "{{ .HEAD }}" - } + "template": " {{ .HEAD }} " + }, + "style": "powerline", + "type": "git" } - ] + ], + "type": "prompt" } - ] + ], + "console_title": true, + "console_title_style": "template", + "console_title_template": "{{if .Root}} \u26a1 {{end}}{{.UserName}} \u2794 📁{{.Folder}}", + "final_space": true, + "version": 1 } diff --git a/themes/cert.omp.json b/themes/cert.omp.json index c78c7b05..49ff8397 100644 --- a/themes/cert.omp.json +++ b/themes/cert.omp.json @@ -1,60 +1,60 @@ { "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", - "blocks":[ + "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "session", - "style": "diamond", - "leading_diamond": "\uE0B6", - "trailing_diamond": "\uE0C6", "background": "#E36464", "foreground": "#fff", + "leading_diamond": "\ue0b6", "properties": { - "prefix": "", - "template": "{{ .UserName }}" - } + "template": "{{ .UserName }} " + }, + "style": "diamond", + "trailing_diamond": "\ue0c6", + "type": "session" }, { - "type":"path", - "style": "diamond", - "leading_diamond": "\uE0C7", - "trailing_diamond": "\uE0C6", "background": "green", "foreground": "#fff", + "leading_diamond": "\ue0c7", "properties": { - "style": "folder" - } + "style": "folder", + "template": " {{ .Path }} " + }, + "style": "diamond", + "trailing_diamond": "\ue0c6", + "type": "path" }, { - "type": "git", - "style": "diamond", - "leading_diamond": "\uE0C7", - "trailing_diamond": "\uE0C6", "background": "lightCyan", "foreground": "#fff", + "leading_diamond": "\ue0c7", "properties": { "branch_icon": "", - "template": "{{ .HEAD }}", - "prefix": " git(", - "postfix": ") " - } + "template": " git({{ .HEAD }}) " + }, + "style": "diamond", + "trailing_diamond": "\ue0c6", + "type": "git" }, { - "type": "time", - "style": "diamond", - "leading_diamond": "\uE0C7", - "trailing_diamond": "\uE0C6", - "foreground": "#fff", "background": "lightMagenta", + "foreground": "#fff", + "leading_diamond": "\ue0c7", "properties": { + "template": " {{ .CurrentDate | date .Format }} ", "time_format": "15:04" - } + }, + "style": "diamond", + "trailing_diamond": "\ue0c6", + "type": "time" } - ] + ], + "type": "prompt" } ], - "final_space": true + "final_space": true, + "version": 1 } diff --git a/themes/cinnamon.omp.json b/themes/cinnamon.omp.json index 78c18135..f16ec380 100644 --- a/themes/cinnamon.omp.json +++ b/themes/cinnamon.omp.json @@ -1,69 +1,71 @@ { - "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", - "blocks": [ - { - "type": "prompt", - "alignment": "left", - "segments": [ - { - "type": "session", - "style": "diamond", - "foreground": "#ffffff", - "background": "#07585c", - "leading_diamond": "\uE0B6", - "properties": { - "template": "{{ .UserName }}@{{ .HostName }}" - } + "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", + "blocks": [ + { + "alignment": "left", + "segments": [ + { + "background": "#07585c", + "foreground": "#ffffff", + "leading_diamond": "\ue0b6", + "properties": { + "template": " {{ .UserName }}@{{ .HostName }} " }, - { - "type": "path", - "style": "plain", - "foreground": "#ffffff", - "background": "#3e9022", - "properties": { - "prefix": " \uE5FF ", - "style": "folder" - } + "style": "diamond", + "type": "session" + }, + { + "background": "#3e9022", + "foreground": "#ffffff", + "properties": { + "style": "folder", + "template": " \ue5ff {{ .Path }} " }, - { - "type": "git", - "style": "plain", - "foreground": "#ffffff", - "background": "#de076f", - "properties": { - "fetch_upstream_icon": true, - "branch_icon": "", - "template": "{{ .UpstreamIcon }}{{ .HEAD }}" - } + "style": "plain", + "type": "path" + }, + { + "background": "#de076f", + "foreground": "#ffffff", + "properties": { + "branch_icon": "", + "fetch_upstream_icon": true, + "template": " {{ .UpstreamIcon }}{{ .HEAD }} " }, - { - "type": "spotify", - "style": "plain", - "foreground": "#ffffff", - "background": "#491545", - "properties": { - "prefix": " \uF9C6 ", - "playing_icon": "\uE602 ", - "paused_icon": "\uF8E3 ", - "stopped_icon": "\uF04D ", - "track_separator" : " - " - } + "style": "plain", + "type": "git" + }, + { + "background": "#491545", + "foreground": "#ffffff", + "properties": { + "paused_icon": "\uf8e3 ", + "playing_icon": "\ue602 ", + "stopped_icon": "\uf04d ", + "template": " \uf9c6 {{ .Icon }}{{ if ne .Status \"stopped\" }}{{ .Artist }} - {{ .Track }}{{ end }} ", + "track_separator": " - " }, - { - "type": "exit", - "style": "diamond", - "trailing_diamond": "\uE0B4", - "foreground": "#ffffff", - "background": "#491515", - "background_templates": ["{{ if gt .Code 0 }}#f1184c{{ end }}"], - "properties": { - "template": "\uF7d4", - "always_enabled": true - } - } - ] - } - ], - "final_space": true - } - + "style": "plain", + "type": "spotify" + }, + { + "background": "#491515", + "background_templates": [ + "{{ if gt .Code 0 }}#f1184c{{ end }}" + ], + "foreground": "#ffffff", + "properties": { + "always_enabled": true, + "template": " \uf7d4 " + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "exit" + } + ], + "type": "prompt" + } + ], + "final_space": true, + "version": 1 +} diff --git a/themes/clean-detailed.omp.json b/themes/clean-detailed.omp.json index e3f0cf4c..74b63991 100644 --- a/themes/clean-detailed.omp.json +++ b/themes/clean-detailed.omp.json @@ -1,166 +1,156 @@ { - "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", - "final_space": false, - "osc99": true, - "console_title": true, - "console_title_style": "template", - "console_title_template": "{{ .Folder }}", - "transient_prompt": { - "background": "transparent", - "foreground": "#FEF5ED", - "template": "\ue285 " - }, - "blocks": [ + "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", + "blocks": [ + { + "alignment": "left", + "newline": true, + "segments": [ { - "type": "prompt", - "alignment": "left", - "newline": true, - "segments": [ - { - "type": "os", - "style": "diamond", - "leading_diamond": "\uE0B2", - "trailing_diamond": "\uE0B2", - "foreground": "#011627", - "background": "#FEF5ED", - "properties": { - "postfix": "", - "windows": "\uf871 ", - "macos": "\uf179 ", - "ubuntu": "\uf31b " - } - }, - { - "type": "shell", - "style": "diamond", - "leading_diamond": "\uE0B2", - "trailing_diamond": "\uE0B2", - "foreground": "#011627", - "background": "#FEF5ED", - "properties": { - "prefix": "\uf489 ", - "postfix": "" - } - }, - { - "type": "sysinfo", - "style": "diamond", - "leading_diamond": "\uE0B2", - "trailing_diamond": "", - "foreground": "#ffffff", - "background": "#516BEB", - "properties": { - "prefix": "\uf85a CPU: ", - "postfix": "% | ", - "template": "{{ round .PhysicalPercentUsed .Precision }}" - } - }, - { - "type": "sysinfo", - "style": "diamond", - "leading_diamond": "", - "trailing_diamond": "\uE0B2", - "foreground": "#ffffff", - "background": "#516BEB", - "properties": { - "prefix": "MEM: ", - "postfix": "GB \uf85a ", - "template": "{{ (div ((sub .PhysicalTotalMemory .PhysicalFreeMemory)|float64) 1000000000.0) }}/{{ (div .PhysicalTotalMemory 1000000000.0) }}" - } - }, - { - "type": "executiontime", - "style": "diamond", - "leading_diamond": "\uE0B2", - "trailing_diamond": "\uE0B0", - "foreground": "#d6deeb", - "background": "#575656", - "properties": { - "threshold": 0, - "style": "roundrock" - } - } - ] + "background": "#FEF5ED", + "foreground": "#011627", + "leading_diamond": "\ue0b2", + "properties": { + "macos": "\uf179 ", + "template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}", + "ubuntu": "\uf31b ", + "windows": "\uf871 " + }, + "style": "diamond", + "trailing_diamond": "\ue0b2", + "type": "os" }, { - "type": "prompt", - "alignment": "right", - "newline": false, - "segments": [ - { - "type": "git", - "style": "diamond", - "leading_diamond": "\uE0B2", - "trailing_diamond": "\uE0B0", - "foreground": "#011627", - "background": "#17D7A0", - "properties": { - "branch_icon": "\ue725 ", - "fetch_status": true, - "fetch_stash_count": true, - "fetch_worktree_count": true, - "fetch_upstream_icon": true, - "template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uF044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uF046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}" - } - } - ] + "background": "#FEF5ED", + "foreground": "#011627", + "leading_diamond": "\ue0b2", + "properties": { + "template": "\uf489 {{ .Name }}" + }, + "style": "diamond", + "trailing_diamond": "\ue0b2", + "type": "shell" }, { - "type": "prompt", - "alignment": "left", - "newline": true, - "segments": [ - { - "type": "text", - "style": "plain", - "properties": { - "prefix": "", - "postfix": "", - "text": "╭─" - } - }, - { - "type": "time", - "style": "plain", - "properties": { - "prefix": " \u2665 ", - "postfix": " |", - "time_format": "15:04" - } - }, - { - "type": "root", - "style": "plain", - "properties": { - "template": "\uf292 " - } - }, - { - "type": "path", - "style": "plain", - "properties": { - "folder_separator_icon": " \uf554 ", - "home_icon": "\uf7db ", - "folder_icon": "\uf07b " - } - } - ] + "background": "#516BEB", + "foreground": "#ffffff", + "leading_diamond": "\ue0b2", + "properties": { + "template": "\uf85a CPU: {{ round .PhysicalPercentUsed .Precision }}% | " + }, + "style": "diamond", + "type": "sysinfo" }, { - "type": "prompt", - "alignment": "left", - "newline": true, - "segments": [ - { - "type": "exit", - "style": "plain", - "properties": { - "prefix": "", - "template": "╰─", - "always_enabled": true - } - } - ] + "background": "#516BEB", + "foreground": "#ffffff", + "properties": { + "template": "MEM: {{ (div ((sub .PhysicalTotalMemory .PhysicalFreeMemory)|float64) 1000000000.0) }}/{{ (div .PhysicalTotalMemory 1000000000.0) }}GB \uf85a " + }, + "style": "diamond", + "trailing_diamond": "\ue0b2", + "type": "sysinfo" + }, + { + "background": "#575656", + "foreground": "#d6deeb", + "leading_diamond": "\ue0b2", + "properties": { + "style": "roundrock", + "template": " {{ .FormattedMs }} ", + "threshold": 0 + }, + "style": "diamond", + "trailing_diamond": "\ue0b0", + "type": "executiontime" } - ] + ], + "type": "prompt" + }, + { + "alignment": "right", + "segments": [ + { + "background": "#17D7A0", + "foreground": "#011627", + "leading_diamond": "\ue0b2", + "properties": { + "branch_icon": "\ue725 ", + "fetch_stash_count": true, + "fetch_status": true, + "fetch_upstream_icon": true, + "fetch_worktree_count": true, + "template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} " + }, + "style": "diamond", + "trailing_diamond": "\ue0b0", + "type": "git" + } + ], + "type": "prompt" + }, + { + "alignment": "left", + "newline": true, + "segments": [ + { + "properties": { + "template": "\u256d\u2500" + }, + "style": "plain", + "type": "text" + }, + { + "properties": { + "template": " \u2665 {{ .CurrentDate | date .Format }} |", + "time_format": "15:04" + }, + "style": "plain", + "type": "time" + }, + { + "properties": { + "template": " \uf292 " + }, + "style": "plain", + "type": "root" + }, + { + "properties": { + "folder_icon": "\uf07b ", + "folder_separator_icon": " \uf554 ", + "home_icon": "\uf7db ", + "template": " {{ .Path }} " + }, + "style": "plain", + "type": "path" + } + ], + "type": "prompt" + }, + { + "alignment": "left", + "newline": true, + "segments": [ + { + "properties": { + "always_enabled": true, + "template": "\u2570\u2500 " + }, + "style": "plain", + "type": "exit" + } + ], + "type": "prompt" + } + ], + "console_title": true, + "console_title_style": "template", + "console_title_template": "{{ .Folder }}", + "osc99": true, + "transient_prompt": { + "background": "transparent", + "foreground": "#FEF5ED", + "template": "\ue285 " + }, + "version": 1 } diff --git a/themes/cloud-native-azure.omp.json b/themes/cloud-native-azure.omp.json index 51984514..eb67f44b 100644 --- a/themes/cloud-native-azure.omp.json +++ b/themes/cloud-native-azure.omp.json @@ -3,155 +3,152 @@ "blocks": [ { "alignment": "left", - "horizontal_offset": 0, "segments": [ { - "type": "session", - "style": "diamond", "background": "#c386f1", "foreground": "#ffffff", "leading_diamond": "\ue0b6", - "trailing_diamond": "\ue0b0" + "properties": { + "template": " {{ if .SSHSession }}\uf817 {{ end }}{{ .UserName }}@{{ .HostName }} " + }, + "style": "diamond", + "trailing_diamond": "\ue0b0", + "type": "session" }, { - "type": "path", - "style": "powerline", "background": "#ff479c", "foreground": "#ffffff", - "invert_powerline": false, "powerline_symbol": "\ue0b0", "properties": { - "prefix": " \uf07b ", - "style": "folder" - } + "style": "folder", + "template": " \uf07b {{ .Path }} " + }, + "style": "powerline", + "type": "path" }, { - "type": "git", - "style": "powerline", "background": "#fffb38", - "foreground": "#193549", - "powerline_symbol": "\ue0b0", "background_templates": [ "{{ if or (.Working.Changed) (.Staging.Changed) }}#FF9248{{ end }}", "{{ if and (gt .Ahead 0) (gt .Behind 0) }}#ff4500{{ end }}", "{{ if gt .Ahead 0 }}#B388FF{{ end }}", "{{ if gt .Behind 0 }}#B388FF{{ end }}" ], + "foreground": "#193549", + "powerline_symbol": "\ue0b0", "properties": { - "fetch_status": true, - "fetch_stash_count": true, - "fetch_upstream_icon": true, "branch_max_length": 25, - "template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uF044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uF046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}" - } + "fetch_stash_count": true, + "fetch_status": true, + "fetch_upstream_icon": true, + "template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} " + }, + "style": "powerline", + "type": "git" }, { - "type": "exit", - "style": "diamond", "background": "#2e9599", + "background_templates": [ + "{{ if gt .Code 0 }}#f1184c{{ end }}" + ], "foreground": "#ffffff", "leading_diamond": "\ue0b0", - "trailing_diamond": "\ue0b4", - "background_templates": ["{{ if gt .Code 0 }}#f1184c{{ end }}"], "properties": { "always_enabled": true, - "prefix": " \ue23a " - } + "template": " \ue23a {{ if gt .Code 0 }}\uf00d {{ .Meaning }}{{ else }}\uf42e{{ end }} " + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "exit" } ], - "type": "prompt", - "vertical_offset": 0 + "type": "prompt" }, { "alignment": "right", - "horizontal_offset": 0, "segments": [ { - "type": "shell", - "style": "plain", "background": "#0077c2", "foreground": "#ffffff", "properties": { - "postfix": " \ue0b2", - "prefix": "<#0077c2,transparent>\ue0b6 \uf489 " - } + "template": "<#0077c2,transparent>\ue0b6 \uf489 {{ .Name }} \ue0b2" + }, + "style": "plain", + "type": "shell" }, { - "type": "battery", - "style": "powerline", "background": "#f36943", - "foreground": "#ffffff", - "invert_powerline": true, - "powerline_symbol": "", "background_templates": [ "{{if eq \"Charging\" .State.String}}#40c4ff{{end}}", "{{if eq \"Discharging\" .State.String}}#ff5722{{end}}", "{{if eq \"Full\" .State.String}}#4caf50{{end}}" ], + "foreground": "#ffffff", + "invert_powerline": true, + "powerline_symbol": "\ue0b2", "properties": { "charged_icon": "\ue22f ", "charging_icon": "\uf583 ", - "color_background": true, "discharging_icon": "\uf582 ", - "postfix": "\uf295 " - } + "template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}\uf295 " + }, + "style": "powerline", + "type": "battery" }, { - "type": "time", - "style": "diamond", "background": "#2e9599", "foreground": "#111111", "invert_powerline": true, - "leading_diamond": "", - "trailing_diamond": "\ue0b4" + "leading_diamond": "\ue0b2", + "properties": { + "template": " {{ .CurrentDate | date .Format }} " + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "time" } ], - "type": "prompt", - "vertical_offset": 0 + "type": "prompt" }, { "alignment": "left", - "horizontal_offset": 0, "newline": true, "segments": [ { - "type": "kubectl", - "style": "diamond", "background": "#ebcc34", "foreground": "#000000", "leading_diamond": "\ue0b6", - "trailing_diamond": "", "properties": { - "prefix": " \uefd31 ", - "template": "Kubernetes {{.Context}} cluster {{if .Namespace}}- {{.Namespace}} namespace{{end}}" - } + "template": " \uefd31 Kubernetes {{.Context}} cluster {{if .Namespace}}- {{.Namespace}} namespace{{end}} " + }, + "style": "diamond", + "trailing_diamond": "\ue0b0", + "type": "kubectl" }, { - "type": "az", - "style": "powerline", "background": "#9ec3f0", "foreground": "#000000", - "powerline_symbol": "", + "powerline_symbol": "\ue0b0", "properties": { - "prefix": " \ufd03 ", - "template": "Subscription {{ .Name }} ({{ if .EnvironmentName | contains \"AzureCloud\" }}{{ \"Global\" }}{{ else }}{{ .EnvironmentName }}{{ end }})" - } + "template": " \ufd03 Subscription {{ .Name }} ({{ if .EnvironmentName | contains \"AzureCloud\" }}{{ \"Global\" }}{{ else }}{{ .EnvironmentName }}{{ end }}) " + }, + "style": "powerline", + "type": "az" } ], - "type": "prompt", - "vertical_offset": 0 + "type": "prompt" }, { "alignment": "left", "newline": true, "segments": [ { - "type": "text", - "style": "plain", "foreground": "#E06C75", "properties": { - "text": "~" - } + "template": " ~ " + }, + "style": "plain", + "type": "text" } ], "type": "prompt" @@ -160,5 +157,6 @@ "console_title": true, "console_title_style": "template", "console_title_template": "{{ .Shell }} in {{ .Folder }}", - "final_space": true + "final_space": true, + "version": 1 } diff --git a/themes/craver.omp.json b/themes/craver.omp.json index 28abc79e..de1d963b 100644 --- a/themes/craver.omp.json +++ b/themes/craver.omp.json @@ -1,122 +1,121 @@ { "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", - "console_title": true, - "console_title_style": "template", - "console_title_template": "{{if .Root}}(Admin) {{end}}{{.Folder}}", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "root", - "style": "powerline", - "powerline_symbol": "\uE0C4", - "foreground": "#242424", "background": "#f1184c", - "properties": { - "prefix": "", - "postfix": "" - } - }, - { - "type": "os", - "style": "diamond", - "leading_diamond": " ", - "powerline_symbol": "", - "foreground": "#3A86FF", - "background": "#282c34", - "properties": { - "prefix": "" - } - }, - { - "type": "time", - "style": "powerline", - "powerline_symbol": "\uE0C4", - "foreground": "#FFBB00", - "background": "#242424", - "properties": { - "time_format": "15:04:05", - "prefix": "" - } - }, - { - "type": "path", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#33DD2D", - "background": "#242424", - "properties": { - "prefix": "\uE5FF ", - "style": "folder", - "folder_separator_icon": "/" - } - }, - { - "type": "git", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#3A86FF", - "background": "#242424", - "properties": { - "fetch_status": true, - "fetch_stash_count": true, - "fetch_upstream_icon": true, - "template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ if .Staging.Changed }} \uF046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uF044 {{ .Working.String }}{{ end }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}", - "prefix": "" - } - }, - { - "type": "dotnet", - "style": "powerline", - "powerline_symbol": "\uE0C4", - "foreground": "#ffffff", - "background": "#0184bc", - "properties": { - "prefix": "  " - } - }, - { - "type": "executiontime", - "style": "powerline", - "powerline_symbol": "\uE0C4", - "foreground": "#ffffff", - "background": "#8800dd", - "properties": { - "threshold": 1, - "style": "austin", - "prefix": " <#fefefe>\ufbab " - } - }, - { - "type": "exit", - "style": "powerline", - "powerline_symbol": "\uE0B4", "foreground": "#242424", - "background": "#33DD2D", - "background_templates": ["{{ if gt .Code 0 }}#f1184c{{ end }}"], + "powerline_symbol": "\ue0c4", "properties": { - "template": "\uF7d4" - } + "template": "\uf0e7" + }, + "style": "powerline", + "type": "root" + }, + { + "background": "#282c34", + "foreground": "#3A86FF", + "leading_diamond": " ", + "properties": { + "template": "{{ if .WSL }}WSL at {{ end }}{{.Icon}} " + }, + "style": "diamond", + "type": "os" + }, + { + "background": "#242424", + "foreground": "#FFBB00", + "powerline_symbol": "\ue0c4", + "properties": { + "template": "{{ .CurrentDate | date .Format }} ", + "time_format": "15:04:05" + }, + "style": "powerline", + "type": "time" + }, + { + "background": "#242424", + "foreground": "#33DD2D", + "powerline_symbol": "\ue0b0", + "properties": { + "folder_separator_icon": "/", + "style": "folder", + "template": "\ue5ff {{ .Path }} " + }, + "style": "powerline", + "type": "path" + }, + { + "background": "#242424", + "foreground": "#3A86FF", + "powerline_symbol": "\ue0b0", + "properties": { + "fetch_stash_count": true, + "fetch_status": true, + "fetch_upstream_icon": true, + "template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} " + }, + "style": "powerline", + "type": "git" + }, + { + "background": "#0184bc", + "foreground": "#ffffff", + "powerline_symbol": "\ue0c4", + "properties": { + "template": " \ue70c {{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }} " + }, + "style": "powerline", + "type": "dotnet" + }, + { + "background": "#8800dd", + "foreground": "#ffffff", + "powerline_symbol": "\ue0c4", + "properties": { + "style": "austin", + "template": " <#fefefe>\ufbab {{ .FormattedMs }} ", + "threshold": 1 + }, + "style": "powerline", + "type": "executiontime" + }, + { + "background": "#33DD2D", + "background_templates": [ + "{{ if gt .Code 0 }}#f1184c{{ end }}" + ], + "foreground": "#242424", + "powerline_symbol": "\ue0b4", + "properties": { + "template": " \uf7d4 " + }, + "style": "powerline", + "type": "exit" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "text", - "style": "plain", "foreground": "#f1184c", "properties": { - "prefix": "", - "text": "\u279C" - } + "template": "\u279c " + }, + "style": "plain", + "type": "text" } - ] + ], + "type": "prompt" } - ] + ], + "console_title": true, + "console_title_style": "template", + "console_title_template": "{{if .Root}}(Admin) {{end}}{{.Folder}}", + "version": 1 } diff --git a/themes/darkblood.omp.json b/themes/darkblood.omp.json index 6bfb0bd9..22f03031 100644 --- a/themes/darkblood.omp.json +++ b/themes/darkblood.omp.json @@ -2,67 +2,60 @@ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "session", - "style": "plain", "foreground": "#ffffff", "properties": { - "prefix": "<#CB4B16>┏[", - "postfix": "<#CB4B16>]", - "template": "{{ .UserName }}" - } + "template": "<#CB4B16>\u250f[{{ .UserName }}<#CB4B16>]" + }, + "style": "plain", + "type": "session" }, { - "type": "git", - "style": "plain", "foreground": "#ffffff", "properties": { - "prefix": "<#CB4B16>[", - "postfix": "<#CB4B16>]", - "template": "{{ .HEAD }}" - } + "template": "<#CB4B16>[{{ .HEAD }}<#CB4B16>]" + }, + "style": "plain", + "type": "git" }, { - "type": "root", - "style": "plain", "foreground": "#ffffff", "properties": { - "prefix": "<#CB4B16>[", - "postfix": "<#CB4B16>]" - } + "template": "<#CB4B16>[\uf0e7<#CB4B16>]" + }, + "style": "plain", + "type": "root" }, { - "type": "exit", - "style": "plain", "foreground": "#ffffff", "properties": { - "template": "{{ .Text }}", - "prefix": "<#CB4B16>[x", - "postfix": "<#CB4B16>]" - } + "template": "<#CB4B16>[x{{ .Text }}<#CB4B16>]" + }, + "style": "plain", + "type": "exit" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "path", - "style": "plain", "foreground": "#ffffff", "properties": { "style": "full", - "prefix": "<#CB4B16>┖[", - "postfix": "<#CB4B16>]>" - } + "template": "<#CB4B16>\u2516[{{ .Path }}<#CB4B16>]>" + }, + "style": "plain", + "type": "path" } - ] + ], + "type": "prompt" } ], - "final_space": true + "final_space": true, + "version": 1 } diff --git a/themes/emodipt.omp.json b/themes/emodipt.omp.json index 2f4b3a35..07112b77 100644 --- a/themes/emodipt.omp.json +++ b/themes/emodipt.omp.json @@ -2,62 +2,63 @@ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "time", - "style": "plain", "foreground": "#E5C07B", "properties": { - "time_format": "15:04:05", - "prefix": "[", - "postfix": "]" - } + "template": "[{{ .CurrentDate | date .Format }}]", + "time_format": "15:04:05" + }, + "style": "plain", + "type": "time" }, { - "type": "root", + "foreground": "#B5B50D", + "properties": { + "template": " \uf0e7 " + }, "style": "plain", - "foreground": "#B5B50D" + "type": "root" }, { - "type": "path", - "style": "plain", "foreground": "#61AFEF", "properties": { "style": "agnoster", - "postfix": " on" - } + "template": " {{ .Path }} on" + }, + "style": "plain", + "type": "path" }, { - "type": "git", - "style": "plain", "foreground": "#F3C267", "properties": { - "template": "{{ .HEAD }}", - "branch_identical_icon": "\uF14A", - "branch_gone_icon": "\u274E" - } + "branch_gone_icon": "\u274e", + "branch_identical_icon": "\uf14a", + "template": " {{ .HEAD }} " + }, + "style": "plain", + "type": "git" }, { - "type": "exit", - "style": "plain", "foreground": "#C94A16", "properties": { - "template": "x{{ .Text }}", - "prefix": "" - } + "template": "x{{ .Text }} " + }, + "style": "plain", + "type": "exit" }, { - "type": "text", - "style": "plain", "foreground": "#E06C75", "properties": { - "prefix": "", - "text": "\u276F" - } + "template": "\u276f " + }, + "style": "plain", + "type": "text" } - ] + ], + "type": "prompt" } - ] + ], + "version": 1 } diff --git a/themes/festivetech.omp.json b/themes/festivetech.omp.json index 6241a260..50fbea2f 100644 --- a/themes/festivetech.omp.json +++ b/themes/festivetech.omp.json @@ -1,93 +1,91 @@ { "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", - "final_space": true, "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "session", - "style": "diamond", - "foreground": "#0f1225", "background": "#adbccd", - "leading_diamond": "\uE0B6", - "trailing_diamond": "", - "properties": { - "prefix": "", - "template": "{{ .UserName }}" - } - }, - { - "type": "path", - "style": "powerline", - "powerline_symbol": "\uE0B0", "foreground": "#0f1225", - "background": "#f1ece6", + "leading_diamond": "\ue0b6", "properties": { - "style": "folder" - } - }, - { - "type": "git", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#0f1225", - "background": "#90a7c4", - "properties": { - "fetch_stash_count": true, - "fetch_upstream_icon": true, - "branch_icon": "", - "fetch_status": true, - "template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}", - "prefix": " \u279C (", - "postfix": ") " - } - }, - { - "type": "node", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#ffffff", - "background": "#86BBD8", - "properties": { - "prefix": " \uE718 " - } - }, - { - "type": "time", + "template": "{{ .UserName }} " + }, "style": "diamond", - "trailing_diamond": "\uE0B0", - "foreground": "#ffffff", - "background": "#1f4b8e", + "type": "session" + }, + { + "background": "#f1ece6", + "foreground": "#0f1225", + "powerline_symbol": "\ue0b0", "properties": { - "prefix": " \uf9b6", + "style": "folder", + "template": " {{ .Path }} " + }, + "style": "powerline", + "type": "path" + }, + { + "background": "#90a7c4", + "foreground": "#0f1225", + "powerline_symbol": "\ue0b0", + "properties": { + "branch_icon": "", + "fetch_stash_count": true, + "fetch_status": true, + "fetch_upstream_icon": true, + "template": " \u279c ({{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }}) " + }, + "style": "powerline", + "type": "git" + }, + { + "background": "#86BBD8", + "foreground": "#ffffff", + "powerline_symbol": "\ue0b0", + "properties": { + "template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} " + }, + "style": "powerline", + "type": "node" + }, + { + "background": "#1f4b8e", + "foreground": "#ffffff", + "properties": { + "template": " \uf9b6{{ .CurrentDate | date .Format }} ", "time_format": "15:04" - } + }, + "style": "diamond", + "trailing_diamond": "\ue0b0", + "type": "time" } - ] + ], + "type": "prompt" }, { - "type": "rprompt", "segments": [ { - "type": "text", - "style": "diamond", - "leading_diamond": "\uE0B2", - "trailing_diamond": "\uE0B4", - "foreground": "#ffffff", "background": "#1f4b8e", + "foreground": "#ffffff", + "leading_diamond": "\ue0b2", "properties": { - "template": "\uf1bb {{ .Env.DAYS }} days till Christmas" - } + "template": " \uf1bb {{ .Env.DAYS }} days till Christmas " + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "text" } - ] + ], + "type": "rprompt" } ], "console_title_template": "{{ .Shell }} in {{ .Folder }}", + "final_space": true, "transient_prompt": { "background": "transparent", "foreground": "#ffffff", - "template": "<#1f4b8e,transparent><#ffffff,#1f4b8e>\uf2dc<#1f4b8e,transparent>\uE0B4 {{ .Command }}" - } + "template": "<#1f4b8e,transparent>\ue0b6<#ffffff,#1f4b8e>\uf2dc<#1f4b8e,transparent>\ue0b4 {{ .Command }}" + }, + "version": 1 } diff --git a/themes/fish.omp.json b/themes/fish.omp.json index b9759994..9d8d5b8e 100644 --- a/themes/fish.omp.json +++ b/themes/fish.omp.json @@ -2,63 +2,64 @@ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "exit", - "style": "plain", "foreground": "#ffffff", "properties": { - "template": "{{ .Text }}", - "postfix": "" - } + "template": " {{ .Text }}" + }, + "style": "plain", + "type": "exit" }, { - "type": "root", + "foreground": "#100e23", + "properties": { + "template": " \uf0e7 " + }, "style": "plain", - "foreground": "#100e23" + "type": "root" }, { - "type": "session", - "style": "plain", "foreground": "#ffffff", "properties": { - "template": "{{ .UserName }}@{{ .HostName }}" - } + "template": " {{ .UserName }}@{{ .HostName }} " + }, + "style": "plain", + "type": "session" }, { - "type": "path", - "style": "plain", - "foreground": "#ffffff", "background": "#007ACC", + "foreground": "#ffffff", "properties": { - "folder_icon": "\uF115", - "folder_separator_icon": " \uE0B1 ", + "folder_icon": "\uf115", + "folder_separator_icon": " \ue0b1 ", "style": "full", - "prefix": "\uE0B0 " - } + "template": "\ue0b0 {{ .Path }} " + }, + "style": "plain", + "type": "path" }, { - "type": "git", - "style": "plain", - "foreground": "#ffffff", "background": "#007ACC", + "foreground": "#ffffff", "properties": { - "prefix": "<#ffffff>\uE0B1 ", - "template": "{{ .HEAD }}" - } + "template": "<#ffffff>\ue0b1 {{ .HEAD }} " + }, + "style": "plain", + "type": "git" }, { - "type": "text", - "style": "plain", "foreground": "#007ACC", "properties": { - "prefix": "", - "text": "\uE0B0" - } + "template": "\ue0b0 " + }, + "style": "plain", + "type": "text" } - ] + ], + "type": "prompt" } - ] + ], + "version": 1 } diff --git a/themes/gmay.omp.json b/themes/gmay.omp.json index c1483280..f3aec1f5 100644 --- a/themes/gmay.omp.json +++ b/themes/gmay.omp.json @@ -2,107 +2,115 @@ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "os", + "background": "#3A86FF", + "foreground": "#ffffff", + "leading_diamond": "\ue0b6", + "properties": { + "template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} " + }, "style": "diamond", - "foreground": "#ffffff", - "background": "#3A86FF", - "leading_diamond": "\uE0B6" + "type": "os" }, { - "type": "session", - "style": "powerline", - "foreground": "#ffffff", "background": "#3A86FF", + "foreground": "#ffffff", "properties": { - "template": "{{ .UserName }}@{{ .HostName }}" - } + "template": " {{ .UserName }}@{{ .HostName }} " + }, + "style": "powerline", + "type": "session" }, { - "type": "path", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#ffffff", "background": "#ff479c", + "foreground": "#ffffff", + "powerline_symbol": "\ue0b0", "properties": { - "prefix": " \uE5FF ", - "style": "full" - } + "style": "full", + "template": " \ue5ff {{ .Path }} " + }, + "style": "powerline", + "type": "path" }, { - "type": "time", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#193549", "background": "#4caf50", - "properties": { - "time_format": "2006-01-02 15:04:05" - } - }, - - { - "type": "git", - "style": "powerline", - "powerline_symbol": "\uE0B0", "foreground": "#193549", + "powerline_symbol": "\ue0b0", + "properties": { + "template": " {{ .CurrentDate | date .Format }} ", + "time_format": "2006-01-02 15:04:05" + }, + "style": "powerline", + "type": "time" + }, + { "background": "#fffb38", + "foreground": "#193549", + "powerline_symbol": "\ue0b0", "properties": { "fetch_stash_count": true, "fetch_upstream_icon": true, - "template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}" - } + "template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} " + }, + "style": "powerline", + "type": "git" }, { - "type": "node", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#ffffff", "background": "#6CA35E", - "properties": { - "prefix": " \uE718 " - } - }, - { - "type": "root", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#193549", - "background": "#ffff66" - }, - { - "type": "exit", - "style": "diamond", "foreground": "#ffffff", - "background": "#2e9599", - "background_templates": ["{{ if gt .Code 0 }}#f1184c{{ end }}"], - "leading_diamond": "\uE0B0", - "trailing_diamond": "\uE0B4", + "powerline_symbol": "\ue0b0", "properties": { - "template": "\uF7d4", - "always_enabled": true - } + "template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} " + }, + "style": "powerline", + "type": "node" + }, + { + "background": "#ffff66", + "foreground": "#193549", + "powerline_symbol": "\ue0b0", + "properties": { + "template": " \uf0e7 " + }, + "style": "powerline", + "type": "root" + }, + { + "background": "#2e9599", + "background_templates": [ + "{{ if gt .Code 0 }}#f1184c{{ end }}" + ], + "foreground": "#ffffff", + "leading_diamond": "\ue0b0", + "properties": { + "always_enabled": true, + "template": " \uf7d4 " + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "exit" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "text", - "style": "plain", "foreground": "#f1184c", "properties": { - "prefix": "", - "text": "\uF7C6" - } + "template": "\uf7c6 " + }, + "style": "plain", + "type": "text" } - ] + ], + "type": "prompt" } ], - "final_space": true + "final_space": true, + "version": 1 } diff --git a/themes/grandpa-style.omp.json b/themes/grandpa-style.omp.json index 7d97c482..6f84d984 100644 --- a/themes/grandpa-style.omp.json +++ b/themes/grandpa-style.omp.json @@ -1,136 +1,133 @@ { - "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", - "final_space": false, - "osc99": true, - "console_title": true, - "console_title_style": "template", - "console_title_template": "{{if .Root}} ⚡ {{end}}{{.Folder | replace \"~\" \"🏚\" }} @ {{.HostName}}", - "blocks": [ + "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", + "blocks": [ + { + "alignment": "left", + "segments": [ { - "type": "prompt", - "alignment": "left", - "segments": [ - { - "type": "root", - "style": "plain", - "foreground": "#dd1e1e", - "background": "#000000", - "properties": { - "template": "⚡" - } - }, - { - "type": "os", - "style": "plain", - "foreground": "#ffffff", - "background": "transparent", - "properties": { - "prefix": "" - } - }, - { - "type": "path", - "style": "plain", - "foreground": "#43CCEA", - "background": "#5a3d29", - "properties": { - "home_icon": "\uF7DB", - "folder_icon": "\uF6D7", - "folder_separator_icon": " \uE0BD ", - "style": "agnoster_short" - } - }, - { - "type": "git", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#000000", - "background": "#00C853", - "background_templates": [ - "{{ if or (.Working.Changed) (.Staging.Changed) }}#FFEB3B{{ end }}", - "{{ if and (gt .Ahead 0) (gt .Behind 0) }}#FFCC80{{ end }}", - "{{ if gt .Ahead 0 }}#B388FF{{ end }}", - "{{ if gt .Behind 0 }}#B388FF{{ end }}" - ], - "properties": { - "fetch_stash_count": true, - "fetch_status": true, - "template": "{{ .HEAD }}{{ if .Staging.Changed }}<#FF6F00> \uF046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uF044 {{ .Working.String }}{{ end }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}" - } - }, - { - "type": "executiontime", - "style": "diamond", - "trailing_diamond": "\uE0B0", - "foreground": "#5a3d29", - "background": "#2ba1bb", - "properties": { - "threshold": 0, - "style": "dallas", - "postfix": "s " - } - }, - { - "type": "exit", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#ffffff", - "background": "#910000", - "properties": { - "prefix": " \uF12A ", - "template": "{{ .Text }}" - } - } - ] + "background": "#000000", + "foreground": "#dd1e1e", + "properties": { + "template": " \u26a1 " + }, + "style": "plain", + "type": "root" }, { - "type": "prompt", - "alignment": "right", - "segments": [ - { - "type": "session", - "style": "diamond", - "trailing_diamond": "", - "leading_diamond": "\uE0C5", - "foreground": "#43CCEA", - "background": "#5a3d29", - "properties": { - "postfix": "", - "prefix": " ", - "user_info_separator": " / " - } - }, - { - "type": "time", - "style": "plain", - "foreground": "#43CCEA", - "background": "#5a3d29", - "properties": { - "time_format": "3:04:05 PM", - "prefix": " \uE0BA\uE0BC " - } - } - ] + "background": "transparent", + "foreground": "#ffffff", + "properties": { + "template": "{{ if .WSL }}WSL at {{ end }}{{.Icon}} " + }, + "style": "plain", + "type": "os" }, { - "type": "prompt", - "alignment": "left", - "newline": true, - "segments": [ - { - "type": "exit", - "style": "plain", - "foreground": "#ffffff", - "foreground_templates": [ - "{{ if gt .Code 0 }}#ff0000{{ end }}" - ], - "properties": { - "template": "\u276F", - "prefix": "", - "always_enabled": true - } - } - ] + "background": "#5a3d29", + "foreground": "#43CCEA", + "properties": { + "folder_icon": "\uf6d7", + "folder_separator_icon": " \ue0bd ", + "home_icon": "\uf7db", + "style": "agnoster_short", + "template": " {{ .Path }} " + }, + "style": "plain", + "type": "path" + }, + { + "background": "#00C853", + "background_templates": [ + "{{ if or (.Working.Changed) (.Staging.Changed) }}#FFEB3B{{ end }}", + "{{ if and (gt .Ahead 0) (gt .Behind 0) }}#FFCC80{{ end }}", + "{{ if gt .Ahead 0 }}#B388FF{{ end }}", + "{{ if gt .Behind 0 }}#B388FF{{ end }}" + ], + "foreground": "#000000", + "properties": { + "fetch_stash_count": true, + "fetch_status": true, + "template": " {{ .HEAD }}{{ if .Staging.Changed }}<#FF6F00> \uf046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} " + }, + "style": "diamond", + "leading_diamond": "\ue0b0", + "type": "git" + }, + { + "background": "#2ba1bb", + "foreground": "#5a3d29", + "properties": { + "style": "dallas", + "template": " {{ .FormattedMs }}s ", + "threshold": 0 + }, + "style": "diamond", + "leading_diamond": "\ue0b0", + "type": "executiontime" + }, + { + "background": "#910000", + "foreground": "#ffffff", + "powerline_symbol": "\ue0b0", + "properties": { + "always_enabled": true, + "template": "{{ if gt .Code 0 }}\ue0b0 \uf12a {{ .Meaning }} \ue0b0{{ else }}\ue0b0{{ end }}" + }, + "style": "plain", + "type": "exit" } - ] + ], + "type": "prompt" + }, + { + "alignment": "right", + "segments": [ + { + "background": "#5a3d29", + "foreground": "#43CCEA", + "leading_diamond": "\ue0c5", + "properties": { + "template": " {{ if .SSHSession }}\uf817 {{ end }}{{ .UserName }} / {{ .HostName }}" + }, + "style": "diamond", + "type": "session" + }, + { + "background": "#5a3d29", + "foreground": "#43CCEA", + "properties": { + "template": " \ue0ba\ue0bc {{ .CurrentDate | date .Format }} ", + "time_format": "3:04:05 PM" + }, + "style": "plain", + "type": "time" + } + ], + "type": "prompt" + }, + { + "alignment": "left", + "newline": true, + "segments": [ + { + "foreground": "#ffffff", + "foreground_templates": [ + "{{ if gt .Code 0 }}#ff0000{{ end }}" + ], + "properties": { + "always_enabled": true, + "template": "\u276f " + }, + "style": "plain", + "type": "exit" + } + ], + "type": "prompt" + } + ], + "console_title": true, + "console_title_style": "template", + "console_title_template": "{{if .Root}} \u26a1 {{end}}{{.Folder | replace \"~\" \"🏚\" }} @ {{.HostName}}", + "osc99": true, + "version": 1 } diff --git a/themes/half-life.omp.json b/themes/half-life.omp.json index f06d0d7a..d0435f3f 100644 --- a/themes/half-life.omp.json +++ b/themes/half-life.omp.json @@ -2,68 +2,64 @@ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "session", - "style": "plain", "foreground": "#7E46B6", "properties": { - "prefix": "", - "template": "{{ .UserName }}" - } + "template": "{{ .UserName }} " + }, + "style": "plain", + "type": "session" }, { - "type": "text", - "style": "plain", "foreground": "#ffffff", "properties": { - "prefix": "", - "text": "in" - } + "template": "in " + }, + "style": "plain", + "type": "text" }, { - "type": "path", - "style": "plain", "foreground": "#87FF00", "properties": { "style": "full", - "prefix": "" - } + "template": "{{ .Path }} " + }, + "style": "plain", + "type": "path" }, { - "type": "git", - "style": "plain", "foreground": "#5FD7FF", "properties": { - "prefix": "<#ffffff>on ", - "branch_icon": "", "branch_ahead_icon": "", "branch_behind_icon": "", "branch_gone_icon": "", + "branch_icon": "", "branch_identical_icon": "", + "cherry_pick_icon": "", "commit_icon": "", - "tag_icon": "", + "fetch_status": true, "merge_icon": "", "rebase_icon": "", - "cherry_pick_icon": "", "revert_icon": "", - "template": "{{ .HEAD }}{{ if .Staging.Changed }}<#87FF00> ● {{ .Staging.String }}{{ end }}{{ if .Working.Changed }}<#D75F00> ● {{ .Working.String }}{{ end }}", - "fetch_status": true - } + "tag_icon": "", + "template": "<#ffffff>on {{ .HEAD }}{{ if .Staging.Changed }}<#87FF00> \u25cf {{ .Staging.String }}{{ end }}{{ if .Working.Changed }}<#D75F00> \u25cf {{ .Working.String }}{{ end }} " + }, + "style": "plain", + "type": "git" }, { - "type": "text", - "style": "plain", "foreground": "#D75F00", "properties": { - "text": "λ", - "prefix": "" - } + "template": "λ " + }, + "style": "plain", + "type": "text" } - ] + ], + "type": "prompt" } ], - "final_space": false + "version": 1 } diff --git a/themes/honukai.omp.json b/themes/honukai.omp.json index cb239c8d..1e63bcf3 100644 --- a/themes/honukai.omp.json +++ b/themes/honukai.omp.json @@ -2,94 +2,92 @@ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "session", - "style": "plain", "foreground": "#FFFFFF", "properties": { - "prefix": "<#0377C8># ", - "template": "<#0377C8>{{ .UserName }} <#ffffff>in <#4A9207>{{ .HostName }}" - } + "template": "<#0377C8># <#0377C8>{{ .UserName }} <#ffffff>in <#4A9207>{{ .HostName }} " + }, + "style": "plain", + "type": "session" }, { - "type": "path", - "style": "plain", "foreground": "#0973C0", "properties": { - "folder_icon": "\uF115", - "folder_separator_icon": " \uE0B1 ", - "style": "full" - } + "folder_icon": "\uf115", + "folder_separator_icon": " \ue0b1 ", + "style": "full", + "template": " {{ .Path }} " + }, + "style": "plain", + "type": "path" }, { - "type": "git", - "style": "plain", "foreground": "#B8B80A", "properties": { - "prefix": "<#ffffff>on git:", - "template": "{{ .HEAD }}" - } + "template": "<#ffffff>on git:{{ .HEAD }} " + }, + "style": "plain", + "type": "git" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "right", "segments": [ { - "type": "time", - "style": "plain", "foreground": "#ffffff", "properties": { - "prefix": "[", - "postfix": "]" - } + "template": "[{{ .CurrentDate | date .Format }}]" + }, + "style": "plain", + "type": "time" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "root", - "style": "plain", "foreground": "#CECE04", "properties": { - "prefix": "" - } + "template": "\uf0e7 " + }, + "style": "plain", + "type": "root" }, { - "type": "python", - "style": "plain", "foreground": "#100e23", "properties": { - "prefix": "\uE235 " - } + "template": "\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} " + }, + "style": "plain", + "type": "python" }, { - "type": "exit", - "style": "plain", "foreground": "#CB4B16", "properties": { - "template": "{{ .Text }}" - } + "template": " {{ .Text }} " + }, + "style": "plain", + "type": "exit" }, { - "type": "text", - "style": "plain", "foreground": "#CC4B16", "properties": { - "prefix": "", - "text": "\u279C" - } + "template": "\u279c " + }, + "style": "plain", + "type": "text" } - ] + ], + "type": "prompt" } ], - "final_space": true + "final_space": true, + "version": 1 } diff --git a/themes/hotstick.minimal.omp.json b/themes/hotstick.minimal.omp.json index d6284831..c43b7a52 100644 --- a/themes/hotstick.minimal.omp.json +++ b/themes/hotstick.minimal.omp.json @@ -1,61 +1,62 @@ { "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", - "final_space": true, - "osc99": true, - "console_title": true, - "console_title_style": "template", - "console_title_template": "{{.Folder}}{{if .Root}} :: root{{end}} :: {{.Shell}}", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "root", - "style": "plain", "foreground": "yellow", "properties": { - "template": "" - } + "template": " \ue0a2 " + }, + "style": "plain", + "type": "root" }, { - "type": "path", - "style": "diamond", - "foreground": "black", "background": "lightBlue", - "leading_diamond": "", - "trailing_diamond": "\uE0B0", + "foreground": "black", + "leading_diamond": "\ue0b6", "properties": { - "style": "mixed" - } + "style": "mixed", + "template": " {{ .Path }} " + }, + "style": "diamond", + "trailing_diamond": "\ue0b0", + "type": "path" }, { - "type": "git", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "black", "background": "green", "background_templates": [ "{{ if or (.Working.Changed) (.Staging.Changed) }}yellow{{ end }}" ], + "foreground": "black", + "powerline_symbol": "\ue0b0", "properties": { + "branch_ahead_icon": "\u2191", + "branch_behind_icon": "\u2193", + "branch_gone": "\u2262", + "branch_icon": "\ue0a0 ", + "branch_identical_icon": "\u2261", + "cherry_pick_icon": "\u2713 ", + "commit_icon": "\u25b7 ", "fetch_status": true, - "template": "{{ .HEAD }}{{ if .Staging.Changed }} {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} {{ .Working.String }}{{ end }}", - "branch_icon": " ", - "branch_identical_icon": "≡", - "branch_ahead_icon": "↑", - "branch_behind_icon": "↓", - "branch_gone": "≢", - "stash_count_icon": "", - "commit_icon": "▷ ", - "tag_icon": "▶ ", - "rebase_icon": "Ɫ ", - "cherry_pick_icon": "✓ ", - "merge_icon": "◴ ", - "no_commits_icon": "[no commits]" - } + "merge_icon": "\u25f4 ", + "no_commits_icon": "[no commits]", + "rebase_icon": "\u2c62 ", + "tag_icon": "\u25b6 ", + "template": " {{ .HEAD }}{{ if .Staging.Changed }} {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} {{ .Working.String }}{{ end }} " + }, + "style": "powerline", + "type": "git" } - ] + ], + "type": "prompt" } - ] + ], + "console_title": true, + "console_title_style": "template", + "console_title_template": "{{.Folder}}{{if .Root}} :: root{{end}} :: {{.Shell}}", + "final_space": true, + "osc99": true, + "version": 1 } diff --git a/themes/hunk.omp.json b/themes/hunk.omp.json index 5b40b82c..bfa4cba8 100644 --- a/themes/hunk.omp.json +++ b/themes/hunk.omp.json @@ -1,62 +1,53 @@ { "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", - "final_space": true, - "console_title": true, "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "os", + "background": "#c44569", + "foreground": "#ffffff", + "leading_diamond": "\ue0b6", + "properties": { + "template": "{{ if .WSL }}WSL at {{ end }}{{.Icon}}", + "windows": "\ue62a" + }, "style": "diamond", - "foreground": "#ffffff", + "type": "os" + }, + { "background": "#c44569", - "leading_diamond": "\uE0B6", - "trailing_diamond": "", + "foreground": "#ffffff", + "powerline_symbol": "\ue0b0", "properties": { - "prefix": "", - "windows": "\uE62A", - "postfix": "" - } + "style": "full", + "template": "{{ .Path }} " + }, + "style": "powerline", + "type": "path" }, { - "type": "path", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#ffffff", - "background": "#c44569", - "properties": { - "prefix": "", - "style": "full" - } - }, - { - "type": "node", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#ffffff", "background": "#f78fb3", + "foreground": "#ffffff", + "powerline_symbol": "\ue0b0", "properties": { - "prefix": " \uE718 " - } + "template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} " + }, + "style": "powerline", + "type": "node" }, { - "type": "python", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#ffffff", "background": "#f78fb3", + "foreground": "#ffffff", + "powerline_symbol": "\ue0b0", "properties": { - "prefix": " \uE235 ", - "fetch_version": false - } + "fetch_version": false, + "template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} " + }, + "style": "powerline", + "type": "python" }, { - "type": "git", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#ffffff", "background": "#caffbf", "background_templates": [ "{{ if or (.Working.Changed) (.Staging.Changed) }}#FCA17D{{ end }}", @@ -64,83 +55,94 @@ "{{ if gt .Ahead 0 }}#89d1dc{{ end }}", "{{ if gt .Behind 0 }}#f17c37{{ end }}" ], + "foreground": "#ffffff", + "powerline_symbol": "\ue0b0", "properties": { - "fetch_upstream_icon": true, "fetch_status": true, - "template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ if .Staging.Changed }} \uF046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uF044 {{ .Working.String }}{{ end }}" - } + "fetch_upstream_icon": true, + "template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }} " + }, + "style": "powerline", + "type": "git" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "right", "segments": [ { - "type": "executiontime", - "style": "powerline", - "powerline_symbol": "\uE0B2", - "invert_powerline": true, - "foreground": "#ffffff", "background": "#83769c", + "foreground": "#ffffff", + "invert_powerline": true, + "powerline_symbol": "\ue0b2", "properties": { - "always_enabled": true - } + "always_enabled": true, + "template": " {{ .FormattedMs }} " + }, + "style": "powerline", + "type": "executiontime" }, { - "type": "root", - "style": "powerline", - "powerline_symbol": "\uE0B2", - "invert_powerline": true, + "background": "#86BBD8", "foreground": "#FFD700", - "background": "#86BBD8", + "invert_powerline": true, + "powerline_symbol": "\ue0b2", "properties": { - "postfix": "", - "template": "⚡" - } - }, - { - "type": "session", + "template": " \u26a1" + }, "style": "powerline", - "powerline_symbol": "\uE0B2", - "invert_powerline": true, - "foreground": "#ffffff", - "background": "#86BBD8", - "properties": { - "template": "{{ .UserName }}" - } + "type": "root" }, { - "type": "shell", - "style": "diamond", - "trailing_diamond": "\uE0B4", - "invert_powerline": true, + "background": "#86BBD8", "foreground": "#ffffff", - "background": "#33658A" + "invert_powerline": true, + "powerline_symbol": "\ue0b2", + "properties": { + "template": " {{ .UserName }} " + }, + "style": "powerline", + "type": "session" + }, + { + "background": "#33658A", + "foreground": "#ffffff", + "invert_powerline": true, + "properties": { + "template": " {{ .Name }} " + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "shell" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "root", + "properties": { + "template": " \uf0e7 " + }, "style": "plain", - "properties": {} + "type": "root" }, { - "type": "text", - "style": "plain", "foreground": "#ffffff", "properties": { - "prefix": "", - "postfix": "", - "text": "<#69FF94>\u276F" - } + "template": "<#69FF94>\u276f" + }, + "style": "plain", + "type": "text" } - ] + ], + "type": "prompt" } - ] + ], + "console_title": true, + "final_space": true, + "version": 1 } diff --git a/themes/huvix.omp.json b/themes/huvix.omp.json index c913a20f..4239b26c 100644 --- a/themes/huvix.omp.json +++ b/themes/huvix.omp.json @@ -1,79 +1,70 @@ { - "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", - "blocks": [ - { - "type": "prompt", - "alignment": "left", - "segments": [ - { - "type": "session", - "style": "plain", - "foreground": "#FFE082", - "properties": { - "prefix": "@", - "postfix": " \u279C", - "template": "{{ .UserName }}" - } + "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", + "blocks": [ + { + "alignment": "left", + "segments": [ + { + "foreground": "#FFE082", + "properties": { + "template": "@{{ .UserName }} \u279c" }, - { - "type": "path", - "style": "plain", - "foreground": "#56B6C2", - "properties": { - "style": "agnoster_short" - } + "style": "plain", + "type": "session" + }, + { + "foreground": "#56B6C2", + "properties": { + "style": "agnoster_short", + "template": " {{ .Path }} " + }, + "style": "plain", + "type": "path" + }, + { + "foreground": "#7FD5EA", + "properties": { + "template": "(\ufcd1{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}) " }, - { - "type": "go", - "style": "powerline", - "foreground": "#7FD5EA", - "properties": { - "prefix": "\u0028\uFCD1", - "postfix": "\u0029 " - } - }, - { - "type": "python", - "style": "powerline", - "foreground": "#9e7eff", - "properties": { - "prefix": "\u0028\uE235 ", - "postfix": "\u0029 " - } - }, - { - "type": "git", - "style": "plain", - "foreground": "#56B6C2", - "properties": { - "branch_icon": "", - "template": "{{ .HEAD }}", - "prefix": "<#E8CC97>git(", - "postfix": "<#E8CC97>) " - } - }, - { - "type": "executiontime", - "style": "powerline", - "foreground": "#FFAB91", - "properties": { - "threshold": 100, - "style": "austin", - "prefix": "\u007B", - "postfix": "\u007D", - "always_enabled": false - } - } - ] - }, - { - "type": "prompt", - "alignment": "left", - "newline": true, - "segments": [ - { - "type": "battery", "style": "powerline", + "type": "go" + }, + { + "foreground": "#9e7eff", + "properties": { + "template": "(\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}) " + }, + "style": "powerline", + "type": "python" + }, + { + "foreground": "#56B6C2", + "properties": { + "branch_icon": "", + "template": "<#E8CC97>git({{ .HEAD }}<#E8CC97>) " + }, + "style": "plain", + "type": "git" + }, + { + "foreground": "#FFAB91", + "properties": { + "always_enabled": false, + "style": "austin", + "template": "{{{ .FormattedMs }}}", + "threshold": 100 + }, + "style": "powerline", + "type": "executiontime" + } + ], + "type": "prompt" + }, + { + "alignment": "left", + "newline": true, + "segments": [ + { "foreground": "#193549", "foreground_templates": [ "{{if eq \"Charging\" .State.String}}#64B5F6{{end}}", @@ -81,16 +72,18 @@ "{{if eq \"Full\" .State.String}}#66BB6A{{end}}" ], "properties": { - "discharging_icon": "\uE231 ", - "charging_icon": "\uE234 ", - "charged_icon": "\uE22F ", - "prefix": "\u005B", - "postfix": "\uF295\u005D" - } - } - ] - } - ], - "final_space": true - } - + "charged_icon": "\ue22f ", + "charging_icon": "\ue234 ", + "discharging_icon": "\ue231 ", + "template": "[{{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}\uf295]" + }, + "style": "powerline", + "type": "battery" + } + ], + "type": "prompt" + } + ], + "final_space": true, + "version": 1 +} diff --git a/themes/iterm2.omp.json b/themes/iterm2.omp.json index dacd4f93..53a392bc 100644 --- a/themes/iterm2.omp.json +++ b/themes/iterm2.omp.json @@ -1,53 +1,43 @@ { "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", - "final_space": true, - "console_title": true, - "console_title_style": "template", - "console_title_template": "{{ .Shell }} in {{ .Folder }}", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "os", - "style": "powerline", - "powerline_symbol": "\uE0B0", + "background": "#003543", "foreground": "#fff", - "background": "#003543", + "powerline_symbol": "\ue0b0", "properties": { - "windows": "\uF179", - "postfix": "" - } + "template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}", + "windows": "\uf179" + }, + "style": "powerline", + "type": "os" }, { - "type": "session", - "style": "powerline", - "powerline_symbol": "\uE0B0", + "background": "#003543", "foreground": "#d2ff5e", - "background": "#003543", + "powerline_symbol": "\ue0b0", "properties": { - "prefix": "", - "template": "{{ .UserName }}" - } + "template": "{{ .UserName }} " + }, + "style": "powerline", + "type": "session" }, { - "type": "path", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#003544", "background": "#0087D8", + "foreground": "#003544", + "powerline_symbol": "\ue0b0", "properties": { - "prefix": " \uE5FF ", + "folder_separator_icon": "/", "style": "full", - "folder_separator_icon": "/" - } + "template": " \ue5ff {{ .Path }} " + }, + "style": "powerline", + "type": "path" }, { - "type": "git", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#193549", "background": "#d2ff5e", "background_templates": [ "{{ if or (.Working.Changed) (.Staging.Changed) }}#ff9248{{ end }}", @@ -55,96 +45,106 @@ "{{ if gt .Ahead 0 }}#89d1dc{{ end }}", "{{ if gt .Behind 0 }}#f17c37{{ end }}" ], + "foreground": "#193549", + "powerline_symbol": "\ue0b0", "properties": { - "fetch_status": true, "fetch_stash_count": true, - "template": "{{ .HEAD }}{{ if .Staging.Changed }} \uF046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uF044 {{ .Working.String }}{{ end }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}" - } + "fetch_status": true, + "template": " {{ .HEAD }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} " + }, + "style": "powerline", + "type": "git" }, { - "type": "exit", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#242424", "background": "#33DD2D", - "background_templates": ["{{ if gt .Code 0 }}#f1184c{{ end }}"], + "background_templates": [ + "{{ if gt .Code 0 }}#f1184c{{ end }}" + ], + "foreground": "#242424", + "powerline_symbol": "\ue0b0", "properties": { - "template": "\ufc8d", - "always_enabled": true - } + "always_enabled": true, + "template": " \ufc8d " + }, + "style": "powerline", + "type": "exit" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "right", "segments": [ { - "type": "battery", - "style": "powerline", - "invert_powerline": true, - "powerline_symbol": "\uE0B2", - "foreground": "#242424", "background": "#f36943", "background_templates": [ "{{if eq \"Charging\" .State.String}}#33DD2D{{end}}", "{{if eq \"Discharging\" .State.String}}#FFCD58{{end}}", "{{if eq \"Full\" .State.String}}#0476d0{{end}}" ], + "foreground": "#242424", + "invert_powerline": true, + "powerline_symbol": "\ue0b2", "properties": { - "postfix": "\uF295 \uf583 " - } + "template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}\uf295 \uf583 " + }, + "style": "powerline", + "type": "battery" }, { - "type": "python", - "style": "powerline", - "invert_powerline": true, - "powerline_symbol": "\uE0B2", - "foreground": "#003544", "background": "#0087D8", + "foreground": "#003544", + "invert_powerline": true, + "powerline_symbol": "\ue0b2", "properties": { - "prefix": " \uE235 ", "display_mode": "context", "fetch_virtual_env": true, - "template": "{{ .Venv }}" - } + "template": " \ue235 {{ .Venv }} " + }, + "style": "powerline", + "type": "python" }, { - "type": "time", - "style": "powerline", - "invert_powerline": true, - "powerline_symbol": "\uE0B2", - "foreground": "#fff", "background": "#003543", + "foreground": "#fff", + "invert_powerline": true, + "powerline_symbol": "\ue0b2", "properties": { - "prefix": "<#fff> \uf64f " - } + "template": "<#fff> \uf64f {{ .CurrentDate | date .Format }} " + }, + "style": "powerline", + "type": "time" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "root", - "style": "plain", "foreground": "#FFD700", "properties": { - "template": "⚡" - } + "template": " \u26a1 " + }, + "style": "plain", + "type": "root" }, { - "type": "text", - "style": "plain", "foreground": "#f1184c", "properties": { - "prefix": "", - "text": "🚀" - } + "template": "🚀 " + }, + "style": "plain", + "type": "text" } - ] + ], + "type": "prompt" } - ] + ], + "console_title": true, + "console_title_style": "template", + "console_title_template": "{{ .Shell }} in {{ .Folder }}", + "final_space": true, + "version": 1 } diff --git a/themes/jandedobbeleer.omp.json b/themes/jandedobbeleer.omp.json index f1110c84..3b84c0b7 100644 --- a/themes/jandedobbeleer.omp.json +++ b/themes/jandedobbeleer.omp.json @@ -2,38 +2,33 @@ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "session", - "style": "diamond", - "foreground": "#ffffff", "background": "#c386f1", - "leading_diamond": "", - "trailing_diamond": "\uE0B0", - "properties": { - "template": "{{ .UserName }}" - } - }, - { - "type": "path", - "style": "powerline", - "powerline_symbol": "\uE0B0", "foreground": "#ffffff", - "background": "#ff479c", + "leading_diamond": "\ue0b6", "properties": { - "prefix": "  ", - "home_icon": "~", - "folder_separator_icon": " \uE0b1 ", - "style": "folder" - } + "template": " {{ .UserName }} " + }, + "style": "diamond", + "trailing_diamond": "\ue0b0", + "type": "session" }, { - "type": "git", + "background": "#ff479c", + "foreground": "#ffffff", + "powerline_symbol": "\ue0b0", + "properties": { + "folder_separator_icon": " \ue0b1 ", + "home_icon": "~", + "style": "folder", + "template": " \uf74a {{ .Path }} " + }, "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#193549", + "type": "path" + }, + { "background": "#fffb38", "background_templates": [ "{{ if or (.Working.Changed) (.Staging.Changed) }}#FF9248{{ end }}", @@ -41,198 +36,202 @@ "{{ if gt .Ahead 0 }}#B388FF{{ end }}", "{{ if gt .Behind 0 }}#B388FF{{ end }}" ], - "leading_diamond": "", - "trailing_diamond": "", + "foreground": "#193549", + "leading_diamond": "\ue0b6", + "powerline_symbol": "\ue0b0", "properties": { - "fetch_status": true, - "fetch_stash_count": true, - "fetch_upstream_icon": true, "branch_max_length": 25, - "template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uF044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uF046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}" - } + "fetch_stash_count": true, + "fetch_status": true, + "fetch_upstream_icon": true, + "template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} " + }, + "style": "powerline", + "trailing_diamond": "\ue0b4", + "type": "git" }, { - "type": "node", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#ffffff", "background": "#6CA35E", + "foreground": "#ffffff", + "powerline_symbol": "\ue0b0", "properties": { - "prefix": " \uF898 ", - "fetch_version": true - } + "fetch_version": true, + "template": " \uf898 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} " + }, + "style": "powerline", + "type": "node" }, { - "type": "go", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#111111", "background": "#8ED1F7", + "foreground": "#111111", + "powerline_symbol": "\ue0b0", "properties": { - "prefix": " \uE626 ", - "fetch_version": true - } + "fetch_version": true, + "template": " \ue626 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} " + }, + "style": "powerline", + "type": "go" }, { - "type": "julia", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#111111", "background": "#4063D8", + "foreground": "#111111", + "powerline_symbol": "\ue0b0", "properties": { - "prefix": " \uE624 ", - "fetch_version": true - } + "fetch_version": true, + "template": " \ue624 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} " + }, + "style": "powerline", + "type": "julia" }, { - "type": "python", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#111111", "background": "#FFDE57", + "foreground": "#111111", + "powerline_symbol": "\ue0b0", "properties": { - "prefix": " \uE235 ", "display_mode": "files", "fetch_virtual_env": false, - "template": "{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}" - } + "template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} " + }, + "style": "powerline", + "type": "python" }, { - "type": "ruby", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#ffffff", "background": "#AE1401", + "foreground": "#ffffff", + "powerline_symbol": "\ue0b0", "properties": { - "prefix": " \uE791 ", + "display_mode": "files", "fetch_version": true, - "display_mode": "files" - } + "template": " \ue791 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} " + }, + "style": "powerline", + "type": "ruby" }, { - "type": "azfunc", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#ffffff", "background": "#FEAC19", + "foreground": "#ffffff", + "powerline_symbol": "\ue0b0", "properties": { - "prefix": " \uf0e7", + "display_mode": "files", "fetch_version": false, - "display_mode": "files" - } + "template": " \uf0e7{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} " + }, + "style": "powerline", + "type": "azfunc" }, { - "type": "aws", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#ffffff", "background_templates": [ "{{if contains \"default\" .Profile}}#FFA400{{end}}", "{{if contains \"jan\" .Profile}}#f1184c{{end}}" ], + "foreground": "#ffffff", + "powerline_symbol": "\ue0b0", "properties": { - "prefix": " \uE7AD ", - "display_default": false - } - }, - { - "type": "root", + "display_default": false, + "template": " \ue7ad {{ .Profile }}{{ if .Region }}@{{ .Region }}{{ end }} " + }, "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#111111", + "type": "aws" + }, + { "background": "#ffff66", + "foreground": "#111111", + "powerline_symbol": "\ue0b0", "properties": { - "template": "" - } + "template": " \uf0ad " + }, + "style": "powerline", + "type": "root" }, { - "type": "executiontime", - "style": "plain", - "foreground": "#ffffff", "background": "#83769c", - "leading_diamond": "", - "trailing_diamond": "", + "foreground": "#ffffff", "properties": { "always_enabled": true, - "prefix": "\uE0B0 \ufbab", - "postfix": "\u2800" - } + "template": "\ue0b0 \ufbab{{ .FormattedMs }}\u2800" + }, + "style": "plain", + "type": "executiontime" }, { - "type": "exit", - "style": "diamond", - "foreground": "#ffffff", "background": "#00897b", - "background_templates": ["{{ if gt .Code 0 }}#e91e63{{ end }}"], - "leading_diamond": "", - "trailing_diamond": "\uE0B4", + "background_templates": [ + "{{ if gt .Code 0 }}#e91e63{{ end }}" + ], + "foreground": "#ffffff", "properties": { "always_enabled": true, - "template": "\uE23A", - "prefix": "\uE0B0 " - } + "template": "\ue0b0 \ue23a " + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "exit" } - ] + ], + "type": "prompt" }, { - "type": "rprompt", "segments": [ { - "type": "shell", - "style": "plain", - "foreground": "#ffffff", "background": "#0077c2", - "properties": { - "prefix": "<#0077c2,transparent>\uE0B6  ", - "postfix": " \uE0B2" - } - }, - { - "type": "ytm", - "style": "powerline", - "powerline_symbol": "\uE0B2", - "invert_powerline": true, - "foreground": "#111111", - "background": "#1BD760", - "properties": { - "prefix": " \uF167 ", - "paused_icon": " ", - "playing_icon": " " - } - }, - { - "type": "battery", - "style": "powerline", - "invert_powerline": true, - "powerline_symbol": "\uE0B2", "foreground": "#ffffff", + "properties": { + "template": "<#0077c2,transparent>\ue0b6 \uf489 {{ .Name }} \ue0b2" + }, + "style": "plain", + "type": "shell" + }, + { + "background": "#1BD760", + "foreground": "#111111", + "invert_powerline": true, + "powerline_symbol": "\ue0b2", + "properties": { + "paused_icon": "\uf04c ", + "playing_icon": "\uf04b ", + "template": " \uf167 {{ .Icon }}{{ if ne .Status \"stopped\" }}{{ .Artist }} - {{ .Track }}{{ end }} " + }, + "style": "powerline", + "type": "ytm" + }, + { "background": "#f36943", "background_templates": [ "{{if eq \"Charging\" .State.String}}#40c4ff{{end}}", "{{if eq \"Discharging\" .State.String}}#ff5722{{end}}", "{{if eq \"Full\" .State.String}}#4caf50{{end}}" ], + "foreground": "#ffffff", + "invert_powerline": true, + "powerline_symbol": "\ue0b2", "properties": { - "discharging_icon": " ", - "charging_icon": " ", - "charged_icon": " ", - "postfix": " " - } + "charged_icon": "\ue22f ", + "charging_icon": "\ue234 ", + "discharging_icon": "\ue231 ", + "template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}\uf295 " + }, + "style": "powerline", + "type": "battery" }, { - "type": "time", - "style": "diamond", - "invert_powerline": true, - "leading_diamond": "\uE0B2", - "trailing_diamond": "\uE0B4", "background": "#2e9599", - "foreground": "#111111" + "foreground": "#111111", + "invert_powerline": true, + "leading_diamond": "\ue0b2", + "properties": { + "template": " {{ .CurrentDate | date .Format }} " + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "time" } - ] + ], + "type": "rprompt" } ], - "final_space": true, "console_title": true, "console_title_style": "template", - "console_title_template": "{{ .Shell }} in {{ .Folder }}" + "console_title_template": "{{ .Shell }} in {{ .Folder }}", + "final_space": true, + "version": 1 } diff --git a/themes/jblab_2021.omp.json b/themes/jblab_2021.omp.json index 085c95d0..d0603462 100644 --- a/themes/jblab_2021.omp.json +++ b/themes/jblab_2021.omp.json @@ -1,63 +1,61 @@ { "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", - "final_space": true, - "osc99": true, - "console_title": true, - "console_title_style": "template", - "console_title_template": "{{if .Root}} ⚡ {{end}}{{.Folder | replace \"~\" \"🏠\"}} @ {{.HostName}}", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { "background": "#0C212F", "foreground": "#FFFFFF", - "leading_diamond": "\uE0B6", - "trailing_diamond": "\uE0B0", + "leading_diamond": "\ue0b6", "properties": { - "template": "{{ .Icon }}" + "template": " {{ .Icon }} " }, "style": "diamond", + "trailing_diamond": "\ue0b0", "type": "os" }, { "background": "#DE2121", "foreground": "#FFFFFF", - "leading_diamond": "\uE0B0", + "leading_diamond": "\ue0b0", + "properties": { + "template": " \uf0e7 " + }, "style": "diamond", - "trailing_diamond": "\uE0B0", + "trailing_diamond": "\ue0b0", "type": "root" }, { "background": "#26BDBB", "foreground": "#0C212F", - "leading_diamond": "\uE0B0", + "leading_diamond": "\ue0b0", "properties": { - "folder_icon": "\uF6D7", - "folder_separator_icon": " \uE0B1 ", - "home_icon": "\uF7DB", - "style": "agnoster_short" + "folder_icon": "\uf6d7", + "folder_separator_icon": " \ue0b1 ", + "home_icon": "\uf7db", + "style": "agnoster_short", + "template": " {{ .Path }} " }, "style": "diamond", - "trailing_diamond": "\uE0B0", + "trailing_diamond": "\ue0b0", "type": "path" }, { "background": "#280C2E", - "foreground": "#FFFFFF", "background_templates": [ "{{ if or (.Working.Changed) (.Staging.Changed) }}#7621DE{{ end }}", "{{ if and (gt .Ahead 0) (gt .Behind 0) }}#7621DE{{ end }}", "{{ if gt .Ahead 0 }}#7621DE{{ end }}", "{{ if gt .Behind 0 }}#7621DE{{ end }}" ], - "powerline_symbol": "\uE0B0", + "foreground": "#FFFFFF", + "powerline_symbol": "\ue0b0", "properties": { "fetch_stash_count": true, "fetch_status": true, "fetch_upstream_icon": true, - "template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ if .Staging.Changed }} \uF046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uF044 {{ .Working.String }}{{ end }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}" + "template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} " }, "style": "powerline", "type": "git" @@ -65,40 +63,47 @@ { "background": "#0C212F", "foreground": "#FFFFFF", - "leading_diamond": "\uE0B0", + "leading_diamond": "\ue0b0", "properties": { + "template": " {{ .CurrentDate | date .Format }} ", "time_format": "15:04" }, "style": "diamond", - "trailing_diamond": "\uE0B0", + "trailing_diamond": "\ue0b0", "type": "time" }, { "background": "#26BDBB", "foreground": "#0C212F", - "leading_diamond": "\uE0B0", + "leading_diamond": "\ue0b0", "properties": { - "postfix": "s ", "style": "dallas", + "template": " {{ .FormattedMs }}s ", "threshold": 0 }, "style": "diamond", - "trailing_diamond": "\uE0B0", + "trailing_diamond": "\ue0b0", "type": "executiontime" }, { "background": "#910000", "foreground": "#ffffff", - "leading_diamond": "\uE0B0", + "leading_diamond": "\ue0b0", "properties": { - "template": "{{ .Text }}", - "prefix": " \uF12A " + "template": " \uf12a {{ .Text }} " }, "style": "diamond", - "trailing_diamond": "\uE0B0", + "trailing_diamond": "\ue0b0", "type": "exit" } - ] + ], + "type": "prompt" } - ] + ], + "console_title": true, + "console_title_style": "template", + "console_title_template": "{{if .Root}} \u26a1 {{end}}{{.Folder | replace \"~\" \"🏠\"}} @ {{.HostName}}", + "final_space": true, + "osc99": true, + "version": 1 } diff --git a/themes/jonnychipz.omp.json b/themes/jonnychipz.omp.json index b1e6dc80..6aba4e0e 100644 --- a/themes/jonnychipz.omp.json +++ b/themes/jonnychipz.omp.json @@ -1,75 +1,65 @@ { "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", - "final_space": true, - "console_title": true, - "console_title_style": "template", - "console_title_template": "{{if .Root}}root :: {{end}}{{.Shell}} :: {{.Folder}}", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "text", - "style": "diamond", - "leading_diamond": "\ue0c2\ue0c2", + "background": "#4707a8", "foreground": "#000000", - "background": "#4707a8", + "leading_diamond": "\ue0c2\ue0c2", "properties": { - "text": "", - "postfix": "", - "prefix": "" - } - }, - { - "type": "session", + "template": "" + }, "style": "diamond", - "foreground": "#ffffff", - "background": "#4707a8", - "leading_diamond": "\uE0B6", - "trailing_diamond": "\uE0B0", - "properties": { - "template": "{{ .UserName }}@{{ .HostName }}" - } + "type": "text" }, { - "type": "az", - "style": "powerline", - "powerline_symbol": "\uE0B0", + "background": "#4707a8", "foreground": "#ffffff", + "leading_diamond": "\ue0b6", + "properties": { + "template": " {{ .UserName }}@{{ .HostName }} " + }, + "style": "diamond", + "trailing_diamond": "\ue0b0", + "type": "session" + }, + { "background": "#1a1af5", - "properties": { - "prefix": " \uFD03 " - } - }, - - { - "type": "exit", - "style": "diamond", "foreground": "#ffffff", - "background": "#4707a8", - "background_templates": ["{{ if gt .Code 0 }}#f1184c{{ end }}"], - "leading_diamond": "", - "trailing_diamond": "\uE0B4", + "powerline_symbol": "\ue0b0", + "properties": { + "template": " \ufd03 {{ .Name }} " + }, + "style": "powerline", + "type": "az" + }, + { + "background": "#4707a8", + "background_templates": [ + "{{ if gt .Code 0 }}#f1184c{{ end }}" + ], + "foreground": "#ffffff", "properties": { - "template": " \uE23A", "always_enabled": true, - "prefix": "\uE0B0" - } + "template": "\ue0b0\ue23a " + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "exit" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "os", - "style": "diamond", - "leading_diamond": "\ue0c2\ue0c2", - "foreground": "#000000", "background": "#ffffff", + "foreground": "#000000", + "leading_diamond": "\ue0c2\ue0c2", "properties": { "alpine": "\uf300", "arch": "\uf303", @@ -84,41 +74,38 @@ "mint": "\uf30f", "opensuse": "\uf314", "raspbian": "\uf315", + "template": " {{ if .WSL }}\ue712 on {{ end }}{{ .Icon }}<#000000> \ue0b1", "ubuntu": "\uf31c", - "windows": "\ue70f", - "postfix": "<#000000> \ue0b1", - "template": "{{ if .WSL }}\ue712 on {{ end }}{{ .Icon }}" - } - }, - - { - "type": "root", + "windows": "\ue70f" + }, "style": "diamond", - "foreground": "#ffffff", + "type": "os" + }, + { "background": "#000000", + "foreground": "#ffffff", "properties": { - "template": "\uF0E7", - "postfix": "<#ffffff> \ue0b1" - } + "template": " \uf0e7<#ffffff> \ue0b1" + }, + "style": "diamond", + "type": "root" }, { - "type": "path", - "style": "diamond", - "foreground": "#000000", "background": "#ffffff", + "foreground": "#000000", "properties": { - "prefix": "<#000000> \ue5ff ", - "style": "agnoster_short", - "home_icon": "\uF7DB ", "folder_icon": "<#000000>\ue5fe ", - "folder_separator_icon": "<#000000>\uE0B1 " - } + "folder_separator_icon": "<#000000>\ue0b1 ", + "home_icon": "\uf7db ", + "style": "agnoster_short", + "template": "<#000000> \ue5ff {{ .Path }} " + }, + "style": "diamond", + "type": "path" }, { - "type": "git", - "style": "diamond", - "foreground": "#000000", "background": "#ffffff", + "foreground": "#000000", "foreground_templates": [ "{{ if or (.Working.Changed) (.Staging.Changed) }}#ffea00{{ end }}", "{{ if gt .Ahead 0 }}#2EC4B6{{ end }}", @@ -126,46 +113,53 @@ ], "properties": { "fetch_stash_count": true, - "fetch_upstream_icon": true, "fetch_status": true, - "prefix": "<#000000>\ue0b1 ", - "template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ if .Staging.Changed }}<#2FDA4E> \uF046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }}<#E84855> \uF044 {{ .Working.String }}{{ end }}" - } + "fetch_upstream_icon": true, + "template": "<#000000>\ue0b1 {{ .UpstreamIcon }}{{ .HEAD }}{{ if .Staging.Changed }}<#2FDA4E> \uf046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }}<#E84855> \uf044 {{ .Working.String }}{{ end }} " + }, + "style": "diamond", + "type": "git" }, { - "type": "terraform", - "style": "powerline", - "powerline_symbol": "", + "background": "#ffffff", "foreground": "#000000", - "background": "#ffffff" + "properties": { + "template": " {{ .WorkspaceName }} " + }, + "style": "powerline", + "type": "terraform" }, { - "type": "text", + "background": "#ffffff", + "foreground": "#000000", + "properties": { + "template": "" + }, "style": "diamond", "trailing_diamond": "\ue0b0", - "foreground": "#000000", - "background": "#ffffff", - "properties": { - "text": "", - "postfix": "", - "prefix": "" - } + "type": "text" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "text", - "style": "plain", "foreground": "#1a1af5", "properties": { - "text": "\u276F" - } + "template": " \u276f " + }, + "style": "plain", + "type": "text" } - ] + ], + "type": "prompt" } - ] + ], + "console_title": true, + "console_title_style": "template", + "console_title_template": "{{if .Root}}root :: {{end}}{{.Shell}} :: {{.Folder}}", + "final_space": true, + "version": 1 } diff --git a/themes/jtracey93.omp.json b/themes/jtracey93.omp.json index 5cc6d1a4..6900b02d 100644 --- a/themes/jtracey93.omp.json +++ b/themes/jtracey93.omp.json @@ -7,20 +7,20 @@ { "background": "#EB9654", "foreground": "#ffffff", - "leading_diamond": "", + "leading_diamond": "\ue0b6", "properties": { "display_host": false, - "prefix": "" + "template": "{{ if .SSHSession }}\uf817 {{ end }}{{ .UserName }} " }, "style": "diamond", - "trailing_diamond": "", "type": "session" }, { "background": "lightYellow", "foreground": "#3f3f3f", "properties": { - "style": "full" + "style": "full", + "template": " {{ .Path }} " }, "style": "plain", "type": "path" @@ -30,38 +30,39 @@ "foreground": "#ffffff", "properties": { "fetch_status": true, - "template": "{{ .HEAD }}{{ if .Staging.Changed }} \uF046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uF044 {{ .Working.String }}{{ end }}", - "postfix": ") ", - "prefix": " branch (" + "template": " branch ({{ .HEAD }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}) " }, "style": "plain", "type": "git" }, { - "type": "spotify", - "style": "plain", - "foreground": "#ffffff", "background": "#1BD760", + "foreground": "#ffffff", "properties": { - "track_separator": " - ", + "paused_icon": "", "playing_icon": "", "stopped_icon": "", - "paused_icon": "" - } + "template": " {{ .Icon }}{{ if ne .Status \"stopped\" }}{{ .Artist }} - {{ .Track }}{{ end }} ", + "track_separator": " - " + }, + "style": "plain", + "type": "spotify" }, { "background": "#cc00ff", "foreground": "#ffffff", "properties": { + "template": " {{ .CurrentDate | date .Format }} ", "time_format": "15:04:05" }, "style": "diamond", - "trailing_diamond": "\uE0B0", + "trailing_diamond": "\ue0b0", "type": "time" } ], "type": "prompt" } ], - "final_space": true + "final_space": true, + "version": 1 } diff --git a/themes/jv_sitecorian.omp.json b/themes/jv_sitecorian.omp.json index 1144bd4c..dc95d2fc 100644 --- a/themes/jv_sitecorian.omp.json +++ b/themes/jv_sitecorian.omp.json @@ -1,201 +1,189 @@ { "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", - "final_space": true, - "console_title": true, - "console_title_style": "template", - "console_title_template": "{{if .Root}}Admin: {{end}} {{.Folder}}", "blocks": [ { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "text", - "style": "plain", "foreground": "#ffffff", "properties": { - "prefix": "", - "text": "", - "postfix": "" - } + "template": "" + }, + "style": "plain", + "type": "text" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "text", + "foreground": "#185F7B", + "properties": { + "template": "\ue0c5" + }, "style": "plain", - "foreground": "#185F7B", - "properties": { - "prefix": "\ue0c5", - "text": "", - "postfix": "" - } + "type": "text" }, { - "type": "text", - "style": "powerline", + "background": "#185F7B", + "foreground": "#185F7B", "powerline_symbol": "\ue0c4", - "background": "#185F7B", - "foreground": "#185F7B", "properties": { - "text": "", - "prefix": "", - "postfix": "" - } - }, - { - "type": "path", - "style": "diamond", - "leading_diamond": "", - "trailing_diamond": "\uE0B0", - "foreground": "#ffffff", - "background": "#185F7B", - "properties": { - "style": "mixed", - "home_icon": "\uf7dd ", - "prefix": "" - } - }, - { - "type": "git", + "template": "" + }, "style": "powerline", - "powerline_symbol": "\uE0B0", + "type": "text" + }, + { + "background": "#185F7B", "foreground": "#ffffff", + "properties": { + "home_icon": "\uf7dd ", + "style": "mixed", + "template": "{{ .Path }} " + }, + "style": "diamond", + "trailing_diamond": "\ue0b0", + "type": "path" + }, + { "background": "#6f42c1", - "backround_templates": [ - "{{ if or (.Working.Changed) (.Staging.Changed) }}#176f2c{{ end }}", - "{{ if and (gt .Ahead 0) (gt .Behind 0) }}#f26d50{{ end }}", - "{{ if gt .Ahead 0 }}#0366d6{{ end }}", - "{{ if gt .Behind 0 }}#f9c513{{ end }}" - ], + "foreground": "#ffffff", + "powerline_symbol": "\ue0b0", "properties": { "fetch_stash_count": true, "fetch_status": true, "fetch_upstream_icon": true, - "template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uF044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uF046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}" - } - }, - { - "type": "text", - "style": "plain", - "leading_diamond": "\uE0B0", - "trailing_diamond": "\uE0B0", - "properties": { - "prefix": "", - "text": "", - "postfix": "" - } - }, - { - "type": "exit", + "template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} " + }, "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#ffffff", + "type": "git" + }, + { + "leading_diamond": "\ue0b0", + "properties": { + "template": "" + }, + "style": "plain", + "trailing_diamond": "\ue0b0", + "type": "text" + }, + { "background": "#4caf50", - "background_templates": ["{{ if gt .Code 0 }}red{{ end }}"], + "background_templates": [ + "{{ if gt .Code 0 }}red{{ end }}" + ], + "foreground": "#ffffff", + "powerline_symbol": "\ue0b0", "properties": { "always_enabled": true, - "template": "{{ if gt .Code 0 }}\uf525{{ else }}\uf469 \u2665{{ end }} " - } + "template": " {{ if gt .Code 0 }}\uf525{{ else }}\uf469 \u2665{{ end }} " + }, + "style": "powerline", + "type": "exit" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "right", "segments": [ { - "type": "time", - "style": "diamond", - "leading_diamond": "\ue0c5", - "trailing_diamond": "\ue0c4", - "invert_powerline": true, - "foreground": "#ffffff", "background": "#2B2B2B", + "foreground": "#ffffff", + "invert_powerline": true, + "leading_diamond": "\ue0c5", "properties": { - "postfix": "\u003c#ffffff\u003e \uF64F \u003c/\u003e", + "template": " {{ .CurrentDate | date .Format }}<#ffffff> \uf64f ", "time_format": "3:04:05 PM" - } + }, + "style": "diamond", + "trailing_diamond": "\ue0c4", + "type": "time" }, { - "type": "executiontime", - "style": "diamond", - "leading_diamond": "\ue0c5", - "trailing_diamond": "\ue0c4", - "invert_powerline": true, - "foreground": "#ffffff", "background": "#2B2B2B", + "foreground": "#ffffff", + "invert_powerline": true, + "leading_diamond": "\ue0c5", "properties": { - "postfix": "<#ffffff> \uF252 ", - "always_enabled": true - } + "always_enabled": true, + "template": " {{ .FormattedMs }}<#ffffff> \uf252 " + }, + "style": "diamond", + "trailing_diamond": "\ue0c4", + "type": "executiontime" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "text", - "style": "plain", "foreground": "#2B2B2B", "properties": { - "prefix": "\ue0c5", - "text": "", - "postfix": "" - } + "template": "\ue0c5" + }, + "style": "plain", + "type": "text" }, { - "type": "os", - "style": "powerline", - "powerline_symbol": "\ue0c4", - "foreground": "#1CA6A3", - "background": "#2B2B2B" - }, - { - "type": "root", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#FBD951", "background": "#2B2B2B", + "foreground": "#1CA6A3", + "powerline_symbol": "\ue0c4", "properties": { - "prefix": "" - } + "template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} " + }, + "style": "powerline", + "type": "os" }, { - "type": "session", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#ffffff", - "background": "#DC291E", + "background": "#2B2B2B", + "foreground": "#FBD951", + "powerline_symbol": "\ue0b0", "properties": { - "template": "{{ .UserName }}" - } + "template": "\uf0e7 " + }, + "style": "powerline", + "type": "root" + }, + { + "background": "#DC291E", + "foreground": "#ffffff", + "powerline_symbol": "\ue0b0", + "properties": { + "template": " {{ .UserName }} " + }, + "style": "powerline", + "type": "session" } - ] + ], + "type": "prompt" }, { - "type": "rprompt", "alignment": "right", "segments": [ { - "type": "shell", - "style": "plain", - "foreground": "#666666", "background": "#000000", + "foreground": "#666666", "properties": { - "prefix": " ", - "postfix": "" - } + "template": "\uf489 {{ .Name }}" + }, + "style": "plain", + "type": "shell" } - ] + ], + "type": "rprompt" } - ] + ], + "console_title": true, + "console_title_style": "template", + "console_title_template": "{{if .Root}}Admin: {{end}} {{.Folder}}", + "final_space": true, + "version": 1 } diff --git a/themes/lambda.omp.json b/themes/lambda.omp.json index ec01c9a5..e5b06815 100644 --- a/themes/lambda.omp.json +++ b/themes/lambda.omp.json @@ -2,36 +2,36 @@ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "text", - "style": "plain", "foreground": "#F5F5F5", "properties": { - "prefix": "", - "text": "\uFB26" - } + "template": "\ufb26 " + }, + "style": "plain", + "type": "text" }, { - "type": "path", - "style": "plain", "foreground": "#B80101", "properties": { - "style": "agnoster" - } + "style": "agnoster", + "template": " {{ .Path }} " + }, + "style": "plain", + "type": "path" }, { - "type": "git", - "style": "plain", "foreground": "#B80101", "properties": { - "prefix": " <#F5F5F5>git:", - "template": "{{ .HEAD }}" - } + "template": " <#F5F5F5>git:{{ .HEAD }} " + }, + "style": "plain", + "type": "git" } - ] + ], + "type": "prompt" } - ] + ], + "version": 1 } diff --git a/themes/larserikfinholt.omp.json b/themes/larserikfinholt.omp.json index 2711c60a..0e091031 100644 --- a/themes/larserikfinholt.omp.json +++ b/themes/larserikfinholt.omp.json @@ -2,38 +2,33 @@ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "session", - "style": "diamond", - "foreground": "#ffffff", "background": "#c386f1", - "leading_diamond": "", - "trailing_diamond": "\uE0B0", - "properties": { - "template": "{{ .UserName }}" - } - }, - { - "type": "path", - "style": "powerline", - "powerline_symbol": "\uE0B0", "foreground": "#ffffff", - "background": "#ff479c", + "leading_diamond": "\ue0b6", "properties": { - "prefix": "  ", - "home_icon": "~", - "folder_separator_icon": " \uE0b1 ", - "style": "folder" - } + "template": " {{ .UserName }} " + }, + "style": "diamond", + "trailing_diamond": "\ue0b0", + "type": "session" }, { - "type": "git", + "background": "#ff479c", + "foreground": "#ffffff", + "powerline_symbol": "\ue0b0", + "properties": { + "folder_separator_icon": " \ue0b1 ", + "home_icon": "~", + "style": "folder", + "template": " \uf74a {{ .Path }} " + }, "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#193549", + "type": "path" + }, + { "background": "#fffb38", "background_templates": [ "{{ if or (.Working.Changed) (.Staging.Changed) }}#FF9248{{ end }}", @@ -41,72 +36,71 @@ "{{ if gt .Ahead 0 }}#B388FF{{ end }}", "{{ if gt .Behind 0 }}#B388FF{{ end }}" ], - "leading_diamond": "", - "trailing_diamond": "", + "foreground": "#193549", + "powerline_symbol": "\ue0b0", "properties": { - "fetch_status": true, - "fetch_stash_count": true, - "fetch_upstream_icon": true, "branch_max_length": 25, - "template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uF044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uF046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}" - } + "fetch_stash_count": true, + "fetch_status": true, + "fetch_upstream_icon": true, + "template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} " + }, + "style": "powerline", + "type": "git" }, { - "type": "executiontime", - "style": "plain", - "foreground": "#ffffff", "background": "#83769c", - "leading_diamond": "", - "trailing_diamond": "", + "foreground": "#ffffff", "properties": { "always_enabled": true, - "prefix": "\uE0B0 \ufbab", - "postfix": "\u2800" - } + "template": "\ue0b0 \ufbab{{ .FormattedMs }}\u2800" + }, + "style": "plain", + "type": "executiontime" }, { - "type": "strava", - "style": "powerline", - "foreground": "#ffffff", "background": "#000000", "background_templates": [ "{{ if gt .Hours 100 }}#dc3545{{ end }}", "{{ if and (lt .Hours 100) (gt .Hours 50) }}#ffc107{{ end }}", "{{ if lt .Hours 50 }}#28a745{{ end }}" ], + "foreground": "#ffffff", "foreground_templates": [ "{{ if gt .Hours 100 }}#FFFFFF{{ end }}", "{{ if and (lt .Hours 100) (gt .Hours 50) }}#343a40{{ end }}", "{{ if lt .Hours 50 }}#FFFFFF{{ end }}" ], - "leading_diamond": "", - "trailing_diamond": "", "properties": { "access_token": "0ccbd2ac1e37a5b84101468df3d367177fe02ab3", - "refresh_token": "111111111111111111111111111111", "http_timeout": 1500, - "template": "{{.Name}} {{.Ago}} {{.Icon}}" - } + "refresh_token": "111111111111111111111111111111", + "template": " {{.Name}} {{.Ago}} {{.Icon}} " + }, + "style": "powerline", + "type": "strava" }, { - "type": "exit", - "style": "diamond", - "foreground": "#ffffff", "background": "#00897b", - "background_templates": ["{{ if gt .Code 0 }}#e91e63{{ end }}"], - "leading_diamond": "", - "trailing_diamond": "\uE0B4", + "background_templates": [ + "{{ if gt .Code 0 }}#e91e63{{ end }}" + ], + "foreground": "#ffffff", "properties": { "always_enabled": true, - "template": "\uE23A", - "prefix": "\uE0B0 " - } + "template": "\ue0b0 \ue23a " + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "exit" } - ] + ], + "type": "prompt" } ], - "final_space": true, "console_title": true, "console_title_style": "template", - "console_title_template": "{{ .Shell }} in {{ .Folder }}" + "console_title_template": "{{ .Shell }} in {{ .Folder }}", + "final_space": true, + "version": 1 } diff --git a/themes/marcduiker.omp.json b/themes/marcduiker.omp.json index 05aa7dba..79d454c9 100644 --- a/themes/marcduiker.omp.json +++ b/themes/marcduiker.omp.json @@ -3,37 +3,35 @@ "blocks": [ { "alignment": "left", - "horizontal_offset": 0, - "vertical_offset": 0, "segments": [ { "background": "#feae34", "foreground": "#262b44", - "powerline_symbol": "\uE0B0", - "leading_diamond": "", - "trailing_diamond": "\uE0B0", + "leading_diamond": "\ue0b6", + "powerline_symbol": "\ue0b0", "properties": { - "prefix": "  ", - "style": "folder" + "style": "folder", + "template": " \ue5ff {{ .Path }} " }, "style": "diamond", + "trailing_diamond": "\ue0b0", "type": "path" }, { "background": "#fee761", - "foreground": "#262b44", "background_templates": [ "{{ if or (.Working.Changed) (.Staging.Changed) }}#f77622{{ end }}", "{{ if and (gt .Ahead 0) (gt .Behind 0) }}#e43b44{{ end }}", "{{ if gt .Ahead 0 }}#2ce8f5{{ end }}", "{{ if gt .Behind 0 }}#f77622{{ end }}" ], - "powerline_symbol": "\uE0B0", + "foreground": "#262b44", + "powerline_symbol": "\ue0b0", "properties": { - "fetch_status": true, "fetch_stash_count": true, + "fetch_status": true, "fetch_upstream_icon": true, - "template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Staging.Changed }} \uF046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uF044 {{ .Working.String }}{{ end }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}" + "template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} " }, "style": "powerline", "type": "git" @@ -41,26 +39,32 @@ { "background": "#fee761", "foreground": "#262b44", - "powerline_symbol": "\uE0B0", + "powerline_symbol": "\ue0b0", + "properties": { + "template": " \uf0e7 " + }, "style": "powerline", "type": "root" }, { "background": "#0095e9", + "background_templates": [ + "{{ if gt .Code 0 }}#ff0044{{ end }}" + ], "foreground": "#ffffff", - "background_templates": ["{{ if gt .Code 0 }}#ff0044{{ end }}"], - "leading_diamond": "\uE0B0", + "leading_diamond": "\ue0b0", "properties": { "always_enabled": true, - "template": "" + "template": " \uf0e7 " }, "style": "diamond", - "trailing_diamond": "", + "trailing_diamond": "\ue0b4", "type": "exit" } ], "type": "prompt" } ], - "final_space": true + "final_space": true, + "version": 1 } diff --git a/themes/markbull.omp.json b/themes/markbull.omp.json index 662e34ad..f38429c7 100644 --- a/themes/markbull.omp.json +++ b/themes/markbull.omp.json @@ -1,58 +1,50 @@ { "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", - "osc99": true, - "console_title": true, - "console_title_style": "template", - "console_title_template": "{{if .Root}}\u26a1 {{end}}{{.Folder}}", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "text", - "style": "plain", "foreground": "#ffce7b", "properties": { - "prefix": "", - "template": "\u250c" - } + "template": "\u250c " + }, + "style": "plain", + "type": "text" }, { - "type": "session", - "style": "powerline", - "powerline_symbol": "\ue0b0", - "foreground": "#1d1626", "background": "#ffce7b", + "foreground": "#1d1626", + "powerline_symbol": "\ue0b0", "properties": { - "prefix": " \uF26C " - } + "template": " \uf26c {{ if .SSHSession }}\uf817 {{ end }}{{ .UserName }}@{{ .HostName }} " + }, + "style": "powerline", + "type": "session" }, { - "type": "os", - "style": "powerline", - "powerline_symbol": "\ue0b0", - "foreground": "#fffef9", "background": "#C678DD", - "properties": { - "windows": "\uF17A" - } - }, - { - "type": "path", - "style": "powerline", - "powerline_symbol": "\ue0b0", "foreground": "#fffef9", - "background": "#C678DD", + "powerline_symbol": "\ue0b0", "properties": { - "style": "full" - } + "template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ", + "windows": "\uf17a" + }, + "style": "powerline", + "type": "os" }, { - "type": "git", - "style": "powerline", + "background": "#C678DD", + "foreground": "#fffef9", "powerline_symbol": "\ue0b0", - "foreground": "#100e23", + "properties": { + "style": "full", + "template": " {{ .Path }} " + }, + "style": "powerline", + "type": "path" + }, + { "background": "#fffffb", "background_templates": [ "{{ if or (.Working.Changed) (.Staging.Changed) }}#ffeb95{{ end }}", @@ -60,75 +52,80 @@ "{{ if gt .Ahead 0 }}#95ffa4{{ end }}", "{{ if gt .Behind 0 }}#f7acbc{{ end }}" ], - "properties": { - "fetch_status": true, - "fetch_stash_count": true, - "fetch_worktree_count": true, - "fetch_upstream_icon": true, - "branch_icon": "\uE0A0 ", - "commit_icon": "\uF417 ", - "tag_icon": "\uF412 ", - "github_icon": "\uF408 ", - "gitlab_icon": "\uF296 ", - "bitbucket_icon": "\uF171 ", - "azure_devops_icon": "\uFD03 ", - "git_icon": "\uF1D3 ", - "branch_identical_icon": "\uF690 ", - "branch_gone_icon": "\uF68E ", - "template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} <#ed1941>\uF044 {{.Working.String}}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} <#225a1f>\uF046 {{.Staging.String}}{{ end }}{{ if gt .StashCount 0 }} \uF692 {{.StashCount}}{{ end }}{{ if gt .WorktreeCount 0 }}{{if .IsWorkTree}}<#1d953f>{{ end }} \uF1BB {{if .IsWorkTree}}{{ end }}{{.WorktreeCount}}{{ end }}" - } - }, - { - "type": "executiontime", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#fffef9", - "background": "#33a3dc", - "properties": { - "prefix": " \uF064 ", - "always_enabled": true - } - }, - { - "type": "exit", - "style": "powerline", + "foreground": "#100e23", "powerline_symbol": "\ue0b0", - "foreground": "#fffef9", - "background": "#ed1941", "properties": { - "prefix": " \uF12A >>", - "template": "{{ .Text }}" - } + "azure_devops_icon": "\ufd03 ", + "bitbucket_icon": "\uf171 ", + "branch_gone_icon": "\uf68e ", + "branch_icon": "\ue0a0 ", + "branch_identical_icon": "\uf690 ", + "commit_icon": "\uf417 ", + "fetch_stash_count": true, + "fetch_status": true, + "fetch_upstream_icon": true, + "fetch_worktree_count": true, + "git_icon": "\uf1d3 ", + "github_icon": "\uf408 ", + "gitlab_icon": "\uf296 ", + "tag_icon": "\uf412 ", + "template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} <#ed1941>\uf044 {{.Working.String}}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} <#225a1f>\uf046 {{.Staging.String}}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{.StashCount}}{{ end }}{{ if gt .WorktreeCount 0 }}{{if .IsWorkTree}}<#1d953f>{{ end }} \uf1bb {{if .IsWorkTree}}{{ end }}{{.WorktreeCount}}{{ end }} " + }, + "style": "powerline", + "type": "git" + }, + { + "background": "#33a3dc", + "foreground": "#fffef9", + "powerline_symbol": "\ue0b0", + "properties": { + "always_enabled": true, + "template": " \uf064 {{ .FormattedMs }} " + }, + "style": "powerline", + "type": "executiontime" + }, + { + "background": "#ed1941", + "foreground": "#fffef9", + "powerline_symbol": "\ue0b0", + "properties": { + "template": " \uf12a >>{{ .Text }} " + }, + "style": "powerline", + "type": "exit" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "text", - "style": "plain", "foreground": "#ffce7b", "properties": { - "prefix": "", - "postfix": "", - "text": "\u2514 " - } + "template": "\u2514" + }, + "style": "plain", + "type": "text" }, { - "type": "text", - "style": "plain", "foreground": "#ffffff", "properties": { - "prefix": "", - "postfix": "", - "text": "$" - } + "template": "$" + }, + "style": "plain", + "type": "text" } - ] + ], + "type": "prompt" } ], - "final_space": true + "console_title": true, + "console_title_style": "template", + "console_title_template": "{{if .Root}}\u26a1 {{end}}{{.Folder}}", + "final_space": true, + "osc99": true, + "version": 1 } diff --git a/themes/material.omp.json b/themes/material.omp.json index 1e5d433b..cff6eefd 100644 --- a/themes/material.omp.json +++ b/themes/material.omp.json @@ -2,57 +2,55 @@ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "text", - "style": "plain", "foreground": "#ffffff", "properties": { - "prefix": "", - "postfix": "", - "text": "<#C591E8>\u276F<#69FF94>\u276F" - } + "template": "<#C591E8>\u276f<#69FF94>\u276f" + }, + "style": "plain", + "type": "text" }, { - "type": "path", - "style": "plain", "foreground": "#56B6C2", "properties": { - "style": "folder" - } + "style": "folder", + "template": " {{ .Path }} " + }, + "style": "plain", + "type": "path" }, { - "type": "git", - "style": "plain", "foreground": "#D0666F", "properties": { "branch_icon": "", "fetch_status": false, - "template": "{{ .HEAD }}", - "prefix": "<#5FAAE8>git:(", - "postfix": "<#5FAAE8>)" - } + "template": "<#5FAAE8>git:({{ .HEAD }}<#5FAAE8>)" + }, + "style": "plain", + "type": "git" }, { - "type": "exit", - "style": "plain", "foreground": "#DCB977", "properties": { - "template": "\uF119", - "postfix": "" - } + "template": " \uf119" + }, + "style": "plain", + "type": "exit" }, { - "type": "time", - "style": "plain", "foreground": "#66F68F", "properties": { + "template": " {{ .CurrentDate | date .Format }} ", "time_format": "15:04" - } + }, + "style": "plain", + "type": "time" } - ] + ], + "type": "prompt" } - ] + ], + "version": 1 } diff --git a/themes/microverse-power.omp.json b/themes/microverse-power.omp.json index 35013e54..b20e2afe 100644 --- a/themes/microverse-power.omp.json +++ b/themes/microverse-power.omp.json @@ -2,104 +2,103 @@ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "os", + "foreground": "#3A86FF", + "properties": { + "template": "{{ if .WSL }}WSL at {{ end }}{{.Icon}} " + }, "style": "plain", - "foreground": "#3A86FF", - "properties": { - "prefix": "" - } + "type": "os" }, { - "type": "session", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#f1184c", "background": "#242424", - "properties": { - "postfix": "", - "template": "{{ .UserName }}" - } - }, - { - "type": "root", - "style": "powerline", - "powerline_symbol": "\uE0B0", "foreground": "#f1184c", - "background": "#242424", + "powerline_symbol": "\ue0b0", "properties": { - "prefix": "- root ", - "postfix": "" - } + "template": " {{ .UserName }}" + }, + "style": "powerline", + "type": "session" }, { - "type": "time", + "background": "#242424", + "foreground": "#f1184c", + "powerline_symbol": "\ue0b0", + "properties": { + "template": "- root \uf0e7" + }, "style": "powerline", - "powerline_symbol": "\uE0B0", + "type": "root" + }, + { + "background": "#242424", "foreground": "#FFBB00", - "background": "#242424", + "powerline_symbol": "\ue0b0", "properties": { - "time_format": "2006-01-02 15:04:05", - "prefix": "" - } + "template": "{{ .CurrentDate | date .Format }} ", + "time_format": "2006-01-02 15:04:05" + }, + "style": "powerline", + "type": "time" }, { - "type": "path", - "style": "powerline", - "powerline_symbol": "\uE0B0", + "background": "#242424", "foreground": "#33DD2D", - "background": "#242424", + "powerline_symbol": "\ue0b0", "properties": { - "prefix": "\uE5FF ", + "folder_separator_icon": "/", "style": "full", - "folder_separator_icon": "/" - } + "template": "\ue5ff {{ .Path }} " + }, + "style": "powerline", + "type": "path" }, { - "type": "git", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#3A86FF", "background": "#242424", + "foreground": "#3A86FF", + "powerline_symbol": "\ue0b0", "properties": { "fetch_stash_count": true, "fetch_upstream_icon": true, - "prefix": "", - "template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}" - } + "template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} " + }, + "style": "powerline", + "type": "git" }, { - "type": "exit", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#242424", "background": "#33DD2D", - "background_templates": ["{{ if gt .Code 0 }}#f1184c{{ end }}"], + "background_templates": [ + "{{ if gt .Code 0 }}#f1184c{{ end }}" + ], + "foreground": "#242424", + "powerline_symbol": "\ue0b0", "properties": { "always_enabled": true, - "template": "\ufc8d" - } + "template": " \ufc8d " + }, + "style": "powerline", + "type": "exit" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "text", - "style": "plain", "foreground": "#f1184c", "properties": { - "prefix": "", - "text": "\u279C" - } + "template": "\u279c " + }, + "style": "plain", + "type": "text" } - ] + ], + "type": "prompt" } - ] + ], + "version": 1 } diff --git a/themes/mojada.omp.json b/themes/mojada.omp.json index b7a65ef2..75f40324 100644 --- a/themes/mojada.omp.json +++ b/themes/mojada.omp.json @@ -1,71 +1,65 @@ { + "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "os", + "background": "#fbfbfb", + "foreground": "#0077c2", + "leading_diamond": "\ue0b6", + "properties": { + "arch": "\uf303", + "debian": "\uf306", + "fedora": "\uf30a", + "linux": "\uf17c", + "macos": "\uf179", + "manjaro": "\uf312", + "opensuse": "\uf314", + "template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ", + "ubuntu": "\uf31b", + "windows": "\uf17a" + }, "style": "diamond", - "leading_diamond": "\uE0B6", - "trailing_diamond": "", - "foreground": "#0077c2", - "background": "#fbfbfb", - "properties": { - "macos": "\uEF179", - "windows": "\uF17A", - "linux": "\uF17C", - "debian": "\uF306", - "ubuntu": "\uF31B", - "arch": "\uF303", - "fedora": "\uF30A", - "manjaro": "\uF312", - "opensuse": "\uF314" - } + "type": "os" }, { - "type": "session", - "style": "powerline", - "foreground": "#0077c2", "background": "#fbfbfb", - "powerline_symbol": "\uE0B0", + "foreground": "#0077c2", + "powerline_symbol": "\ue0b0", "properties": { - "prefix": "", "display_host": true, - "template": "{{ .UserName }}<#000000>@<#e06c75>{{ .HostName }}" - } + "template": "{{ .UserName }}<#000000>@<#e06c75>{{ .HostName }} " + }, + "style": "powerline", + "type": "session" }, { - "type": "root", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#ffffff", "background": "#e06c75", - "properties": { - "template": "\uE799 ", - "postfix": "\u2800" - } - }, - { - "type": "path", - "style": "powerline", - "powerline_symbol": "\uE0B0", "foreground": "#ffffff", - "background": "#0077c2", + "powerline_symbol": "\ue0b0", "properties": { - "style": "letter", - "folder_separator_icon": "/", - "prefix": " \uE5FE ", - "home_icon": "~", - "max_depth": 2 - } + "template": " \ue799\u2800" + }, + "style": "powerline", + "type": "root" }, { - "type": "git", + "background": "#0077c2", + "foreground": "#ffffff", + "powerline_symbol": "\ue0b0", + "properties": { + "folder_separator_icon": "/", + "home_icon": "~", + "max_depth": 2, + "style": "letter", + "template": " \ue5fe {{ .Path }} " + }, "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#193549", + "type": "path" + }, + { "background": "#fffb38", "background_templates": [ "{{ if or (.Working.Changed) (.Staging.Changed) }}#ff9248{{ end }}", @@ -73,81 +67,86 @@ "{{ if gt .Ahead 0 }}#f17c37{{ end }}", "{{ if gt .Behind 0 }}#89d1dc{{ end }}" ], + "foreground": "#193549", + "powerline_symbol": "\ue0b0", "properties": { - "fetch_status": true, "fetch_stash_count": true, + "fetch_status": true, "fetch_upstream_icon": true, - "template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Staging.Changed }} \uF046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uF044 {{ .Working.String }}{{ end }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}" - } + "template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} " + }, + "style": "powerline", + "type": "git" }, { - "type": "text", - "style": "plain", "foreground": "#FFD54F", "properties": { - "text": "{{if .Root}}#{{else}}${{end}}", - "postfix": "" - } + "template": " {{if .Root}}#{{else}}${{end}}" + }, + "style": "plain", + "type": "text" } - ] + ], + "type": "prompt" }, { - "type": "rprompt", "segments": [ { - "type": "exit", - "style": "plain", "foreground": "#ffffff", "properties": { "always_enabled": true, - "template": "{{ if gt .Code 0 }}\uF659{{ else }}\uF633{{ end }}" - } + "template": " {{ if gt .Code 0 }}\uf659{{ else }}\uf633{{ end }} " + }, + "style": "plain", + "type": "exit" }, { - "type": "executiontime", - "style": "plain", "foreground": "#ffffff", "properties": { "always_enabled": true, - "prefix": "" - } + "template": "{{ .FormattedMs }} " + }, + "style": "plain", + "type": "executiontime" }, { - "type": "battery", - "style": "powerline", - "invert_powerline": true, - "powerline_symbol": "\uE0B2", - "foreground": "#ffffff", "background": "#f36943", "background_templates": [ "{{if eq \"Charging\" .State.String}}#40c4ff{{end}}", "{{if eq \"Discharging\" .State.String}}#ff5722{{end}}", "{{if eq \"Full\" .State.String}}#4caf50{{end}}" ], + "foreground": "#ffffff", + "invert_powerline": true, + "powerline_symbol": "\ue0b2", "properties": { - "discharging_icon": "\uF57D ", - "charging_icon": "\uF588 ", - "charged_icon": "\uF583 ", - "postfix": "% " - } + "charged_icon": "\uf583 ", + "charging_icon": "\uf588 ", + "discharging_icon": "\uf57d ", + "template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}% " + }, + "style": "powerline", + "type": "battery" }, { - "type": "time", - "style": "diamond", - "invert_powerline": true, - "leading_diamond": "", - "trailing_diamond": "\uE0B4", "background": "#61afef", "foreground": "#ffffff", + "invert_powerline": true, "properties": { + "template": " {{ .CurrentDate | date .Format }} ", "time_format": "15:04 (Mon)" - } + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "time" } - ] + ], + "type": "rprompt" } ], - "final_space": true, "console_title": true, "console_title_style": "template", - "console_title_template": "{{.UserName}}@{{.HostName}} : {{.Folder}}" + "console_title_template": "{{.UserName}}@{{.HostName}} : {{.Folder}}", + "final_space": true, + "version": 1 } diff --git a/themes/mt.omp.json b/themes/mt.omp.json index abab8990..1e562a6a 100644 --- a/themes/mt.omp.json +++ b/themes/mt.omp.json @@ -1,71 +1,69 @@ { "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", - "final_space": true, "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "session", - "style": "diamond", - "foreground": "#ffffff", "background": "#B4009E", - "leading_diamond": "\uE0B6", - "trailing_diamond": "", - "properties": { - "prefix": "", - "template": "{{ .UserName }}" - } - }, - { - "type": "path", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#000000", - "background": "#FFFF00", - "properties": { - "style": "folder" - } - }, - { - "type": "git", - "style": "powerline", - "powerline_symbol": "\uE0B0", "foreground": "#ffffff", - "background": "#4E44FF", + "leading_diamond": "\ue0b6", "properties": { + "template": "{{ .UserName }} " + }, + "style": "diamond", + "type": "session" + }, + { + "background": "#FFFF00", + "foreground": "#000000", + "powerline_symbol": "\ue0b0", + "properties": { + "style": "folder", + "template": " {{ .Path }} " + }, + "style": "powerline", + "type": "path" + }, + { + "background": "#4E44FF", + "foreground": "#ffffff", + "powerline_symbol": "\ue0b0", + "properties": { + "branch_icon": "", "fetch_stash_count": true, "fetch_status": false, "fetch_upstream_icon": true, - "branch_icon": "", - "template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}", - "prefix": " \u279C (", - "postfix": ") " - } - }, - { - "type": "node", + "template": " \u279c ({{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }}) " + }, "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#ffffff", - "background": "#4e903d", - "properties": { - "prefix": " \uE718 " - } + "type": "git" }, { - "type": "time", - "style": "diamond", - "trailing_diamond": "\uE0B0", + "background": "#4e903d", "foreground": "#ffffff", - "background": "#16C60C", + "powerline_symbol": "\ue0b0", "properties": { - "prefix": " \u2665 ", + "template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} " + }, + "style": "powerline", + "type": "node" + }, + { + "background": "#16C60C", + "foreground": "#ffffff", + "properties": { + "template": " \u2665 {{ .CurrentDate | date .Format }} ", "time_format": "15:04" - } + }, + "style": "diamond", + "trailing_diamond": "\ue0b0", + "type": "time" } - ] + ], + "type": "prompt" } - ] + ], + "final_space": true, + "version": 1 } diff --git a/themes/negligible.omp.json b/themes/negligible.omp.json index 070a9ece..fac489c0 100644 --- a/themes/negligible.omp.json +++ b/themes/negligible.omp.json @@ -2,121 +2,119 @@ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "os", + "foreground": "cyan", + "properties": { + "template": "{{ if .WSL }}WSL at {{ end }}{{.Icon}}" + }, "style": "powerline", - "foreground": "cyan", - "properties": { - "prefix": "", - "postfix": "" - } + "type": "os" }, { - "type": "path", - "style": "plain", "foreground": "cyan", "properties": { - "style": "full" - } + "style": "full", + "template": " {{ .Path }} " + }, + "style": "plain", + "type": "path" }, { - "type": "git", - "style": "plain", "foreground": "#F1502F", "properties": { - "prefix": ":: ", "fetch_status": true, - "template": "{{ .HEAD }}{{ .BranchStatus }}{{ if .Staging.Changed }} \uF046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uF044 {{ .Working.String }}{{ end }}" - } + "template": ":: {{ .HEAD }}{{ .BranchStatus }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }} " + }, + "style": "plain", + "type": "git" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "right", "segments": [ { - "type": "root", - "style": "plain", "foreground": "red", "properties": { - "prefix": "| ", - "template": "root" - } + "template": "| root " + }, + "style": "plain", + "type": "root" }, { - "type": "dart", - "style": "powerline", "foreground": "#06A4CE", "properties": { - "prefix": "| \uE798 " - } + "template": "| \ue798 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} " + }, + "style": "powerline", + "type": "dart" }, { - "type": "node", - "style": "powerline", "foreground": "#6CA35E", "properties": { - "prefix": "| \uE718 " - } + "template": "| \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} " + }, + "style": "powerline", + "type": "node" }, { - "type": "python", - "style": "plain", "foreground": "#4584b6", "properties": { - "prefix": "| \uE235 ", "display_mode": "context", "fetch_virtual_env": true, - "template": "{{ .Venv }}" - } + "template": "| \ue235 {{ .Venv }} " + }, + "style": "plain", + "type": "python" }, { - "type": "battery", - "style": "powerline", - "invert_powerline": true, "foreground_templates": [ "{{if eq \"Charging\" .State.String}}#4caf50{{end}}", "{{if eq \"Discharging\" .State.String}}#40c4ff{{end}}", "{{if eq \"Full\" .State.String}}#ff0000{{end}}" ], + "invert_powerline": true, "properties": { - "charging_icon": " ", "charged_icon": "\uf00d ", - "prefix": "| ", - "postfix": "  " - } + "charging_icon": "\ue234 ", + "template": "| {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }} \uf295 " + }, + "style": "powerline", + "type": "battery" }, { - "type": "time", - "style": "plain", "foreground": "lightGreen", "properties": { - "prefix": "| " - } + "template": "| {{ .CurrentDate | date .Format }} " + }, + "style": "plain", + "type": "time" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "exit", - "style": "powerline", "foreground": "lightGreen", - "foreground_templates": ["{{ if gt .Code 0 }}red{{ end }}"], + "foreground_templates": [ + "{{ if gt .Code 0 }}red{{ end }}" + ], "properties": { "always_enabled": true, - "template": "\u279c", - "prefix": "" - } + "template": "\u279c " + }, + "style": "powerline", + "type": "exit" } - ] + ], + "type": "prompt" } - ] + ], + "version": 1 } diff --git a/themes/night-owl.omp.json b/themes/night-owl.omp.json index 09e1229e..ffa0cb4d 100644 --- a/themes/night-owl.omp.json +++ b/themes/night-owl.omp.json @@ -1,62 +1,48 @@ { "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", - "final_space": false, - "osc99": true, - "console_title": true, - "console_title_style": "template", - "console_title_template": "{{ .Folder }}", - "transient_prompt": { - "background": "transparent", - "foreground": "#d6deeb", - "template": "\ue285 " - }, "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "os", - "style": "diamond", - "leading_diamond": "╭─\uE0B6", - "trailing_diamond": "\uE0B0", - "foreground": "#011627", "background": "#21c7a8", + "foreground": "#011627", + "leading_diamond": "\u256d\u2500\ue0b6", "properties": { - "postfix": " ", + "template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ", "windows": "\uf871" - } + }, + "style": "diamond", + "trailing_diamond": "\ue0b0", + "type": "os" }, { - "type": "root", - "style": "diamond", - "leading_diamond": "\uE0B0", - "trailing_diamond": "\uE0B0", - "foreground": "#ffeb95", "background": "#ef5350", + "foreground": "#ffeb95", + "leading_diamond": "\ue0b0", "properties": { - "template": "\uf292 " - } - }, - { - "type": "path", + "template": " \uf292 " + }, "style": "diamond", - "leading_diamond": "\uE0B0", - "trailing_diamond": "\uE0B0", - "foreground": "#011627", - "background": "#82AAFF", - "properties": { - "folder_separator_icon": " <#011627>\uE0B1 ", - "home_icon": "\uf7db ", - "folder_icon": "\uf07c ", - "style": "agnoster" - } + "trailing_diamond": "\ue0b0", + "type": "root" }, { - "type": "git", - "style": "powerline", - "powerline_symbol": "\uE0B0", + "background": "#82AAFF", "foreground": "#011627", + "leading_diamond": "\ue0b0", + "properties": { + "folder_icon": "\uf07c ", + "folder_separator_icon": " <#011627>\ue0b1 ", + "home_icon": "\uf7db ", + "style": "agnoster", + "template": " {{ .Path }} " + }, + "style": "diamond", + "trailing_diamond": "\ue0b0", + "type": "path" + }, + { "background": "#22da6e", "background_templates": [ "{{ if or (.Working.Changed) (.Staging.Changed) }}#addb67{{ end }}", @@ -64,285 +50,281 @@ "{{ if gt .Ahead 0 }}#21c7a8{{ end }}", "{{ if gt .Behind 0 }}#c792ea{{ end }}" ], + "foreground": "#011627", + "powerline_symbol": "\ue0b0", "properties": { "branch_icon": "\ue725 ", - "fetch_status": true, "fetch_stash_count": true, - "fetch_worktree_count": true, + "fetch_status": true, "fetch_upstream_icon": true, - "template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uF044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uF046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}" - } + "fetch_worktree_count": true, + "template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} " + }, + "style": "powerline", + "type": "git" }, { - "type": "executiontime", - "style": "diamond", - "leading_diamond": "\uE0B0", - "trailing_diamond": "\uE0B4", - "foreground": "#d6deeb", "background": "#575656", + "foreground": "#d6deeb", + "leading_diamond": "\ue0b0", "properties": { - "threshold": 0, - "style": "roundrock" - } + "style": "roundrock", + "template": " {{ .FormattedMs }} ", + "threshold": 0 + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "executiontime" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "right", "segments": [ { - "type": "shell", - "style": "diamond", - "leading_diamond": "\uE0B6", - "trailing_diamond": "\uE0B2", - "foreground": "#011627", "background": "#d6deeb", + "foreground": "#011627", + "leading_diamond": "\ue0b6", "properties": { - "prefix": "\uf489 ", - "postfix": "" - } + "template": "\uf489 {{ .Name }}" + }, + "style": "diamond", + "trailing_diamond": "\ue0b2", + "type": "shell" }, { - "type": "sysinfo", - "style": "diamond", - "leading_diamond": "\uE0B2", - "trailing_diamond": "\uE0B2", - "foreground": "#ffffff", "background": "#8f43f3", - "properties": { - "prefix": " \uf85a ", - "postfix": "% ", - "template": "{{ round .PhysicalPercentUsed .Precision }}" - } - }, - { - "type": "node", - "style": "diamond", - "leading_diamond": "\uE0B2", - "trailing_diamond": "\uE0B2", - "foreground": "#3C873A", - "background": "#303030", - "properties": { - "prefix": "\uE718 ", - "postfix": "", - "display_package_manager": true, - "yarn_icon": " <#348cba>", - "npm_icon": " <#cc3a3a> " - } - }, - { - "type": "python", - "style": "diamond", - "leading_diamond": "\uE0B2", - "trailing_diamond": "\uE0B2", - "foreground": "#FFE873", - "background": "#306998", - "properties": { - "prefix": "\uE235 ", - "postfix": "" - } - }, - { - "type": "java", - "style": "diamond", - "leading_diamond": "\uE0B2", - "trailing_diamond": "\uE0B2", - "foreground": "#ec2729", - "background": "#ffffff", - "properties": { - "prefix": "\uE738 ", - "postfix": "" - } - }, - { - "type": "php", - "style": "diamond", - "leading_diamond": "\uE0B2", - "trailing_diamond": "\uE0B2", - "foreground": "#000000", - "background": "#787CB5", - "properties": { - "prefix": "\ue73d ", - "postfix": "" - } - }, - { - "type": "dotnet", - "style": "diamond", - "leading_diamond": "\uE0B2", - "trailing_diamond": "\uE0B2", - "foreground": "#0d6da8", - "background": "#0e0e0e", - "properties": { - "prefix": "\uE77F ", - "postfix": "" - } - }, - { - "type": "go", - "style": "diamond", - "leading_diamond": "\uE0B2", - "trailing_diamond": "\uE0B2", - "foreground": "#06aad5", - "background": "#ffffff", - "properties": { - "prefix": "\uFCD1 ", - "postfix": "" - } - }, - { - "type": "rust", - "style": "diamond", - "leading_diamond": "\uE0B2", - "trailing_diamond": "\uE0B2", - "foreground": "#925837", - "background": "#f3f0ec", - "properties": { - "prefix": "\uE7a8 ", - "postfix": "" - } - }, - { - "type": "dart", - "style": "diamond", - "leading_diamond": "\uE0B2", - "trailing_diamond": "\uE0B2", - "foreground": "#055b9c", - "background": "#e1e8e9", - "properties": { - "prefix": "\uE798 ", - "postfix": "" - } - }, - { - "type": "angular", - "style": "diamond", - "leading_diamond": "\uE0B2", - "trailing_diamond": "\uE0B2", - "foreground": "#ce092f", - "background": "#ffffff", - "properties": { - "prefix": "\uE753 ", - "postfix": "" - } - }, - { - "type": "julia", - "style": "diamond", - "leading_diamond": "\uE0B2", - "trailing_diamond": "\uE0B2", - "foreground": "#359a25", - "background": "#945bb3", - "properties": { - "prefix": "<#ca3c34>\uE624 ", - "postfix": "" - } - }, - { - "type": "ruby", - "style": "diamond", - "leading_diamond": "\uE0B2", - "trailing_diamond": "\uE0B2", - "foreground": "#9c1006", - "background": "#ffffff", - "properties": { - "prefix": "\uE791 ", - "postfix": "" - } - }, - { - "type": "azfunc", - "style": "diamond", - "leading_diamond": "\uE0B2", - "trailing_diamond": "\uE0B2", - "foreground": "#5398c2", - "background": "#ffffff", - "properties": { - "prefix": "\uf104<#f5bf45>\uf0e7\uf105 ", - "postfix": "" - } - }, - { - "type": "aws", - "style": "diamond", - "leading_diamond": "\uE0B2", - "trailing_diamond": "\uE0B2", - "foreground": "#faa029", - "background": "#565656", - "properties": { - "prefix": "\uE7AD ", - "postfix": "", - "template": "{{.Profile}}{{if .Region}}@{{.Region}}{{end}}" - } - }, - { - "type": "kubectl", - "style": "diamond", - "leading_diamond": "\uE0B2", - "trailing_diamond": "\uE0B2", "foreground": "#ffffff", - "background": "#316ce4", + "leading_diamond": "\ue0b2", "properties": { - "prefix": "\uFD31 ", - "postfix": "", - "template": "{{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}}" - } + "template": " \uf85a {{ round .PhysicalPercentUsed .Precision }}% " + }, + "style": "diamond", + "trailing_diamond": "\ue0b2", + "type": "sysinfo" }, { - "type": "time", - "style": "diamond", - "leading_diamond": "\uE0B2", - "trailing_diamond": "\uE0B4", - "foreground": "#d6deeb", - "background": "#234d70", + "background": "#303030", + "foreground": "#3C873A", + "leading_diamond": "\ue0b2", "properties": { - "prefix": "\uf64f ", - "postfix": "", + "fetch_package_manager": true, + "npm_icon": " <#cc3a3a>\ue71e ", + "template": "\ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}", + "yarn_icon": " <#348cba>\uf61a" + }, + "style": "diamond", + "trailing_diamond": "\ue0b2", + "type": "node" + }, + { + "background": "#306998", + "foreground": "#FFE873", + "leading_diamond": "\ue0b2", + "properties": { + "template": "\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}" + }, + "style": "diamond", + "trailing_diamond": "\ue0b2", + "type": "python" + }, + { + "background": "#ffffff", + "foreground": "#ec2729", + "leading_diamond": "\ue0b2", + "properties": { + "template": "\ue738 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}" + }, + "style": "diamond", + "trailing_diamond": "\ue0b2", + "type": "java" + }, + { + "background": "#787CB5", + "foreground": "#000000", + "leading_diamond": "\ue0b2", + "properties": { + "template": "\ue73d {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}" + }, + "style": "diamond", + "trailing_diamond": "\ue0b2", + "type": "php" + }, + { + "background": "#0e0e0e", + "foreground": "#0d6da8", + "leading_diamond": "\ue0b2", + "properties": { + "template": "\ue77f {{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }}" + }, + "style": "diamond", + "trailing_diamond": "\ue0b2", + "type": "dotnet" + }, + { + "background": "#ffffff", + "foreground": "#06aad5", + "leading_diamond": "\ue0b2", + "properties": { + "template": " \ufcd1 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} " + }, + "style": "diamond", + "trailing_diamond": "\ue0b2", + "type": "go" + }, + { + "background": "#f3f0ec", + "foreground": "#925837", + "leading_diamond": "\ue0b2", + "properties": { + "template": " \ue7a8 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} " + }, + "style": "diamond", + "trailing_diamond": "\ue0b2", + "type": "rust" + }, + { + "background": "#e1e8e9", + "foreground": "#055b9c", + "leading_diamond": "\ue0b2", + "properties": { + "template": " \ue798 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} " + }, + "style": "diamond", + "trailing_diamond": "\ue0b2", + "type": "dart" + }, + { + "background": "#ffffff", + "foreground": "#ce092f", + "leading_diamond": "\ue0b2", + "properties": { + "template": " \ue753 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} " + }, + "style": "diamond", + "trailing_diamond": "\ue0b2", + "type": "angular" + }, + { + "background": "#945bb3", + "foreground": "#359a25", + "leading_diamond": "\ue0b2", + "properties": { + "template": " <#ca3c34>\ue624 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} " + }, + "style": "diamond", + "trailing_diamond": "\ue0b2", + "type": "julia" + }, + { + "background": "#ffffff", + "foreground": "#9c1006", + "leading_diamond": "\ue0b2", + "properties": { + "template": " \ue791 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} " + }, + "style": "diamond", + "trailing_diamond": "\ue0b2", + "type": "ruby" + }, + { + "background": "#ffffff", + "foreground": "#5398c2", + "leading_diamond": "\ue0b2", + "properties": { + "template": " \uf104<#f5bf45>\uf0e7\uf105 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} " + }, + "style": "diamond", + "trailing_diamond": "\ue0b2", + "type": "azfunc" + }, + { + "background": "#565656", + "foreground": "#faa029", + "leading_diamond": "\ue0b2", + "properties": { + "template": " \ue7ad {{.Profile}}{{if .Region}}@{{.Region}}{{end}} " + }, + "style": "diamond", + "trailing_diamond": "\ue0b2", + "type": "aws" + }, + { + "background": "#316ce4", + "foreground": "#ffffff", + "leading_diamond": "\ue0b2", + "properties": { + "template": " \ufd31 {{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}} " + }, + "style": "diamond", + "trailing_diamond": "\ue0b2", + "type": "kubectl" + }, + { + "background": "#234d70", + "foreground": "#d6deeb", + "leading_diamond": "\ue0b2", + "properties": { + "template": " \uf64f {{ .CurrentDate | date .Format }} ", "time_format": "15:04:05" - } + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "time" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "text", - "style": "plain", "foreground": "#21c7a8", "properties": { - "prefix": "", - "postfix": "", - "text": "╰─" - } + "template": "\u2570\u2500" + }, + "style": "plain", + "type": "text" }, { - "type": "spotify", - "style": "diamond", - "leading_diamond": "\uE0B6", - "trailing_diamond": "\uE0c6 ", - "foreground": "#011627", "background": "#1DB954", + "foreground": "#011627", + "leading_diamond": "\ue0b6", "properties": { "playing_icon": "\uf1bc ", + "template": " {{ .Icon }}{{ if ne .Status \"stopped\" }}{{ .Artist }} - {{ .Track }}{{ end }} ", "track_separator": " ~ " - } + }, + "style": "diamond", + "trailing_diamond": "\ue0c6 ", + "type": "spotify" }, { - "type": "exit", - "style": "plain", "foreground": "#22da6e", - "foreground_templates": ["{{ if gt .Code 0 }}#ef5350{{ end }}"], + "foreground_templates": [ + "{{ if gt .Code 0 }}#ef5350{{ end }}" + ], "properties": { - "prefix": "", - "template": "\ue285\ue285", - "always_enabled": true - } + "always_enabled": true, + "template": "\ue285\ue285 " + }, + "style": "plain", + "type": "exit" } - ] + ], + "type": "prompt" } - ] + ], + "console_title": true, + "console_title_style": "template", + "console_title_template": "{{ .Folder }}", + "osc99": true, + "transient_prompt": { + "background": "transparent", + "foreground": "#d6deeb", + "template": "\ue285 " + }, + "version": 1 } diff --git a/themes/nordtron.omp.json b/themes/nordtron.omp.json index 650c799d..9ff1bc16 100644 --- a/themes/nordtron.omp.json +++ b/themes/nordtron.omp.json @@ -1,108 +1,95 @@ { "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", - "display_status": true, "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "session", - "style": "plain", "foreground": "#88c0d0", "properties": { - "prefix": "<#5e81ac>┏[", - "postfix": "<#5e81ac>]", - "template": "{{ .UserName }}" - } + "template": "<#5e81ac>\u250f[{{ .UserName }}<#5e81ac>]" + }, + "style": "plain", + "type": "session" }, { - "type": "git", - "style": "plain", "foreground": "#b48ead", "properties": { - "prefix": "<#5e81ac>--[", - "postfix": "<#5e81ac>]", + "fetch_stash_count": true, "fetch_status": true, - "display_status": true, - "display_stash_count": true, - "display_upstream_icon": true, - "template": "{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }}<#8fbcbb> ● {{ end }}{{ if .Staging.Changed }}<#88c0d0> ● {{ end }}" - } + "fetch_upstream_icon": true, + "template": "<#5e81ac>--[{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }}<#8fbcbb> \u25cf {{ end }}{{ if .Staging.Changed }}<#88c0d0> \u25cf {{ end }}<#5e81ac>]" + }, + "style": "plain", + "type": "git" }, { - "type": "aws", - "style": "plain", "foreground": "#b48ead", "properties": { - "prefix": "<#5e81ac>--[", - "postfix": "<#5e81ac>]", - "template": "{{.Profile}}{{if .Region}}@{{.Region}}{{end}}" - } + "template": "<#5e81ac>--[{{.Profile}}{{if .Region}}@{{.Region}}{{end}}<#5e81ac>]" + }, + "style": "plain", + "type": "aws" }, { - "type": "kubectl", - "style": "plain", "foreground": "#b48ead", "properties": { - "prefix": "<#5e81ac>--[", - "postfix": "<#5e81ac>]", - "template": "{{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}}" - } - }, - { - "type": "root", + "template": "<#5e81ac>--[{{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}}<#5e81ac>]" + }, "style": "plain", - "foreground": "#d8dee9", - "properties": { - "prefix": "<#5e81ac>[", - "postfix": "<#5e81ac>]" - } + "type": "kubectl" }, { - "type": "exit", - "style": "plain", "foreground": "#d8dee9", "properties": { - "template": "{{ .Text }}", - "prefix": "<#5e81ac>[x", - "postfix": "<#5e81ac>]" - } + "template": "<#5e81ac>[\uf0e7<#5e81ac>]" + }, + "style": "plain", + "type": "root" + }, + { + "foreground": "#d8dee9", + "properties": { + "template": "<#5e81ac>[x{{ .Text }}<#5e81ac>]" + }, + "style": "plain", + "type": "exit" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "path", - "style": "plain", "foreground": "#88c0d0", "properties": { "style": "full", - "prefix": "<#5e81ac>┖[", - "postfix": "<#5e81ac>]" - } + "template": "<#5e81ac>\u2516[{{ .Path }}<#5e81ac>]" + }, + "style": "plain", + "type": "path" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "text", - "style": "plain", "foreground": "#5e81ac", "properties": { - "text": "\uE602" - } + "template": " \ue602 " + }, + "style": "plain", + "type": "text" } - ] - } + ], + "type": "prompt" + } ], - "final_space": true + "final_space": true, + "version": 1 } diff --git a/themes/nu4a.omp.json b/themes/nu4a.omp.json index 4d4386c5..067a039d 100644 --- a/themes/nu4a.omp.json +++ b/themes/nu4a.omp.json @@ -1,96 +1,96 @@ { "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", - "final_space": true, - "osc99": false, - "console_title": true, - "console_title_style": "template", - "console_title_template": "{{if .Root}} ⚡ {{end}}{{.UserName}} ➔ 📁{{.Folder}}", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "session", - "style": "powerline", - "foreground": "#100e23", "background": "#cfcfc4", "background_templates": [ "{{if .Root}}#ff3026{{else}}#cfcfc4{{end}}" ], + "foreground": "#100e23", "properties": { - "prefix": "", - "postfix": "", "display_host": false, - "template": "{{if .Root}} \uF0E7 {{.UserName}} {{else}} {{.UserName}} {{end}}" - } + "template": "{{if .Root}} \uf0e7 {{.UserName}} {{else}} {{.UserName}} {{end}}" + }, + "style": "powerline", + "type": "session" }, { - "type": "path", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#100e23", "background": "#ec9706", + "foreground": "#100e23", + "powerline_symbol": "\ue0b0", "properties": { - "home_icon": "\uf7db", - "folder_icon": "\uE5FF", + "folder_icon": "\ue5ff", "folder_separator_icon": "\ue0b9", - "mixed_threshold": 8, - "style": "mixed", + "home_icon": "\uf7db", "mapped_locations": { "C:\\Users": "\uf007", "C:\\Windows": "\ue62a" - } - } + }, + "mixed_threshold": 8, + "style": "mixed", + "template": " {{ .Path }} " + }, + "style": "powerline", + "type": "path" }, { - "type": "git", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#193549", "background": "#3feb56", + "foreground": "#193549", + "powerline_symbol": "\ue0b0", "properties": { - "template": "{{ .HEAD }}" - } + "template": " {{ .HEAD }} " + }, + "style": "powerline", + "type": "git" }, { - "type": "python", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#100e23", "background": "#906cff", + "foreground": "#100e23", + "powerline_symbol": "\ue0b0", "properties": { - "prefix": " \uE235 " - } + "template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} " + }, + "style": "powerline", + "type": "python" } - ] + ], + "type": "prompt" }, { - "type": "rprompt", "alignment": "right", "segments": [ { - "type": "exit", - "style": "diamond", - "leading_diamond": "\ue0c2", - "trailing_diamond": "\ue0c0", - "foreground": "#ffffff", "background": "#ff4040", + "foreground": "#ffffff", + "leading_diamond": "\ue0c2", "properties": { - "template": "\ue70f" - } + "template": " \ue70f " + }, + "style": "diamond", + "trailing_diamond": "\ue0c0", + "type": "exit" }, { - "type": "executiontime", - "style": "diamond", - "foreground": "#fafafa", "background": "#2f2f2f", + "foreground": "#fafafa", "leading_diamond": "\ue0b2", "properties": { - "style": "austin" - } + "style": "austin", + "template": " {{ .FormattedMs }} " + }, + "style": "diamond", + "type": "executiontime" } - ] + ], + "type": "rprompt" } - ] + ], + "console_title": true, + "console_title_style": "template", + "console_title_template": "{{if .Root}} \u26a1 {{end}}{{.UserName}} \u2794 📁{{.Folder}}", + "final_space": true, + "version": 1 } diff --git a/themes/paradox.omp.json b/themes/paradox.omp.json index 97995a07..0a8f9012 100644 --- a/themes/paradox.omp.json +++ b/themes/paradox.omp.json @@ -2,86 +2,89 @@ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "root", - "style": "powerline", - "powerline_symbol": "\uE0B0", + "background": "#ffe9aa", "foreground": "#100e23", - "background": "#ffe9aa" + "powerline_symbol": "\ue0b0", + "properties": { + "template": " \uf0e7 " + }, + "style": "powerline", + "type": "root" }, { - "type": "session", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#100e23", "background": "#ffffff", + "foreground": "#100e23", + "powerline_symbol": "\ue0b0", "properties": { - "template": "{{ .UserName }}@{{ .HostName }}" - } + "template": " {{ .UserName }}@{{ .HostName }} " + }, + "style": "powerline", + "type": "session" }, { - "type": "path", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#100e23", "background": "#91ddff", - "properties": { - "folder_icon": "\uF115", - "folder_separator_icon": " \uE0B1 ", - "style": "full" - } - }, - { - "type": "git", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#193549", - "background": "#95ffa4", - "properties": { - "template": "{{ .HEAD }}" - } - }, - { - "type": "python", - "style": "powerline", - "powerline_symbol": "\uE0B0", "foreground": "#100e23", - "background": "#906cff", + "powerline_symbol": "\ue0b0", "properties": { - "prefix": " \uE235 " - } + "folder_icon": "\uf115", + "folder_separator_icon": " \ue0b1 ", + "style": "full", + "template": " {{ .Path }} " + }, + "style": "powerline", + "type": "path" }, { - "type": "exit", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#ffffff", - "background": "#ff8080", + "background": "#95ffa4", + "foreground": "#193549", + "powerline_symbol": "\ue0b0", "properties": { - "template": "\uE20F" - } + "template": " {{ .HEAD }} " + }, + "style": "powerline", + "type": "git" + }, + { + "background": "#906cff", + "foreground": "#100e23", + "powerline_symbol": "\ue0b0", + "properties": { + "template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} " + }, + "style": "powerline", + "type": "python" + }, + { + "background": "#ff8080", + "foreground": "#ffffff", + "powerline_symbol": "\ue0b0", + "properties": { + "template": " \ue20f " + }, + "style": "powerline", + "type": "exit" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "text", - "style": "plain", "foreground": "#007ACC", "properties": { - "prefix": "", - "text": "\u276F" - } + "template": "\u276f " + }, + "style": "plain", + "type": "text" } - ] + ], + "type": "prompt" } ], - "final_space": false + "version": 1 } diff --git a/themes/pararussel.omp.json b/themes/pararussel.omp.json index cd2b3325..29ff077a 100644 --- a/themes/pararussel.omp.json +++ b/themes/pararussel.omp.json @@ -2,78 +2,76 @@ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "text", - "style": "plain", "foreground": "#ffffff", "properties": { - "prefix": "", - "text": "<#C591E8>\u276F<#69FF94>\u276F" - } + "template": "<#C591E8>\u276f<#69FF94>\u276f " + }, + "style": "plain", + "type": "text" }, { - "type": "path", - "style": "plain", "foreground": "#56B6C2", "properties": { - "prefix": "", - "style": "folder" - } + "style": "folder", + "template": "{{ .Path }} " + }, + "style": "plain", + "type": "path" }, { - "type": "git", - "style": "plain", "foreground": "#D0666F", "properties": { "branch_icon": "", - "prefix": "<#5FAAE8>git:(", - "postfix": "<#5FAAE8>)", - "template": "{{ .HEAD }}" - } + "template": "<#5FAAE8>git:({{ .HEAD }}<#5FAAE8>)" + }, + "style": "plain", + "type": "git" }, { - "type": "exit", - "style": "plain", "foreground": "#DCB977", "properties": { - "template": "\uF119" - } + "template": " \uf119 " + }, + "style": "plain", + "type": "exit" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "right", "segments": [ { - "type": "command", - "style": "plain", "foreground": "#ffffff", "properties": { + "command": "git log --pretty=format:%cr -1 || date +%H:%m:%S", "shell": "bash", - "command": "git log --pretty=format:%cr -1 || date +%H:%m:%S" - } + "template": " {{ .Output }} " + }, + "style": "plain", + "type": "command" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "text", - "style": "plain", "foreground": "#ffffff", "properties": { - "prefix": "", - "text": "\uF441" - } + "template": "\uf441 " + }, + "style": "plain", + "type": "text" } - ] + ], + "type": "prompt" } - ] + ], + "version": 1 } diff --git a/themes/patriksvensson.omp.json b/themes/patriksvensson.omp.json index c82ec5a5..7039ac8d 100644 --- a/themes/patriksvensson.omp.json +++ b/themes/patriksvensson.omp.json @@ -1,38 +1,32 @@ { - "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh3/main/themes/schema.json", - "final_space": true, + "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "root", - "style": "plain", - "powerline_symbol": "\uE0B0", "foreground": "red", + "powerline_symbol": "\ue0b0", "properties": { - "prefix": "", - "template": "\uF0E7" - } + "template": "\uf0e7 " + }, + "style": "plain", + "type": "root" }, { - "type": "path", - "style": "plain", "foreground": "blue", "properties": { - "prefix": "", - "postfix": "", - "home_icon": "\uF7DB", - "folder_icon": "\uE5FF", + "folder_icon": "\ue5ff", "folder_separator_icon": "/", - "style": "agnoster" - } + "home_icon": "\uf7db", + "style": "agnoster", + "template": "{{ .Path }}" + }, + "style": "plain", + "type": "path" }, { - "type": "git", - "style": "plain", "foreground": "green", "foreground_templates": [ "{{ if or (.Working.Changed) (.Staging.Changed) }}yellow{{ end }}", @@ -41,50 +35,51 @@ "{{ if gt .Behind 0 }}green{{ end }}" ], "properties": { - "fetch_status": true, "fetch_stash_count": true, + "fetch_status": true, "fetch_upstream_icon": true, - "prefix": " on ", - "postfix": "", - "github_icon": " ", - "template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uF044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uF046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}" - } + "github_icon": "\uf408 ", + "template": " on {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }}" + }, + "style": "plain", + "type": "git" }, { - "type": "dotnet", - "style": "plain", "foreground": "magenta", "properties": { - "prefix": " [.NET] " - } + "template": " [.NET] {{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }} " + }, + "style": "plain", + "type": "dotnet" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "time", - "style": "plain", "foreground": "yellow", "properties": { - "prefix": "", + "template": "{{ .CurrentDate | date .Format }} ", "time_format": "15:04:05" - } + }, + "style": "plain", + "type": "time" }, { - "type": "text", - "style": "plain", "foreground": "green", "properties": { - "prefix": "", - "postfix": "", - "text": "\u276F" - } + "template": "\u276f" + }, + "style": "plain", + "type": "text" } - ] + ], + "type": "prompt" } - ] + ], + "final_space": true, + "version": 1 } diff --git a/themes/pixelrobots.omp.json b/themes/pixelrobots.omp.json index 75be8d74..4df44996 100644 --- a/themes/pixelrobots.omp.json +++ b/themes/pixelrobots.omp.json @@ -1,60 +1,49 @@ { "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", - "final_space": true, - "console_title": true, - "console_title_style": "template", - "console_title_template": "{{if .Root}}root :: {{end}}{{.Shell}} :: {{.Folder}}", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "text", - "style": "diamond", + "background": "#ffea00", + "foreground": "#000000", "leading_diamond": "\ue0c7\u2593", - "foreground": "#000000", - "background": "#ffea00", "properties": { - "text": "", - "postfix": "", - "prefix": "" - } + "template": "" + }, + "style": "diamond", + "type": "text" }, { - "type": "kubectl", - "style": "powerline", - "powerline_symbol": "", - "foreground": "#000000", "background": "#ffea00", + "foreground": "#000000", "properties": { - "prefix": " \uFD31", - "template": " {{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}}" - } + "template": " \ufd31{{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}} " + }, + "style": "powerline", + "type": "kubectl" }, { - "type": "az", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#000000", "background": "#008AD7", + "foreground": "#000000", + "powerline_symbol": "\ue0b0", "properties": { - "prefix": " \uFD03 " - } + "template": " \ufd03 {{ .Name }} " + }, + "style": "powerline", + "type": "az" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "os", - "style": "diamond", - "leading_diamond": "\ue0c7\u2593", - "foreground": "#26C6DA", "background": "#2f2f2f", + "foreground": "#26C6DA", + "leading_diamond": "\ue0c7\u2593", "properties": { "alpine": "\uf300", "arch": "\uf303", @@ -69,50 +58,47 @@ "mint": "\uf30f", "opensuse": "\uf314", "raspbian": "\uf315", + "template": " {{ if .WSL }}\ue712 on {{ end }}{{ .Icon }}<#ffea00> \ue0b1", "ubuntu": "\uf31c", - "windows": "\ue70f", - "postfix": "<#ffea00> \ue0b1", - "template": "{{ if .WSL }}\ue712 on {{ end }}{{ .Icon }}" - } + "windows": "\ue70f" + }, + "style": "diamond", + "type": "os" }, { - "type": "session", - "style": "diamond", - "foreground": "#ffea00", "background": "#2f2f2f", - "properties": { - "postfix": "<#ffea00> \ue0b1", - "template": "{{ if ne .Env.POSH_SESSION_DEFAULT_USER .UserName }}{{ .UserName }}{{ end }}" - } - }, - { - "type": "root", - "style": "diamond", "foreground": "#ffea00", - "background": "#2f2f2f", "properties": { - "template": "\uF0E7", - "postfix": "<#ffea00> \ue0b1" - } + "template": " {{ if ne .Env.POSH_SESSION_DEFAULT_USER .UserName }}{{ .UserName }}{{ end }}<#ffea00> \ue0b1" + }, + "style": "diamond", + "type": "session" }, { - "type": "path", + "background": "#2f2f2f", + "foreground": "#ffea00", + "properties": { + "template": " \uf0e7<#ffea00> \ue0b1" + }, "style": "diamond", + "type": "root" + }, + { + "background": "#2f2f2f", "foreground": "#fafafa", - "background": "#2f2f2f", "properties": { - "prefix": "<#f2f200> \ue5ff ", - "style": "agnoster_short", - "home_icon": "\uF7DB ", "folder_icon": "<#B5B2C2>\ue5fe ", - "folder_separator_icon": "<#ffea00>\uE0B1 " - } + "folder_separator_icon": "<#ffea00>\ue0b1 ", + "home_icon": "\uf7db ", + "style": "agnoster_short", + "template": "<#f2f200> \ue5ff {{ .Path }} " + }, + "style": "diamond", + "type": "path" }, { - "type": "git", - "style": "diamond", - "foreground": "#ffea00", "background": "#2f2f2f", + "foreground": "#ffea00", "foreground_templates": [ "{{ if or (.Working.Changed) (.Staging.Changed) }}#ffea00{{ end }}", "{{ if gt .Ahead 0 }}#2EC4B6{{ end }}", @@ -122,37 +108,42 @@ "fetch_stash_count": true, "fetch_status": true, "fetch_upstream_icon": true, - "prefix": "<#ffea00>\ue0b1 ", - "template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }}<#E84855> \uF044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }}<#2FDA4E> \uF046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}" - } + "template": "<#ffea00>\ue0b1 {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }}<#E84855> \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }}<#2FDA4E> \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} " + }, + "style": "diamond", + "type": "git" }, { - "type": "text", + "background": "#2f2f2f", + "foreground": "#fafafa", + "properties": { + "template": "" + }, "style": "diamond", "trailing_diamond": "\ue0b0", - "foreground": "#fafafa", - "background": "#2f2f2f", - "properties": { - "text": "", - "postfix": "", - "prefix": "" - } + "type": "text" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "text", - "style": "plain", "foreground": "#ffea00", "properties": { - "text": "\u276F" - } + "template": " \u276f " + }, + "style": "plain", + "type": "text" } - ] + ], + "type": "prompt" } - ] + ], + "console_title": true, + "console_title_style": "template", + "console_title_template": "{{if .Root}}root :: {{end}}{{.Shell}} :: {{.Folder}}", + "final_space": true, + "version": 1 } diff --git a/themes/plague.omp.json b/themes/plague.omp.json index f03151f7..99759ade 100644 --- a/themes/plague.omp.json +++ b/themes/plague.omp.json @@ -2,95 +2,99 @@ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "session", - "style": "diamond", - "foreground": "#ff0000", "background": "#333333", - "leading_diamond": "\uE0B6", - "trailing_diamond": "\uE0B0", + "foreground": "#ff0000", + "leading_diamond": "\ue0b6", "properties": { - "template": "{{ .UserName }}@{{ .HostName }}" - } + "template": " {{ .UserName }}@{{ .HostName }} " + }, + "style": "diamond", + "trailing_diamond": "\ue0b0", + "type": "session" }, { - "type": "spotify", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#434343", "background": "#1BD760", + "foreground": "#434343", + "powerline_symbol": "\ue0b0", "properties": { - "prefix": " \uF9C6 " - } + "template": " \uf9c6 {{ .Icon }}{{ if ne .Status \"stopped\" }}{{ .Artist }} - {{ .Track }}{{ end }} " + }, + "style": "powerline", + "type": "spotify" }, { - "type": "path", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#000000", "background": "#ff0000", + "foreground": "#000000", + "powerline_symbol": "\ue0b0", "properties": { - "prefix": " \uE5FF ", - "style": "folder" - } + "style": "folder", + "template": " \ue5ff {{ .Path }} " + }, + "style": "powerline", + "type": "path" }, { - "type": "git", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#193549", "background": "#fffb38", + "foreground": "#193549", + "powerline_symbol": "\ue0b0", "properties": { "fetch_stash_count": true, "fetch_upstream_icon": true, - "template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}" - } + "template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} " + }, + "style": "powerline", + "type": "git" }, { - "type": "node", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#ffffff", "background": "#6CA35E", + "foreground": "#ffffff", + "powerline_symbol": "\ue0b0", "properties": { - "prefix": " \uE718 " - } + "template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} " + }, + "style": "powerline", + "type": "node" }, { - "type": "shell", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#ffffff", "background": "#203248", + "foreground": "#ffffff", + "powerline_symbol": "\ue0b0", "properties": { - "prefix": " \uFCB5 " - } - }, - { - "type": "root", + "template": " \ufcb5 {{ .Name }} " + }, "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#ffffff", - "background": "#ffff66" + "type": "shell" }, { - "type": "exit", - "style": "plain", + "background": "#ffff66", "foreground": "#ffffff", + "powerline_symbol": "\ue0b0", + "properties": { + "template": " \uf0e7 " + }, + "style": "powerline", + "type": "root" + }, + { "background": "#2e9599", - "background_templates": ["{{ if gt .Code 0 }}#f1184c{{ end }}"], + "background_templates": [ + "{{ if gt .Code 0 }}#f1184c{{ end }}" + ], + "foreground": "#ffffff", "properties": { "always_enabled": true, - "template": " \uE23A ", - "prefix": "\uE0B0", - "postfix": "\uE0B4" - } + "template": "\ue0b0 \ue23a \ue0b4" + }, + "style": "plain", + "type": "exit" } - ] + ], + "type": "prompt" } ], - "final_space": true + "final_space": true, + "version": 1 } diff --git a/themes/powerlevel10k_classic.omp.json b/themes/powerlevel10k_classic.omp.json index 68848075..29c3f922 100644 --- a/themes/powerlevel10k_classic.omp.json +++ b/themes/powerlevel10k_classic.omp.json @@ -2,100 +2,102 @@ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "os", - "style": "plain", - "foreground": "#26C6DA", "background": "#546E7A", + "foreground": "#26C6DA", "properties": { - "postfix": " \uE0B1" - } + "template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} \ue0b1" + }, + "style": "plain", + "type": "os" }, { - "type": "root", - "style": "plain", - "foreground": "#26C6DA", - "background": "#546E7A" - }, - { - "type": "path", - "style": "plain", - "foreground": "#26C6DA", "background": "#546E7A", + "foreground": "#26C6DA", "properties": { - "style": "full" - } + "template": " \uf0e7 " + }, + "style": "plain", + "type": "root" }, { - "type": "git", + "background": "#546E7A", + "foreground": "#26C6DA", + "properties": { + "style": "full", + "template": " {{ .Path }} " + }, "style": "plain", + "type": "path" + }, + { + "background": "#546E7A", "foreground": "#D4E157", - "background": "#546E7A", "properties": { - "prefix": "<#26C6DA>\uE0B1 ", - "template": "{{ .HEAD }}" - } + "template": "<#26C6DA>\ue0b1 {{ .HEAD }} " + }, + "style": "plain", + "type": "git" }, { - "type": "text", - "style": "plain", - "foreground": "#546E7A", "background": "transparent", + "foreground": "#546E7A", "properties": { - "text": "\uE0B0", - "prefix": "", - "postfix": "" - } + "template": "\ue0b0" + }, + "style": "plain", + "type": "text" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "right", "segments": [ { - "type": "session", - "style": "diamond", - "foreground": "#D4E157", "background": "#546E7A", - "leading_diamond": "\uE0B2", + "foreground": "#D4E157", + "leading_diamond": "\ue0b2", "properties": { - "postfix": " <#26C6DA>\uE0B3 ", - "template": "{{ .UserName }}@{{ .HostName }}" - } + "template": " {{ .UserName }}@{{ .HostName }} <#26C6DA>\ue0b3 " + }, + "style": "diamond", + "type": "session" }, { - "type": "time", - "style": "plain", - "foreground": "#D4E157", "background": "#546E7A", + "foreground": "#D4E157", "properties": { - "time_format": "15:04:05", - "postfix": " \uF017 " - } + "template": " {{ .CurrentDate | date .Format }} \uf017 ", + "time_format": "15:04:05" + }, + "style": "plain", + "type": "time" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "exit", - "style": "plain", "foreground": "#D4E157", - "foreground_templates": ["{{ if gt .Code 0 }}#FF5252{{ end }}"], + "foreground_templates": [ + "{{ if gt .Code 0 }}#FF5252{{ end }}" + ], "properties": { - "template": "\u276F", - "prefix": "", - "always_enabled": true - } + "always_enabled": true, + "template": "\u276f " + }, + "style": "plain", + "type": "exit" } - ] + ], + "type": "prompt" } - ] + ], + "version": 1 } diff --git a/themes/powerlevel10k_lean.omp.json b/themes/powerlevel10k_lean.omp.json index 93a9ea7d..663de82e 100644 --- a/themes/powerlevel10k_lean.omp.json +++ b/themes/powerlevel10k_lean.omp.json @@ -2,53 +2,53 @@ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { - "type": "prompt", "alignment": "right", - "vertical_offset": -1, "segments": [ { - "type": "time", - "style": "plain", "foreground": "#00C5C7", "properties": { + "template": " {{ .CurrentDate | date .Format }} ", "time_format": "15:04:05" - } + }, + "style": "plain", + "type": "time" } - ] + ], + "type": "prompt", + "vertical_offset": -1 }, { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "path", - "style": "plain", "foreground": "#77E4F7", "properties": { - "prefix": "", - "style": "full" - } + "style": "full", + "template": "{{ .Path }} " + }, + "style": "plain", + "type": "path" }, { - "type": "git", - "style": "plain", "foreground": "#FFE700", "properties": { - "prefix": "", - "template": "{{ .HEAD }}" - } + "template": "{{ .HEAD }} " + }, + "style": "plain", + "type": "git" }, { - "type": "text", - "style": "plain", "foreground": "#43D426", "properties": { - "prefix": "", - "text": "\u276F" - } + "template": "\u276f " + }, + "style": "plain", + "type": "text" } - ] + ], + "type": "prompt" } - ] + ], + "version": 1 } diff --git a/themes/powerlevel10k_modern.omp.json b/themes/powerlevel10k_modern.omp.json index 4f0f2612..2606a44a 100644 --- a/themes/powerlevel10k_modern.omp.json +++ b/themes/powerlevel10k_modern.omp.json @@ -1,105 +1,112 @@ { - "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh3/main/themes/schema.json", + "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "os", - "style": "diamond", - "foreground": "#000000", "background": "#ffffff", - "leading_diamond": "\uE0B6", - "trailing_diamond": "\uE0B4" - }, - { - "type": "root", - "style": "powerline", "foreground": "#000000", - "background": "#0000ff", - "powerline_symbol": "\uE0B4", + "leading_diamond": "\ue0b6", "properties": { - "style": "full" - } + "template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} " + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "os" }, { - "type": "path", + "background": "#0000ff", + "foreground": "#000000", + "powerline_symbol": "\ue0b4", + "properties": { + "style": "full", + "template": " \uf0e7 " + }, "style": "powerline", + "type": "root" + }, + { + "background": "#0000ff", "foreground": "#ffffff", - "background": "#0000ff", - "powerline_symbol": "\uE0B4", + "powerline_symbol": "\ue0b4", "properties": { - "style": "full" - } + "style": "full", + "template": " {{ .Path }} " + }, + "style": "powerline", + "type": "path" }, { - "type": "git", - "style": "powerline", - "foreground": "#000000", "background": "#D4E157", - "powerline_symbol": "\uE0B4", + "foreground": "#000000", + "powerline_symbol": "\ue0b4", "properties": { - "template": "{{ .HEAD }}" - } + "template": " {{ .HEAD }} " + }, + "style": "powerline", + "type": "git" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "right", "segments": [ { - "type": "python", - "style": "diamond", - "foreground": "#000000", "background": "#D4E157", - "leading_diamond": "\uE0B6", - "properties": { - "postfix": " <#000000>\uE0B6" - } - }, - { - "type": "go", - "style": "diamond", - "foreground": "#ffffff", - "background": "#7FD5EA", - "leading_diamond": "\uE0B6", - "fetch_version": true, - "properties": { - "postfix": " <#000000>\uE0B6" - } - }, - { - "type": "time", - "style": "diamond", "foreground": "#000000", - "background": "#ffffff", - "leading_diamond": "\uE0B6", - "trailing_diamond": "\uE0B4", + "leading_diamond": "\ue0b6", "properties": { + "template": " {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} \ue0b6" + }, + "style": "diamond", + "type": "python" + }, + { + "background": "#7FD5EA", + "foreground": "#ffffff", + "leading_diamond": "\ue0b6", + "properties": { + "template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} \ue0b6" + }, + "style": "diamond", + "type": "go" + }, + { + "background": "#ffffff", + "foreground": "#000000", + "leading_diamond": "\ue0b6", + "properties": { + "template": " {{ .CurrentDate | date .Format }} ", "time_format": "15:04:05" - } + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "time" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "exit", - "style": "plain", "foreground": "#D4E157", - "foreground_templates": ["{{ if gt .Code 0 }}#FF5252{{ end }}"], + "foreground_templates": [ + "{{ if gt .Code 0 }}#FF5252{{ end }}" + ], "properties": { - "template": "\u276F", - "prefix": "", - "always_enabled": true - } + "always_enabled": true, + "template": "\u276f " + }, + "style": "plain", + "type": "exit" } - ] + ], + "type": "prompt" } - ] + ], + "version": 1 } diff --git a/themes/powerlevel10k_rainbow.omp.json b/themes/powerlevel10k_rainbow.omp.json index 52e78464..51c49696 100644 --- a/themes/powerlevel10k_rainbow.omp.json +++ b/themes/powerlevel10k_rainbow.omp.json @@ -1,34 +1,32 @@ { - "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh3/main/themes/schema.json", + "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "os", - "style": "diamond", - "foreground": "#000000", "background": "#d3d7cf", - "leading_diamond": "╭─" - }, - { - "type": "path", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#e4e4e4", - "background": "#3465a4", - "properties": { - "prefix": " \uF07C ", - "home_icon": "~", - "style": "full" - } - }, - { - "type": "git", - "style": "powerline", - "powerline_symbol": "\uE0B0", "foreground": "#000000", + "leading_diamond": "\u256d\u2500\ue0b2", + "properties": { + "template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} " + }, + "style": "diamond", + "type": "os" + }, + { + "background": "#3465a4", + "foreground": "#e4e4e4", + "powerline_symbol": "\ue0b0", + "properties": { + "home_icon": "~", + "style": "full", + "template": " \uf07c {{ .Path }} " + }, + "style": "powerline", + "type": "path" + }, + { "background": "#4e9a06", "background_templates": [ "{{ if or (.Working.Changed) (.Staging.Changed) }}#c4a000{{ end }}", @@ -36,194 +34,197 @@ "{{ if gt .Ahead 0 }}#89d1dc{{ end }}", "{{ if gt .Behind 0 }}#4e9a06{{ end }}" ], + "foreground": "#000000", + "powerline_symbol": "\ue0b0", "properties": { - "branch_icon": "\uF126 ", + "branch_icon": "\uf126 ", "fetch_stash_count": true, "fetch_status": true, "fetch_upstream_icon": true, - "template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uF044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uF046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}" - } + "template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} " + }, + "style": "powerline", + "type": "git" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "right", "segments": [ { - "type": "node", - "style": "powerline", - "powerline_symbol": "", - "invert_powerline": true, - "foreground": "#ffffff", "background": "#689f63", + "foreground": "#ffffff", + "invert_powerline": true, + "powerline_symbol": "\ue0b2", "properties": { - "postfix": " \uF898 ", - "fetch_version": true - } + "fetch_version": true, + "template": " {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} \uf898 " + }, + "style": "powerline", + "type": "node" }, { - "type": "go", - "style": "powerline", - "powerline_symbol": "", - "invert_powerline": true, - "foreground": "#111111", "background": "#00acd7", + "foreground": "#111111", + "invert_powerline": true, + "powerline_symbol": "\ue0b2", "properties": { - "postfix": " \uE627 ", - "fetch_version": true - } + "fetch_version": true, + "template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} \ue627 " + }, + "style": "powerline", + "type": "go" }, { - "type": "julia", - "style": "powerline", - "powerline_symbol": "", - "invert_powerline": true, - "foreground": "#111111", "background": "#4063D8", + "foreground": "#111111", + "invert_powerline": true, + "powerline_symbol": "\ue0b2", "properties": { - "postfix": " \uE624 ", - "fetch_version": true - } + "fetch_version": true, + "template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} \ue624 " + }, + "style": "powerline", + "type": "julia" }, { - "type": "python", - "style": "powerline", - "powerline_symbol": "", - "invert_powerline": true, - "foreground": "#111111", "background": "#FFDE57", + "foreground": "#111111", + "invert_powerline": true, + "powerline_symbol": "\ue0b2", "properties": { - "postfix": " \uE235 ", "display_mode": "files", "fetch_virtual_env": false, - "template": "{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}" - } + "template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} \ue235 " + }, + "style": "powerline", + "type": "python" }, { - "type": "ruby", - "style": "powerline", - "powerline_symbol": "", - "invert_powerline": true, - "foreground": "#ffffff", "background": "#AE1401", + "foreground": "#ffffff", + "invert_powerline": true, + "powerline_symbol": "\ue0b2", "properties": { - "postfix": " \uE791 ", + "display_mode": "files", "fetch_version": true, - "display_mode": "files" - } + "template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} \ue791 " + }, + "style": "powerline", + "type": "ruby" }, { - "type": "azfunc", - "style": "powerline", - "powerline_symbol": "", - "invert_powerline": true, - "foreground": "#ffffff", "background": "#FEAC19", + "foreground": "#ffffff", + "invert_powerline": true, + "powerline_symbol": "\ue0b2", "properties": { - "postfix": " \uf0e7", + "display_mode": "files", "fetch_version": false, - "display_mode": "files" - } + "template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} \uf0e7" + }, + "style": "powerline", + "type": "azfunc" }, { - "type": "aws", - "style": "powerline", - "powerline_symbol": "", - "invert_powerline": true, - "foreground": "#ffffff", "background_templates": [ "{{if contains \"default\" .Profile}}#FFA400{{end}}", "{{if contains \"jan\" .Profile}}#f1184c{{end}}" ], + "foreground": "#ffffff", + "invert_powerline": true, + "powerline_symbol": "\ue0b2", "properties": { - "postfix": " \uE7AD ", - "display_default": false - } + "display_default": false, + "template": " {{ .Profile }}{{ if .Region }}@{{ .Region }}{{ end }} \ue7ad " + }, + "style": "powerline", + "type": "aws" }, { - "type": "root", - "style": "powerline", - "powerline_symbol": "", - "invert_powerline": true, - "foreground": "#111111", "background": "#ffff66", + "foreground": "#111111", + "invert_powerline": true, + "powerline_symbol": "\ue0b2", "properties": { - "template": "\uF0AD" - } + "template": " \uf0ad " + }, + "style": "powerline", + "type": "root" }, { - "type": "executiontime", - "style": "powerline", - "powerline_symbol": "", - "invert_powerline": true, - "foreground": "#000000", "background": "#c4a000", + "foreground": "#000000", + "invert_powerline": true, + "powerline_symbol": "\ue0b2", "properties": { - "postfix": " \uF252 " - } + "template": " {{ .FormattedMs }} \uf252 " + }, + "style": "powerline", + "type": "executiontime" }, { - "type": "exit", - "style": "powerline", - "powerline_symbol": "", - "invert_powerline": true, - "foreground": "#d3d7cf", "background": "#000000", - "background_templates": ["{{ if gt .Code 0 }}#cc2222{{ end }}"], + "background_templates": [ + "{{ if gt .Code 0 }}#cc2222{{ end }}" + ], + "foreground": "#d3d7cf", + "invert_powerline": true, + "powerline_symbol": "\ue0b2", "properties": { "always_enabled": true, - "template": "{{ if gt .Code 0 }}{{ .Text }}{{ else }}✔{{ end }}" - } + "template": " {{ if gt .Code 0 }}{{ .Text }}{{ else }}\u2714{{ end }} " + }, + "style": "powerline", + "type": "exit" }, { - "type": "time", - "style": "diamond", - "invert_powerline": true, - "trailing_diamond": "\uE0B0─╮", "background": "#d3d7cf", "foreground": "#000000", + "invert_powerline": true, "properties": { - "postfix": " \uF017 " - } + "template": " {{ .CurrentDate | date .Format }} \uf017 " + }, + "style": "diamond", + "trailing_diamond": "\ue0b0\u2500\u256e", + "type": "time" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "text", - "style": "plain", "foreground": "#d3d7cf", "properties": { - "prefix": "", - "postfix": "", - "text": "╰─" - } + "template": "\u2570\u2500" + }, + "style": "plain", + "type": "text" } - ] + ], + "type": "prompt" }, { - "type": "rprompt", "segments": [ { - "type": "text", - "style": "plain", "foreground": "#d3d7cf", "properties": { - "text": "─╯", - "prefix": "", - "postfix": "" - } + "template": "\u2500\u256f" + }, + "style": "plain", + "type": "text" } - ] + ], + "type": "rprompt" } ], - "final_space": true, "console_title": true, "console_title_style": "template", - "console_title_template": "{{ .Shell }} in {{ .Folder }}" + "console_title_template": "{{ .Shell }} in {{ .Folder }}", + "final_space": true, + "version": 1 } diff --git a/themes/powerline.omp.json b/themes/powerline.omp.json index 4bdb6682..8b059428 100644 --- a/themes/powerline.omp.json +++ b/themes/powerline.omp.json @@ -2,64 +2,69 @@ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "root", + "foreground": "#FFEE58", + "properties": { + "template": " \uf0e7 " + }, "style": "plain", - "foreground": "#FFEE58" + "type": "root" }, { - "type": "session", - "style": "plain", "foreground": "#ffffff", "properties": { - "template": "{{ .UserName }}@{{ .HostName }}" - } + "template": " {{ .UserName }}@{{ .HostName }} " + }, + "style": "plain", + "type": "session" }, { - "type": "path", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#100e23", "background": "#91ddff", - "properties": { - "style": "full" - } - }, - { - "type": "git", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#193549", - "background": "#95ffa4", - "properties": { - "template": "{{ .HEAD }}" - } - }, - { - "type": "python", - "style": "powerline", - "powerline_symbol": "\uE0B0", "foreground": "#100e23", - "background": "#906cff", + "powerline_symbol": "\ue0b0", "properties": { - "prefix": " \uE235 " - } + "style": "full", + "template": " {{ .Path }} " + }, + "style": "powerline", + "type": "path" }, { - "type": "exit", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#ffffff", - "background": "#ff8080", + "background": "#95ffa4", + "foreground": "#193549", + "powerline_symbol": "\ue0b0", "properties": { - "template": "\uE20F" - } + "template": " {{ .HEAD }} " + }, + "style": "powerline", + "type": "git" + }, + { + "background": "#906cff", + "foreground": "#100e23", + "powerline_symbol": "\ue0b0", + "properties": { + "template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} " + }, + "style": "powerline", + "type": "python" + }, + { + "background": "#ff8080", + "foreground": "#ffffff", + "powerline_symbol": "\ue0b0", + "properties": { + "template": " \ue20f " + }, + "style": "powerline", + "type": "exit" } - ] + ], + "type": "prompt" } ], - "final_space": true + "final_space": true, + "version": 1 } diff --git a/themes/pure.omp.json b/themes/pure.omp.json index 2b4d2873..f868b31b 100644 --- a/themes/pure.omp.json +++ b/themes/pure.omp.json @@ -1,88 +1,87 @@ { "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", - "console_title": true, - "console_title_style": "template", - "console_title_template": "{{if .Root}}(Admin){{end}} {{.Path}}", "blocks": [ { - "type": "prompt", "alignment": "left", - "newline": false, "segments": [ { - "type": "session", - "style": "plain", "foreground": "#BF616A", "properties": { - "prefix": "", - "template": "{{ .UserName }}" - } + "template": "{{ .UserName }} " + }, + "style": "plain", + "type": "session" }, { - "type": "path", - "style": "plain", "foreground": "#81A1C1", "properties": { - "prefix": "", - "style": "full" - } + "style": "full", + "template": "{{ .Path }} " + }, + "style": "plain", + "type": "path" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "git", - "style": "plain", "foreground": "#6C6C6C", "properties": { - "prefix": "", + "branch_ahead_icon": "<#88C0D0>\u21e1 ", + "branch_behind_icon": "<#88C0D0>\u21e3 ", + "branch_icon": "", "fetch_stash_count": true, "fetch_status": true, "fetch_upstream_icon": true, - "branch_icon": "", "github_icon": "", - "branch_ahead_icon": "<#88C0D0>\u21e1 ", - "branch_behind_icon": "<#88C0D0>\u21e3 ", - "local_working_icon": "<#FFAFD7>\u002a", - "template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uF044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uF046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}" - } + "template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }}<#FFAFD7>*{{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} " + }, + "style": "plain", + "type": "git" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "executiontime", - "style": "plain", "foreground": "#A3BE8C", "properties": { - "style": "austin" - } + "style": "austin", + "template": " {{ .FormattedMs }} " + }, + "style": "plain", + "type": "executiontime" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "exit", - "style": "plain", "foreground": "#B48EAD", - "foreground_templates": ["{{ if gt .Code 0 }}#BF616A{{ end }}"], + "foreground_templates": [ + "{{ if gt .Code 0 }}#BF616A{{ end }}" + ], "properties": { - "template": "\u276f", - "prefix": "", - "always_enabled": true - } + "always_enabled": true, + "template": "\u276f " + }, + "style": "plain", + "type": "exit" } - ] + ], + "type": "prompt" } - ] + ], + "console_title": true, + "console_title_style": "template", + "console_title_template": "{{if .Root}}(Admin){{end}} {{.Path}}", + "version": 1 } diff --git a/themes/remk.omp.json b/themes/remk.omp.json index c738f19e..73233025 100644 --- a/themes/remk.omp.json +++ b/themes/remk.omp.json @@ -2,54 +2,53 @@ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "session", - "style": "diamond", - "foreground": "#ffffff", "background": "lightMagenta", - "leading_diamond": "\uE0B6", - "trailing_diamond": "", - "properties": { - "prefix": "", - "template": "{{ .UserName }}" - } - }, - { - "type": "path", - "style": "plain", - "foreground": "#3f3f3f", - "background": "lightYellow", - "properties": { - "style": "folder" - } - }, - { - "type": "git", - "style": "plain", "foreground": "#ffffff", + "leading_diamond": "\ue0b6", + "properties": { + "template": "{{ .UserName }} " + }, + "style": "diamond", + "type": "session" + }, + { + "background": "lightYellow", + "foreground": "#3f3f3f", + "properties": { + "style": "folder", + "template": " {{ .Path }} " + }, + "style": "plain", + "type": "path" + }, + { "background": "lightCyan", + "foreground": "#ffffff", "properties": { "branch_icon": "", - "prefix": " git(", - "postfix": ") ", - "template": "{{ .HEAD }}" - } + "template": " git({{ .HEAD }}) " + }, + "style": "plain", + "type": "git" }, { - "type": "time", - "style": "diamond", - "trailing_diamond": "\uE0B0", - "foreground": "#ffffff", "background": "lightGreen", + "foreground": "#ffffff", "properties": { + "template": " {{ .CurrentDate | date .Format }} ", "time_format": "15:04" - } + }, + "style": "diamond", + "trailing_diamond": "\ue0b0", + "type": "time" } - ] + ], + "type": "prompt" } ], - "final_space": true + "final_space": true, + "version": 1 } diff --git a/themes/robbyrussel.omp.json b/themes/robbyrussel.omp.json index f671d1cb..c9dd5c3c 100644 --- a/themes/robbyrussel.omp.json +++ b/themes/robbyrussel.omp.json @@ -2,49 +2,46 @@ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "text", - "style": "plain", "foreground": "#98C379", "properties": { - "prefix": "", - "text": "\u279C", - "postfix": "" - } + "template": "\u279c" + }, + "style": "plain", + "type": "text" }, { - "type": "path", - "style": "plain", "foreground": "#56B6C2", "properties": { - "style": "folder" - } + "style": "folder", + "template": " {{ .Path }} " + }, + "style": "plain", + "type": "path" }, { - "type": "git", - "style": "plain", "foreground": "#D0666F", "properties": { "branch_icon": "", - "prefix": "<#5FAAE8>git:(", - "postfix": "<#5FAAE8>)", - "template": "{{ .HEAD }}" - } + "template": "<#5FAAE8>git:({{ .HEAD }}<#5FAAE8>)" + }, + "style": "plain", + "type": "git" }, { - "type": "exit", - "style": "plain", "foreground": "#BF616A", "properties": { - "template": "\u2717", - "postfix": "" - } + "template": " \u2717" + }, + "style": "plain", + "type": "exit" } - ] + ], + "type": "prompt" } ], - "final_space": true + "final_space": true, + "version": 1 } diff --git a/themes/rudolfs-dark.omp.json b/themes/rudolfs-dark.omp.json index 9c7716b8..843550af 100644 --- a/themes/rudolfs-dark.omp.json +++ b/themes/rudolfs-dark.omp.json @@ -2,71 +2,72 @@ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "root", - "style": "plain", + "background": "#BF231D", "foreground": "#ffffff", - "background": "#BF231D" + "properties": { + "template": " \uf0e7 " + }, + "style": "plain", + "type": "root" }, { - "type": "os", - "style": "plain", "background": "#0A703E", "foreground": "#ffffff", "properties": { - "template": "{{ .Icon }}" - } + "template": " {{ .Icon }} " + }, + "style": "plain", + "type": "os" }, { - "type": "session", - "style": "plain", "background": "#0A703E", "foreground": "#ffffff", "properties": { - "prefix": "", - "template": "{{ .UserName }}" - } + "template": "{{ .UserName }} " + }, + "style": "plain", + "type": "session" }, { - "type": "path", - "style": "plain", - "foreground": "#ffffff", "background": "#256C9D", + "foreground": "#ffffff", "properties": { + "folder_icon": "\uf115", + "folder_separator_icon": " \ue0b1 ", "max_depth": 2, - "folder_icon": "\uF115", - "folder_separator_icon": " \uE0B1 ", - "style": "agnoster_short" - } + "style": "agnoster_short", + "template": " {{ .Path }} " + }, + "style": "plain", + "type": "path" }, { - "type": "git", - "style": "plain", - "foreground": "#ffffff", "background": "#256C9D", + "foreground": "#ffffff", "properties": { - "fetch_status": true, - "fetch_stash_count": false, "branch_max_length": 30, + "fetch_stash_count": false, + "fetch_status": true, "fetch_upstream_icon": true, - "prefix": "[ ", - "postfix": " ]", - "template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uF044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uF046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}" - } + "template": "[ {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} ]" + }, + "style": "plain", + "type": "git" }, { - "type": "text", - "style": "plain", "foreground": "#256C9D", "properties": { - "prefix": "", - "text": "\uE0B0" - } + "template": "\ue0b0 " + }, + "style": "plain", + "type": "text" } - ] + ], + "type": "prompt" } - ] + ], + "version": 1 } diff --git a/themes/rudolfs-light.omp.json b/themes/rudolfs-light.omp.json index 3114549e..5eecac6c 100644 --- a/themes/rudolfs-light.omp.json +++ b/themes/rudolfs-light.omp.json @@ -2,38 +2,36 @@ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "root", - "style": "plain", "background": "#E0E0E0", - "foreground": "#BF231D" + "foreground": "#BF231D", + "properties": { + "template": " \uf0e7 " + }, + "style": "plain", + "type": "root" }, { - "type": "os", - "style": "plain", "background": "#E0E0E0", "foreground": "#EF7D00", "properties": { - "template": "{{ .Icon }}" - } + "template": " {{ .Icon }} " + }, + "style": "plain", + "type": "os" }, { - "type": "session", - "style": "plain", "background": "#E0E0E0", "foreground": "#424242", "properties": { - "prefix": "", - "postfix": "", "template": "{{ .UserName }}" - } + }, + "style": "plain", + "type": "session" }, { - "type": "git", - "style": "plain", "background": "#E0E0E0", "foreground": "#424242", "foreground_templates": [ @@ -41,34 +39,35 @@ "{{ if or (gt .Ahead 0) (gt .Behind 0) }}#0A703E{{ end }}" ], "properties": { - "fetch_status": true, "branch_max_length": 30, + "fetch_status": true, "fetch_upstream_icon": true, - "prefix": " [", - "postfix": "] ", - "template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }}<#BD6200> \uF044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }}<#053F22> \uF046 {{ .Staging.String }}{{ end }}" - } + "template": " [{{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }}<#BD6200> \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }}<#053F22> \uf046 {{ .Staging.String }}{{ end }}] " + }, + "style": "plain", + "type": "git" }, { - "type": "path", - "style": "plain", "background": "#E0E0E0", "foreground": "#424242", "properties": { "style": "full", - "postfix": "" - } + "template": " {{ .Path }}" + }, + "style": "plain", + "type": "path" }, { - "type": "text", - "style": "plain", "foreground": "#E0E0E0", "properties": { - "prefix": "", - "text": "\uE0B0" - } + "template": "\ue0b0 " + }, + "style": "plain", + "type": "text" } - ] + ], + "type": "prompt" } - ] + ], + "version": 1 } diff --git a/themes/slim.omp.json b/themes/slim.omp.json index 5d3e6dd0..b80f3460 100644 --- a/themes/slim.omp.json +++ b/themes/slim.omp.json @@ -1,20 +1,13 @@ { "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", - "final_space": true, - "console_title": true, - "console_title_style": "template", - "console_title_template": "{{if .Root}}root :: {{end}}{{.Shell}} :: {{.Folder}}", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "os", - "style": "diamond", - "leading_diamond": "\ue0c7\u2593", - "foreground": "#26C6DA", "background": "#2f2f2f", + "foreground": "#26C6DA", + "leading_diamond": "\ue0c7\u2593", "properties": { "alpine": "\uf300", "arch": "\uf303", @@ -29,50 +22,47 @@ "mint": "\uf30f", "opensuse": "\uf314", "raspbian": "\uf315", + "template": " {{ if .WSL }}\ue712 on {{ end }}{{ .Icon }}<#7a7a7a> \ue0b1", "ubuntu": "\uf31c", - "windows": "\ue70f", - "postfix": "<#7a7a7a> \uE0b1", - "template": "{{ if .WSL }}\ue712 on {{ end }}{{ .Icon }}" - } + "windows": "\ue70f" + }, + "style": "diamond", + "type": "os" }, { - "type": "session", - "style": "diamond", - "foreground": "#fafafa", "background": "#2f2f2f", + "foreground": "#fafafa", "properties": { - "postfix": "<#7a7a7a> \ue0b1", - "template": "{{ if ne .Env.POSH_SESSION_DEFAULT_USER .UserName }}<#77f5d6>{{ .UserName }}<#7a7a7a>\uf1fa<#2EEFBF>{{ end }}{{ .HostName }}" - } + "template": " {{ if ne .Env.POSH_SESSION_DEFAULT_USER .UserName }}<#77f5d6>{{ .UserName }}<#7a7a7a>\uf1fa<#2EEFBF>{{ end }}{{ .HostName }}<#7a7a7a> \ue0b1" + }, + "style": "diamond", + "type": "session" }, { - "type": "root", - "style": "diamond", + "background": "#2f2f2f", "foreground": "#ffff66", - "background": "#2f2f2f", "properties": { - "template": "\uF0E7", - "postfix": "<#7a7a7a> \ue0b1" - } + "template": " \uf0e7<#7a7a7a> \ue0b1" + }, + "style": "diamond", + "type": "root" }, { - "type": "path", - "style": "diamond", + "background": "#2f2f2f", "foreground": "#fafafa", - "background": "#2f2f2f", "properties": { - "prefix": "<#f2f200> \ue5ff ", - "style": "agnoster_short", - "home_icon": "\uf015", "folder_icon": "<#B5B2C2>\ue5fe ", - "folder_separator_icon": "<#B5B2C2>\ue0bf " - } + "folder_separator_icon": "<#B5B2C2>\ue0bf ", + "home_icon": "\uf015", + "style": "agnoster_short", + "template": "<#f2f200> \ue5ff {{ .Path }} " + }, + "style": "diamond", + "type": "path" }, { - "type": "git", - "style": "diamond", - "foreground": "#ffeb3b", "background": "#2f2f2f", + "foreground": "#ffeb3b", "foreground_templates": [ "{{ if or (.Working.Changed) (.Staging.Changed) }}#ffeb3b{{ end }}", "{{ if gt .Ahead 0 }}#2EC4B6{{ end }}", @@ -82,133 +72,133 @@ "fetch_stash_count": true, "fetch_status": true, "fetch_upstream_icon": true, - "prefix": "<#7a7a7a>\ue0b1 ", - "template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }}<#E84855> \uF044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }}<#2FDA4E> \uF046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}" - } + "template": "<#7a7a7a>\ue0b1 {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }}<#E84855> \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }}<#2FDA4E> \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} " + }, + "style": "diamond", + "type": "git" }, { - "type": "text", + "background": "#2f2f2f", + "foreground": "#fafafa", + "properties": { + "template": "" + }, "style": "diamond", "trailing_diamond": "\ue0b0", - "foreground": "#fafafa", - "background": "#2f2f2f", - "properties": { - "text": "", - "postfix": "", - "prefix": "" - } + "type": "text" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "right", "segments": [ { - "type": "text", - "style": "diamond", - "foreground": "#fafafa", "background": "#2f2f2f", + "foreground": "#fafafa", "leading_diamond": "\ue0b2", "properties": { - "text": "", - "prefix": "", - "postfix": "" - } + "template": "" + }, + "style": "diamond", + "type": "text" }, { - "type": "node", - "style": "diamond", + "background": "#2f2f2f", "foreground": "#6CA35E", - "background": "#2f2f2f", "properties": { - "prefix": " \uE718 ", - "postfix": "<#7a7a7a> \ue0b3" - } + "template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}<#7a7a7a> \ue0b3" + }, + "style": "diamond", + "type": "node" }, { - "type": "python", - "style": "diamond", + "background": "#2f2f2f", "foreground": "#96E072", - "background": "#2f2f2f", "properties": { - "prefix": " \uE235 ", - "postfix": "<#7a7a7a> \ue0b3" - } - }, - { - "type": "dotnet", + "template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}<#7a7a7a> \ue0b3" + }, "style": "diamond", - "foreground": "#3891A6", - "background": "#2f2f2f", - "properties": { - "prefix": " \uE77F ", - "postfix": "<#7a7a7a> \ue0b3" - } + "type": "python" }, { - "type": "time", + "background": "#2f2f2f", + "foreground": "#3891A6", + "properties": { + "template": " \ue77f {{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }}<#7a7a7a> \ue0b3" + }, + "style": "diamond", + "type": "dotnet" + }, + { + "background": "#2f2f2f", + "foreground": "#fafafa", + "properties": { + "template": " {{ .CurrentDate | date .Format }}<#007ACC> \uf64f ", + "time_format": "15:04:05" + }, "style": "diamond", "trailing_diamond": "\u2593\ue0c6", - "foreground": "#fafafa", - "background": "#2f2f2f", - "properties": { - "time_format": "15:04:05", - "postfix": "<#007ACC> \uf64f " - } + "type": "time" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "text", - "style": "plain", "foreground": "#7a7a7a", "properties": { - "text": "~#@\u276F", - "prefix": "", - "postfix": "" - } + "template": "~#@\u276f" + }, + "style": "plain", + "type": "text" } - ] + ], + "type": "prompt" }, { - "type": "rprompt", "alignment": "right", "segments": [ { - "type": "text", - "style": "plain", "foreground": "#7a7a7a", "properties": { - "text": "\u276E" - } + "template": " \u276e " + }, + "style": "plain", + "type": "text" }, { - "type": "executiontime", - "style": "plain", "foreground": "#FFCE5C", "properties": { - "threshold": 500, "style": "roundrock", - "postfix": "<#fafafa> \uf252 " - } + "template": " {{ .FormattedMs }}<#fafafa> \uf252 ", + "threshold": 500 + }, + "style": "plain", + "type": "executiontime" }, { - "type": "exit", - "style": "plain", "foreground": "#9FD356", - "foreground_templates": ["{{ if gt .Code 0 }}#E84855{{ end }}"], + "foreground_templates": [ + "{{ if gt .Code 0 }}#E84855{{ end }}" + ], "properties": { "always_enabled": true, - "template": "\uf705 {{ if gt .Code 0 }}{{ .Code }}{{ end }}" - } + "template": " \uf705 {{ if gt .Code 0 }}{{ .Code }}{{ end }} " + }, + "style": "plain", + "type": "exit" } - ] + ], + "type": "rprompt" } - ] + ], + "console_title": true, + "console_title_style": "template", + "console_title_template": "{{if .Root}}root :: {{end}}{{.Shell}} :: {{.Folder}}", + "final_space": true, + "version": 1 } diff --git a/themes/slimfat.omp.json b/themes/slimfat.omp.json index 0f42c8bb..e3768bec 100644 --- a/themes/slimfat.omp.json +++ b/themes/slimfat.omp.json @@ -1,20 +1,13 @@ { "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", - "final_space": true, - "console_title": true, - "console_title_style": "template", - "console_title_template": "{{if .Root}}root :: {{end}}{{.Shell}} :: {{.Folder}}", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "os", - "style": "diamond", - "leading_diamond": "\ue0c7\u2593", - "foreground": "#26C6DA", "background": "#2f2f2f", + "foreground": "#26C6DA", + "leading_diamond": "\ue0c7\u2593", "properties": { "alpine": "\uf300", "arch": "\uf303", @@ -29,48 +22,45 @@ "mint": "\uf30f", "opensuse": "\uf314", "raspbian": "\uf315", + "template": " {{ if .WSL }}\ue712 on {{ end }}{{ .Icon }}<#7a7a7a> \ue0b1", "ubuntu": "\uf31c", - "windows": "\ue70f", - "postfix": "<#7a7a7a> \ue0b1", - "template": "{{ if .WSL }}\ue712 on {{ end }}{{ .Icon }}" - } + "windows": "\ue70f" + }, + "style": "diamond", + "type": "os" }, { - "type": "session", - "style": "diamond", - "foreground": "#fafafa", "background": "#2f2f2f", + "foreground": "#fafafa", "properties": { - "postfix": "<#7a7a7a> \ue0b1", - "template": "{{ if ne .Env.POSH_SESSION_DEFAULT_USER .UserName }}<#77f5d6>{{ .UserName }}<#7a7a7a>\uf1fa<#2EEFBF>{{ .HostName }}{{ end }}" - } + "template": " {{ if ne .Env.POSH_SESSION_DEFAULT_USER .UserName }}<#77f5d6>{{ .UserName }}<#7a7a7a>\uf1fa<#2EEFBF>{{ .HostName }}{{ end }}<#7a7a7a> \ue0b1" + }, + "style": "diamond", + "type": "session" }, { - "type": "root", - "style": "diamond", + "background": "#2f2f2f", "foreground": "#ffff66", - "background": "#2f2f2f", "properties": { - "template": "\uF0E7", - "postfix": "<#7a7a7a> \ue0b1" - } + "template": " \uf0e7<#7a7a7a> \ue0b1" + }, + "style": "diamond", + "type": "root" }, { - "type": "path", - "style": "diamond", + "background": "#2f2f2f", "foreground": "#fafafa", - "background": "#2f2f2f", "properties": { - "prefix": "<#f2f200> \ue5ff ", + "folder_icon": "<#B5B2C2>\ue5fe ", "style": "full", - "folder_icon": "<#B5B2C2>\ue5fe " - } + "template": "<#f2f200> \ue5ff {{ .Path }} " + }, + "style": "diamond", + "type": "path" }, { - "type": "git", - "style": "diamond", - "foreground": "#ffeb3b", "background": "#2f2f2f", + "foreground": "#ffeb3b", "foreground_templates": [ "{{ if or (.Working.Changed) (.Staging.Changed) }}#ffeb3b{{ end }}", "{{ if gt .Ahead 0 }}#2EC4B6{{ end }}", @@ -80,131 +70,133 @@ "fetch_stash_count": true, "fetch_status": true, "fetch_upstream_icon": true, - "prefix": "<#7a7a7a>\ue0b1 ", - "template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }}<#E84855> \uF044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }}<#2FDA4E> \uF046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}" - } + "template": "<#7a7a7a>\ue0b1 {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }}<#E84855> \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }}<#2FDA4E> \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} " + }, + "style": "diamond", + "type": "git" }, { - "type": "text", + "background": "#2f2f2f", + "foreground": "#fafafa", + "properties": { + "template": "" + }, "style": "diamond", "trailing_diamond": "\ue0b0", - "foreground": "#fafafa", - "background": "#2f2f2f", - "properties": { - "text": "", - "postfix": "", - "prefix": "" - } + "type": "text" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "right", "segments": [ { - "type": "text", - "style": "diamond", - "foreground": "#fafafa", "background": "#2f2f2f", + "foreground": "#fafafa", "leading_diamond": "\ue0b2", "properties": { - "text": "", - "prefix": "", - "postfix": "" - } + "template": "" + }, + "style": "diamond", + "type": "text" }, { - "type": "node", - "style": "diamond", + "background": "#2f2f2f", "foreground": "#6CA35E", - "background": "#2f2f2f", "properties": { - "prefix": " \uE718 ", - "postfix": "<#7a7a7a> \ue0b3" - } + "template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}<#7a7a7a> \ue0b3" + }, + "style": "diamond", + "type": "node" }, { - "type": "python", - "style": "diamond", + "background": "#2f2f2f", "foreground": "#96E072", - "background": "#2f2f2f", "properties": { - "prefix": " \uE235 ", - "postfix": "<#7a7a7a> \ue0b3" - } - }, - { - "type": "dotnet", + "template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}<#7a7a7a> \ue0b3" + }, "style": "diamond", - "foreground": "#3891A6", - "background": "#2f2f2f", - "properties": { - "prefix": " \uE77F ", - "postfix": "<#7a7a7a> \ue0b3" - } + "type": "python" }, { - "type": "time", + "background": "#2f2f2f", + "foreground": "#3891A6", + "properties": { + "template": " \ue77f {{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }}<#7a7a7a> \ue0b3" + }, + "style": "diamond", + "type": "dotnet" + }, + { + "background": "#2f2f2f", + "foreground": "#fafafa", + "properties": { + "template": " {{ .CurrentDate | date .Format }}<#007ACC> \uf64f ", + "time_format": "15:04:05" + }, "style": "diamond", "trailing_diamond": "\u2593\ue0c6", - "foreground": "#fafafa", - "background": "#2f2f2f", - "properties": { - "time_format": "15:04:05", - "postfix": "<#007ACC> \uf64f " - } + "type": "time" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "text", - "style": "plain", "foreground": "#7a7a7a", "properties": { - "text": "~#@\u276F" - } + "template": " ~#@\u276f " + }, + "style": "plain", + "type": "text" } - ] + ], + "type": "prompt" }, { - "type": "rprompt", "alignment": "right", "segments": [ { - "type": "text", - "style": "plain", "foreground": "#7a7a7a", "properties": { - "text": "\u276E" - } + "template": " \u276e " + }, + "style": "plain", + "type": "text" }, { - "type": "executiontime", - "style": "plain", "foreground": "#FFCE5C", "properties": { - "threshold": 500, "style": "roundrock", - "postfix": "<#fafafa> \uf252 " - } + "template": " {{ .FormattedMs }}<#fafafa> \uf252 ", + "threshold": 500 + }, + "style": "plain", + "type": "executiontime" }, { - "type": "exit", - "style": "plain", "foreground": "#9FD356", - "foreground_templates": ["{{ if gt .Code 0 }}#E84855{{ end }}"], + "foreground_templates": [ + "{{ if gt .Code 0 }}#E84855{{ end }}" + ], "properties": { "always_enabled": true, - "template": "\uf705 {{ if gt .Code 0 }}{{ .Code }}{{ end }}" - } + "template": " \uf705 {{ if gt .Code 0 }}{{ .Code }}{{ end }} " + }, + "style": "plain", + "type": "exit" } - ] + ], + "type": "rprompt" } - ] + ], + "console_title": true, + "console_title_style": "template", + "console_title_template": "{{if .Root}}root :: {{end}}{{.Shell}} :: {{.Folder}}", + "final_space": true, + "version": 1 } diff --git a/themes/smoothie.omp.json b/themes/smoothie.omp.json index 2ece5492..d3b1f2c0 100644 --- a/themes/smoothie.omp.json +++ b/themes/smoothie.omp.json @@ -2,113 +2,105 @@ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "python", - "style": "powerline", "foreground": "#b1ff4f", "properties": { - "prefix": "\u005b🐍 ", - "postfix": "\u005D " - } + "template": "[🐍 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}] " + }, + "style": "powerline", + "type": "python" }, { - "type": "path", - "style": "plain", "foreground": "#ffaed8", "properties": { - "style": "letter", - "home_icon": "\u2764", "folder_separator_icon": " 🢖 ", - "prefix": "<#eaeaea>⎧ ⟨", - "postfix": "⟩ " - } + "home_icon": "\u2764", + "style": "letter", + "template": "<#eaeaea>\u23a7 \u27e8{{ .Path }}\u27e9 " + }, + "style": "plain", + "type": "path" }, { - "type": "git", - "style": "plain", "foreground": "#62beff", "properties": { - "prefix": "⟨", - "postfix": "⟩", + "branch_icon": "\u27df", + "branch_identical_icon": "\u2261", "fetch_status": true, - "branch_icon": "⟟", - "branch_identical_icon": "≡", - "template": "{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} ∆{{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uF046 {{ .Staging.String }}{{ end }}" - } + "template": "\u27e8{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \u2206{{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}\u27e9" + }, + "style": "plain", + "type": "git" }, { - "type": "node", - "style": "plain", "foreground": "#98C379", "properties": { "fetch_version": true, - "prefix": "<#ffffff>\u25E6 \u2622" - } + "template": "<#ffffff>\u25e6 \u2622{{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} " + }, + "style": "plain", + "type": "node" } - ] + ], + "type": "prompt" }, { - "type": "prompt", - "alignment": "right", - "newline": false, - "segments": [ - { - "type": "exit", - "style": "plain", - "foreground": "#fb0207", - "properties": { - "template": "×××" - } - }, - { - "type": "executiontime", - "style": "plain", - "foreground": "#9966ff", - "properties": { - "threshold": 0, - "style": "austin", - "prefix": "⟨", - "postfix": "⟩ <#eaeaea>⎫" - } - } - ] - }, + "alignment": "right", + "segments": [ + { + "foreground": "#fb0207", + "properties": { + "template": " ××× " + }, + "style": "plain", + "type": "exit" + }, + { + "foreground": "#9966ff", + "properties": { + "style": "austin", + "template": "\u27e8{{ .FormattedMs }}\u27e9 <#eaeaea>\u23ab", + "threshold": 0 + }, + "style": "plain", + "type": "executiontime" + } + ], + "type": "prompt" + }, { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ - { - "type": "text", - "style": "plain", + { "foreground": "#3ce6bf", "properties": { - "prefix": "<#eaeaea>⎩", - "text": " \u27E9\u27E9\u27E9\u27E9\u27E9\u27E9 " - } + "template": "<#eaeaea>\u23a9\u27e9\u27e9\u27e9\u27e9\u27e9\u27e9 " + }, + "style": "plain", + "type": "text" } - ] + ], + "type": "prompt" }, - { - "type": "rprompt", - "alignment": "right", - "newline": false, - "segments": [ - { - "type": "time", - "style": "plain", - "foreground": "#f5f5a6", - "properties": { - "time_format": "15:04:05", - "prefix": "⟨", - "postfix": "⟩ <#eaeaea>⎭" - } - } - ] - } - ] + { + "alignment": "right", + "segments": [ + { + "foreground": "#f5f5a6", + "properties": { + "template": "\u27e8{{ .CurrentDate | date .Format }}\u27e9 <#eaeaea>\u23ad", + "time_format": "15:04:05" + }, + "style": "plain", + "type": "time" + } + ], + "type": "rprompt" + } + ], + "version": 1 } diff --git a/themes/sonicboom_dark.omp.json b/themes/sonicboom_dark.omp.json index 109dcb58..0ea12230 100644 --- a/themes/sonicboom_dark.omp.json +++ b/themes/sonicboom_dark.omp.json @@ -1,134 +1,130 @@ { - "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", - "final_space": true, - "osc99": true, - "blocks": [ + "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", + "blocks": [ + { + "alignment": "left", + "segments": [ { - "type": "prompt", - "alignment": "left", - "segments": [ - { - "type": "root", - "style": "plain", - "foreground": "#dd1e1e", - "background": "#000000", - "properties": { - "template": "⚡", - "postfix": "" - } - }, - { - "type": "os", - "style": "plain", - "foreground": "#ffffff", - "background": "#000000", - "properties": { - "alpine": "\uf300", - "arch": "\uf303", - "centos": "\uf304", - "debian": "\uf306", - "elementary": "\uf309", - "fedora": "\uf30a", - "gentoo": "\uf30d", - "linux": "\ue712", - "macos": "\ue711", - "manjaro": "\uf312", - "mint": "\uf30f", - "opensuse": "\uf314", - "raspbian": "\uf315", - "ubuntu": "\uf31c", - "wsl": "\ue712", - "windows": "\ue62a" - } - }, - { - "type": "path", - "style": "plain", - "foreground": "#43CCEA", - "background": "#272727", - "properties": { - "home_icon": "\uF7DB", - "folder_icon": "\ue5fe", - "folder_separator_icon": " \uE0BD ", - "style": "agnoster_short" - } - }, - { - "type": "git", - "style": "plain", - "foreground": "#00ff0d", - "background": "#272727", - "properties": { - "fetch_stash_count": true, - "fetch_status": true, - "template": "{{ .HEAD }}{{ if .Staging.Changed }}<#FF6F00> \uF046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uF044 {{ .Working.String }}{{ end }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}", - "prefix": "<#000000>\ue0b1 " - } - }, - { - "type": "executiontime", - "style": "diamond", - "trailing_diamond": "\uE0B0", - "foreground": "#ffffff", - "background": "#272727", - "properties": { - "threshold": 0, - "style": "dallas", - "prefix": "<#000000>\ue0b1 ", - "postfix": "s " - } - } - ] + "background": "#000000", + "foreground": "#dd1e1e", + "properties": { + "template": " \u26a1" + }, + "style": "plain", + "type": "root" }, { - "type": "prompt", - "alignment": "right", - "segments": [ - { - "type": "session", - "style": "diamond", - "trailing_diamond": "", - "leading_diamond": "\uE0C5", - "foreground": "#43CCEA", - "background": "#272727", - "properties": { - "postfix": "", - "user_info_separator": " / " - } - }, - { - "type": "time", - "style": "diamond", - "trailing_diamond": "\uE0C5", - "leading_diamond": "", - "foreground": "#43CCEA", - "background": "#272727", - "properties": { - "time_format": "3:04:05 PM", - "prefix": "<#000000> \ue31e\uf0fb " - } - } - ] + "background": "#000000", + "foreground": "#ffffff", + "properties": { + "alpine": "\uf300", + "arch": "\uf303", + "centos": "\uf304", + "debian": "\uf306", + "elementary": "\uf309", + "fedora": "\uf30a", + "gentoo": "\uf30d", + "linux": "\ue712", + "macos": "\ue711", + "manjaro": "\uf312", + "mint": "\uf30f", + "opensuse": "\uf314", + "raspbian": "\uf315", + "template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ", + "ubuntu": "\uf31c", + "windows": "\ue62a", + "wsl": "\ue712" + }, + "style": "plain", + "type": "os" }, { - "type": "prompt", - "alignment": "left", - "newline": true, - "segments": [ - { - "type": "exit", - "style": "plain", - "foreground": "#00ff0d", - "foreground_templates": [ - "{{ if gt .Code 0 }}#ff0000{{ end }}" - ], - "properties": { - "template": "\ufb0c", - "prefix": "", - "always_enabled": true - } - } - ] + "background": "#272727", + "foreground": "#43CCEA", + "properties": { + "folder_icon": "\ue5fe", + "folder_separator_icon": " \ue0bd ", + "home_icon": "\uf7db", + "style": "agnoster_short", + "template": " {{ .Path }} " + }, + "style": "plain", + "type": "path" + }, + { + "background": "#272727", + "foreground": "#00ff0d", + "properties": { + "fetch_stash_count": true, + "fetch_status": true, + "template": "<#000000>\ue0b1 {{ .HEAD }}{{ if .Staging.Changed }}<#FF6F00> \uf046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} " + }, + "style": "plain", + "type": "git" + }, + { + "background": "#272727", + "foreground": "#ffffff", + "properties": { + "style": "dallas", + "template": "<#000000>\ue0b1 {{ .FormattedMs }}s ", + "threshold": 0 + }, + "style": "diamond", + "trailing_diamond": "\ue0b0", + "type": "executiontime" } - ] + ], + "type": "prompt" + }, + { + "alignment": "right", + "segments": [ + { + "background": "#272727", + "foreground": "#43CCEA", + "leading_diamond": "\ue0c5", + "properties": { + "template": " {{ if .SSHSession }}\uf817 {{ end }}{{ .UserName }} / {{ .HostName }}" + }, + "style": "diamond", + "type": "session" + }, + { + "background": "#272727", + "foreground": "#43CCEA", + "properties": { + "template": "<#000000> \ue31e\uf0fb {{ .CurrentDate | date .Format }} ", + "time_format": "3:04:05 PM" + }, + "style": "diamond", + "trailing_diamond": "\ue0c5", + "type": "time" + } + ], + "type": "prompt" + }, + { + "alignment": "left", + "newline": true, + "segments": [ + { + "foreground": "#00ff0d", + "foreground_templates": [ + "{{ if gt .Code 0 }}#ff0000{{ end }}" + ], + "properties": { + "always_enabled": true, + "template": "\ufb0c " + }, + "style": "plain", + "type": "exit" + } + ], + "type": "prompt" + } + ], + "final_space": true, + "osc99": true, + "version": 1 } diff --git a/themes/sonicboom_light.omp.json b/themes/sonicboom_light.omp.json index 29f78b31..fc25830e 100644 --- a/themes/sonicboom_light.omp.json +++ b/themes/sonicboom_light.omp.json @@ -1,134 +1,130 @@ { - "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", - "final_space": true, - "osc99": true, - "blocks": [ + "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", + "blocks": [ + { + "alignment": "left", + "segments": [ { - "type": "prompt", - "alignment": "left", - "segments": [ - { - "type": "root", - "style": "plain", - "foreground": "#dd1e1e", - "background": "#000000", - "properties": { - "template": "⚡", - "postfix": "" - } - }, - { - "type": "os", - "style": "plain", - "foreground": "#ffffff", - "background": "#000000", - "properties": { - "alpine": "\uf300", - "arch": "\uf303", - "centos": "\uf304", - "debian": "\uf306", - "elementary": "\uf309", - "fedora": "\uf30a", - "gentoo": "\uf30d", - "linux": "\ue712", - "macos": "\ue711", - "manjaro": "\uf312", - "mint": "\uf30f", - "opensuse": "\uf314", - "raspbian": "\uf315", - "ubuntu": "\uf31c", - "wsl": "\ue712", - "windows": "\ue62a" - } - }, - { - "type": "path", - "style": "plain", - "foreground": "#43CCEA", - "background": "#4d4d4d", - "properties": { - "home_icon": "\uF7DB", - "folder_icon": "\ue5fe", - "folder_separator_icon": " \uE0BD ", - "style": "agnoster_short" - } - }, - { - "type": "git", - "style": "plain", - "foreground": "#00ff0d", - "background": "#4d4d4d", - "properties": { - "fetch_stash_count": true, - "fetch_status": true, - "template": "{{ .HEAD }}{{ if .Staging.Changed }}<#FF6F00> \uF046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uF044 {{ .Working.String }}{{ end }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}", - "prefix": "<#000000>\ue0b1 " - } - }, - { - "type": "executiontime", - "style": "diamond", - "trailing_diamond": "\uE0B0", - "foreground": "#ffffff", - "background": "#4d4d4d", - "properties": { - "threshold": 0, - "style": "dallas", - "prefix": "<#000000>\ue0b1 ", - "postfix": "s " - } - } - ] + "background": "#000000", + "foreground": "#dd1e1e", + "properties": { + "template": " \u26a1" + }, + "style": "plain", + "type": "root" }, { - "type": "prompt", - "alignment": "right", - "segments": [ - { - "type": "session", - "style": "diamond", - "trailing_diamond": "", - "leading_diamond": "\uE0C5", - "foreground": "#43CCEA", - "background": "#4d4d4d", - "properties": { - "postfix": "", - "user_info_separator": " / " - } - }, - { - "type": "time", - "style": "diamond", - "trailing_diamond": "\uE0C5", - "leading_diamond": "", - "foreground": "#43CCEA", - "background": "#4d4d4d", - "properties": { - "time_format": "3:04:05 PM", - "prefix": "<#000000> \ue31e\uf0fb " - } - } - ] + "background": "#000000", + "foreground": "#ffffff", + "properties": { + "alpine": "\uf300", + "arch": "\uf303", + "centos": "\uf304", + "debian": "\uf306", + "elementary": "\uf309", + "fedora": "\uf30a", + "gentoo": "\uf30d", + "linux": "\ue712", + "macos": "\ue711", + "manjaro": "\uf312", + "mint": "\uf30f", + "opensuse": "\uf314", + "raspbian": "\uf315", + "template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ", + "ubuntu": "\uf31c", + "windows": "\ue62a", + "wsl": "\ue712" + }, + "style": "plain", + "type": "os" }, { - "type": "prompt", - "alignment": "left", - "newline": true, - "segments": [ - { - "type": "exit", - "style": "plain", - "foreground": "#00ff0d", - "foreground_templates": [ - "{{ if gt .Code 0 }}#ff0000{{ end }}" - ], - "properties": { - "template": "\ufb0c", - "prefix": "", - "always_enabled": true - } - } - ] + "background": "#4d4d4d", + "foreground": "#43CCEA", + "properties": { + "folder_icon": "\ue5fe", + "folder_separator_icon": " \ue0bd ", + "home_icon": "\uf7db", + "style": "agnoster_short", + "template": " {{ .Path }} " + }, + "style": "plain", + "type": "path" + }, + { + "background": "#4d4d4d", + "foreground": "#00ff0d", + "properties": { + "fetch_stash_count": true, + "fetch_status": true, + "template": "<#000000>\ue0b1 {{ .HEAD }}{{ if .Staging.Changed }}<#FF6F00> \uf046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} " + }, + "style": "plain", + "type": "git" + }, + { + "background": "#4d4d4d", + "foreground": "#ffffff", + "properties": { + "style": "dallas", + "template": "<#000000>\ue0b1 {{ .FormattedMs }}s ", + "threshold": 0 + }, + "style": "diamond", + "trailing_diamond": "\ue0b0", + "type": "executiontime" } - ] + ], + "type": "prompt" + }, + { + "alignment": "right", + "segments": [ + { + "background": "#4d4d4d", + "foreground": "#43CCEA", + "leading_diamond": "\ue0c5", + "properties": { + "template": " {{ if .SSHSession }}\uf817 {{ end }}{{ .UserName }} / {{ .HostName }}" + }, + "style": "diamond", + "type": "session" + }, + { + "background": "#4d4d4d", + "foreground": "#43CCEA", + "properties": { + "template": "<#000000> \ue31e\uf0fb {{ .CurrentDate | date .Format }} ", + "time_format": "3:04:05 PM" + }, + "style": "diamond", + "trailing_diamond": "\ue0c5", + "type": "time" + } + ], + "type": "prompt" + }, + { + "alignment": "left", + "newline": true, + "segments": [ + { + "foreground": "#00ff0d", + "foreground_templates": [ + "{{ if gt .Code 0 }}#ff0000{{ end }}" + ], + "properties": { + "always_enabled": true, + "template": "\ufb0c " + }, + "style": "plain", + "type": "exit" + } + ], + "type": "prompt" + } + ], + "final_space": true, + "osc99": true, + "version": 1 } diff --git a/themes/sorin.omp.json b/themes/sorin.omp.json index 172d34a7..607cf805 100644 --- a/themes/sorin.omp.json +++ b/themes/sorin.omp.json @@ -2,67 +2,68 @@ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "exit", - "style": "plain", "foreground": "#CB4B16", "properties": { - "template": "{{ .Text }}" - } + "template": " {{ .Text }} " + }, + "style": "plain", + "type": "exit" }, { - "type": "root", + "foreground": "#CECE04", + "properties": { + "template": " \uf0e7 " + }, "style": "plain", - "foreground": "#CECE04" + "type": "root" }, { - "type": "session", - "style": "plain", "foreground": "#FFFFFF", "properties": { - "prefix": "", - "template": "{{ .UserName }}@{{ .HostName }}" - } + "template": "{{ .UserName }}@{{ .HostName }} " + }, + "style": "plain", + "type": "session" }, { - "type": "path", - "style": "plain", "foreground": "#0973C0", "properties": { "style": "full", - "prefix": "" - } + "template": "{{ .Path }} " + }, + "style": "plain", + "type": "path" }, { - "type": "git", - "style": "plain", "foreground": "#C1C106", "properties": { - "prefix": "<#ffffff>git:", - "template": "{{ .HEAD }}" - } + "template": "<#ffffff>git:{{ .HEAD }} " + }, + "style": "plain", + "type": "git" }, { - "type": "python", - "style": "plain", "foreground": "#100e23", "properties": { - "prefix": " \uE235 " - } + "template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} " + }, + "style": "plain", + "type": "python" }, { - "type": "text", - "style": "plain", "foreground": "#ffffff", "properties": { - "prefix": "", - "text": "<#CB4B16>\u276F<#CACA02>\u276F<#4E9A06>\u276F" - } + "template": "<#CB4B16>\u276f<#CACA02>\u276f<#4E9A06>\u276f " + }, + "style": "plain", + "type": "text" } - ] + ], + "type": "prompt" } - ] + ], + "version": 1 } diff --git a/themes/space.omp.json b/themes/space.omp.json index b6cd8a83..cdd62811 100644 --- a/themes/space.omp.json +++ b/themes/space.omp.json @@ -1,118 +1,103 @@ { "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", - "final_space": false, - "osc99": false, - "console_title": false, "blocks": [ { - "type": "prompt", "alignment": "left", - "horizontal_offset": 0, - "vertical_offset": 0, "segments": [ { - "type": "os", - "style": "plain", "foreground": "#26C6DA", "properties": { - "prefix": "", - "postfix": "", - "macos": "mac" - } + "macos": "mac", + "template": "{{ if .WSL }}WSL at {{ end }}{{.Icon}}" + }, + "style": "plain", + "type": "os" }, { - "type": "session", - "style": "plain", "foreground": "#26C6DA", "properties": { - "postfix": ": ", - "template": "{{ .UserName }}" - } + "template": " {{ .UserName }}: " + }, + "style": "plain", + "type": "session" }, { - "type": "path", - "style": "plain", - "invert_powerline": false, "foreground": "lightGreen", "properties": { - "prefix": "", - "style": "folder" - } + "style": "folder", + "template": "{{ .Path }} " + }, + "style": "plain", + "type": "path" }, { - "type": "git", - "style": "plain", - "invert_powerline": false, "properties": { "branch_icon": "", "fetch_stash_count": true, - "prefix": "<#ffffff>on ", - "template": "{{ .HEAD }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}" - } + "template": "<#ffffff>on {{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} " + }, + "style": "plain", + "type": "git" }, { - "type": "python", - "style": "powerline", "foreground": "#906cff", "properties": { - "prefix": "\u005b\uE235 ", - "postfix": "\u005D " - } + "template": "[\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}] " + }, + "style": "powerline", + "type": "python" }, { - "type": "go", - "style": "powerline", "foreground": "#7FD5EA", "properties": { - "prefix": "\u005b\uFCD1 ", - "postfix": "\u005D " - } + "template": "[\ufcd1 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}] " + }, + "style": "powerline", + "type": "go" }, { - "type": "node", - "style": "powerline", "foreground": "#76b367", "properties": { - "prefix": "\u005b\uE718 ", - "postfix": "\u005D " - } + "template": "[\ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}] " + }, + "style": "powerline", + "type": "node" }, { - "type": "ruby", - "style": "powerline", "foreground": "#f44336", "properties": { - "prefix": "\u005b\uE791", - "postfix": "\u005D " - } + "template": "[\ue791{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}] " + }, + "style": "powerline", + "type": "ruby" }, { - "type": "java", - "style": "powerline", "foreground": "#ea2d2e", "properties": { - "prefix": "\u005b\uE738 ", - "postfix": "\u005D " - } + "template": "[\ue738 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}] " + }, + "style": "powerline", + "type": "java" }, { - "type": "julia", - "style": "powerline", "foreground": "#4063D8", "properties": { - "prefix": " \uE624 " - } + "template": " \ue624 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} " + }, + "style": "powerline", + "type": "julia" }, { - "type": "text", - "style": "plain", "foreground": "#FFD54F", "properties": { - "prefix": "", - "text": "\u276F" - } + "template": "\u276f " + }, + "style": "plain", + "type": "text" } - ] + ], + "type": "prompt" } - ] + ], + "version": 1 } diff --git a/themes/spaceship.omp.json b/themes/spaceship.omp.json index 9513e406..d974e4e7 100644 --- a/themes/spaceship.omp.json +++ b/themes/spaceship.omp.json @@ -1,65 +1,55 @@ { "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", - "final_space": true, - "osc99": false, - "console_title": false, "blocks": [ { - "type": "prompt", "alignment": "left", - "horizontal_offset": 0, - "vertical_offset": 0, "segments": [ { - "type": "session", - "style": "plain", - "invert_powerline": false, "foreground": "lightYellow", "properties": { - "prefix": "", - "template": "{{ .UserName }}" - } + "template": "{{ .UserName }} " + }, + "style": "plain", + "type": "session" }, { - "type": "path", - "style": "plain", - "invert_powerline": false, "foreground": "cyan", "properties": { - "prefix": "<#ffffff>in ", - "style": "folder" - } + "style": "folder", + "template": "<#ffffff>in {{ .Path }} " + }, + "style": "plain", + "type": "path" }, { - "type": "git", - "style": "plain", - "invert_powerline": false, "foreground": "#ff94df", "properties": { - "branch_icon": " <#ff94df>", + "branch_icon": " <#ff94df>\ue0a0 ", "fetch_stash_count": true, - "prefix": "<#ffffff>on ", - "template": "{{ .HEAD }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}" - } + "template": "<#ffffff>on {{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} " + }, + "style": "plain", + "type": "git" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "text", - "style": "plain", "foreground": "lightGreen", "properties": { - "prefix": "", - "text": "\u276F", - "postfix": "" - } + "template": "\u276f" + }, + "style": "plain", + "type": "text" } - ] + ], + "type": "prompt" } - ] + ], + "final_space": true, + "version": 1 } diff --git a/themes/star.omp.json b/themes/star.omp.json index ab5190ca..65ce5532 100644 --- a/themes/star.omp.json +++ b/themes/star.omp.json @@ -2,73 +2,69 @@ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "root", - "style": "plain", "foreground": "#E06C75", "properties": { - "template": "root", - "prefix": "", - "postfix": " <#ffffff>in " - } + "template": "root <#ffffff>in " + }, + "style": "plain", + "type": "root" }, { - "type": "path", - "style": "plain", "foreground": "#55B9C4", "properties": { "style": "folder", - "prefix": "" - } + "template": "{{ .Path }} " + }, + "style": "plain", + "type": "path" }, { - "type": "git", - "style": "plain", "foreground": "#C678DD", "properties": { - "prefix": "<#ffffff>on ", "fetch_status": true, - "template": "{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uF044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uF046 {{ .Staging.String }}{{ end }}" - } + "template": "<#ffffff>on {{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }} " + }, + "style": "plain", + "type": "git" }, { - "type": "node", - "style": "plain", "foreground": "#98C379", "properties": { "fetch_version": true, - "prefix": "<#ffffff>via \uE781 " - } + "template": "<#ffffff>via \ue781 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} " + }, + "style": "plain", + "type": "node" }, { - "type": "exit", - "style": "plain", "foreground": "#C94A16", "properties": { - "prefix": "", - "template": "x" - } + "template": "x " + }, + "style": "plain", + "type": "exit" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "text", - "style": "plain", "foreground": "#63F08C", "properties": { - "prefix": "", - "text": "\u279C" - } + "template": "\u279c " + }, + "style": "plain", + "type": "text" } - ] + ], + "type": "prompt" } - ] + ], + "version": 1 } diff --git a/themes/stelbent.minimal.omp.json b/themes/stelbent.minimal.omp.json index 0a38469a..d43d7aac 100644 --- a/themes/stelbent.minimal.omp.json +++ b/themes/stelbent.minimal.omp.json @@ -1,71 +1,61 @@ { "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", - "osc99": true, "blocks": [ { - "type": "prompt", "alignment": "right", "segments": [ { - "type": "shell", - "style": "plain", "foreground": "#007acc", "properties": { - "prefix": "", - "postfix": "" - } + "template": "{{ .Name }}" + }, + "style": "plain", + "type": "shell" }, { - "type": "root", - "style": "plain", "foreground": "#ff8080", "properties": { - "prefix": " <#757575,>as ", - "postfix": "", - "template": "root" - } + "template": " <#757575,>as root" + }, + "style": "plain", + "type": "root" }, { - "type": "time", - "style": "plain", "foreground": "#689f38", "properties": { - "prefix": " <#757575,>| ", - "postfix": "", + "template": " <#757575,>| {{ .CurrentDate | date .Format }}", "time_format": "15:04:05" - } + }, + "style": "plain", + "type": "time" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "session", - "style": "plain", "foreground": "#757575", "properties": { - "prefix": "\u250c ", - "template": "{{ .UserName }}@{{ .HostName }}" - } + "template": "\u250c {{ .UserName }}@{{ .HostName }} " + }, + "style": "plain", + "type": "session" }, { - "type": "path", - "style": "powerline", - "powerline_symbol": "\ue0b0", - "foreground": "#100e23", "background": "#91ddff", + "foreground": "#100e23", + "powerline_symbol": "\ue0b0", "properties": { - "style": "folder" - } + "style": "folder", + "template": " {{ .Path }} " + }, + "style": "powerline", + "type": "path" }, { - "type": "git", - "style": "powerline", - "powerline_symbol": "\ue0b0", - "foreground": "#100e23", "background": "#95ffa4", "background_templates": [ "{{ if or (.Working.Changed) (.Staging.Changed) }}#ff9248{{ end }}", @@ -73,9 +63,9 @@ "{{ if gt .Ahead 0 }}#89d1dc{{ end }}", "{{ if gt .Behind 0 }}#c5b6ad{{ end }}" ], + "foreground": "#100e23", + "powerline_symbol": "\ue0b0", "properties": { - "fetch_status": true, - "fetch_stash_count": true, "branch_ahead_icon": "\u2191", "branch_behind_icon": "\u2193", "branch_gone": "\u2262", @@ -83,59 +73,65 @@ "branch_identical_icon": "\u2261", "cherry_pick_icon": "\u2713 ", "commit_icon": "\u25b7 ", + "fetch_stash_count": true, + "fetch_status": true, "merge_icon": "\u25f4 ", "no_commits_icon": "[no commits]", "rebase_icon": "\u2c62 ", "tag_icon": "\u25b6 ", - "template": "{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} \u2502{{ end }}{{ if .Staging.Changed }} {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} {{ .StashCount }}{{ end }}" - } + "template": " {{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} \u2502{{ end }}{{ if .Staging.Changed }} {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} {{ .StashCount }}{{ end }} " + }, + "style": "powerline", + "type": "git" }, { - "type": "terraform", - "style": "powerline", - "powerline_symbol": "\ue0b0", + "background": "#ffee58", "foreground": "#100e23", - "background": "#ffee58" + "powerline_symbol": "\ue0b0", + "properties": { + "template": " {{ .WorkspaceName }} " + }, + "style": "powerline", + "type": "terraform" }, { - "type": "exit", - "style": "powerline", - "powerline_symbol": "\ue0b0", - "foreground": "#ffffff", "background": "#ff8080", + "foreground": "#ffffff", + "powerline_symbol": "\ue0b0", "properties": { - "template": "error" - } + "template": " error " + }, + "style": "powerline", + "type": "exit" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "text", - "style": "plain", "foreground": "#757575", "properties": { - "prefix": "", - "postfix": "", - "text": "\u2514 " - } + "template": "\u2514" + }, + "style": "plain", + "type": "text" }, { - "type": "text", - "style": "plain", "foreground": "#ffffff", "properties": { - "prefix": "", - "postfix": "", - "text": "$" - } + "template": "$" + }, + "style": "plain", + "type": "text" } - ] + ], + "type": "prompt" } ], - "final_space": true + "final_space": true, + "osc99": true, + "version": 1 } diff --git a/themes/thecyberden.omp.json b/themes/thecyberden.omp.json index 355f1203..d263f621 100644 --- a/themes/thecyberden.omp.json +++ b/themes/thecyberden.omp.json @@ -1,120 +1,111 @@ { - "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", - "final_space": false, - "console_title": false, - "console_title_style": "folder", - "blocks": [ + "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", + "blocks": [ + { + "alignment": "left", + "segments": [ { - "type": "prompt", - "alignment": "left", - "segments": [ - { - "type": "session", - "style": "diamond", - "powerline_symbol": "\uE0B0", - "foreground": "#ffffff", - "background": "#2e9599", - "leading_diamond": "\uE0B6", - "trailing_diamond": "", - "properties": { - "prefix": "\uFCBE ", - "template": "{{ .HostName }}" - } - }, - { - "type": "path", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "invert_powerline": false, - "foreground": "#ffffff", - "background": "#0080ff", - "properties": { - "prefix": " \uE5FF ", - "style": "full" - } - }, - { - "type": "git", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "invert_powerline": false, - "foreground": "#193549", - "background": "#c19c00", - "properties": { - "fetch_status": true, - "fetch_stash_count": true, - "fetch_upstream_icon": true, - "template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uF044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uF046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}" - } - }, - { - "type": "exit", - "style": "diamond", - "foreground": "#ffffff", - "background": "#2e9599", - "background_templates": [ - "{{ if gt .Code 0 }}#f1184c{{ end }}" - ], - "leading_diamond": "", - "trailing_diamond": "\uE0B4", - "properties": { - "always_enabled": true, - "display_exit_code": false, - "success_icon": "\uF00C", - "error_icon": "\uF00D", - "prefix": " " - } - } - ] + "background": "#2e9599", + "foreground": "#ffffff", + "leading_diamond": "\ue0b6", + "powerline_symbol": "\ue0b0", + "properties": { + "template": "\ufcbe {{ .HostName }} " + }, + "style": "diamond", + "type": "session" }, { - "type": "prompt", - "alignment": "right", - "horizontal_offset": 0, - "vertical_offset": 0, - "segments": [ - { - "type": "time", - "style": "diamond", - "foreground": "#ffffff", - "background": "#2e9599", - "leading_diamond": "\uE0B6", - "trailing_diamond": "\uE0B4", - "properties": { - "time_format": "15:04:05" - } - } - ] + "background": "#0080ff", + "foreground": "#ffffff", + "powerline_symbol": "\ue0b0", + "properties": { + "style": "full", + "template": " \ue5ff {{ .Path }} " + }, + "style": "powerline", + "type": "path" }, { - "type": "prompt", - "alignment": "left", - "newline": true, - "segments": [ - { - "type": "root", - "style": "plain", - "foreground": "#ff0000", - "properties": { - "prefix": "", - "template": "\uE00A" - } - }, - { - "type": "shell", - "style": "plain", - "foreground": "#ffffff" - }, - { - "type": "text", - "style": "plain", - "foreground": "#ffffff", - "properties": { - "prefix": "", - "text": "\uF054" - } - } - ] + "background": "#c19c00", + "foreground": "#193549", + "powerline_symbol": "\ue0b0", + "properties": { + "fetch_stash_count": true, + "fetch_status": true, + "fetch_upstream_icon": true, + "template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} " + }, + "style": "powerline", + "type": "git" + }, + { + "background": "#2e9599", + "background_templates": [ + "{{ if gt .Code 0 }}#f1184c{{ end }}" + ], + "foreground": "#ffffff", + "properties": { + "always_enabled": true, + "template": " " + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "exit" } - ] + ], + "type": "prompt" + }, + { + "alignment": "right", + "segments": [ + { + "background": "#2e9599", + "foreground": "#ffffff", + "leading_diamond": "\ue0b6", + "properties": { + "template": " {{ .CurrentDate | date .Format }} ", + "time_format": "15:04:05" + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "time" + } + ], + "type": "prompt" + }, + { + "alignment": "left", + "newline": true, + "segments": [ + { + "foreground": "#ff0000", + "properties": { + "template": "\ue00a " + }, + "style": "plain", + "type": "root" + }, + { + "foreground": "#ffffff", + "properties": { + "template": " {{ .Name }} " + }, + "style": "plain", + "type": "shell" + }, + { + "foreground": "#ffffff", + "properties": { + "template": "\uf054 " + }, + "style": "plain", + "type": "text" + } + ], + "type": "prompt" + } + ], + "console_title_style": "folder", + "version": 1 } diff --git a/themes/tonybaloney.omp.json b/themes/tonybaloney.omp.json index 24883af3..2f4a2364 100644 --- a/themes/tonybaloney.omp.json +++ b/themes/tonybaloney.omp.json @@ -3,48 +3,48 @@ "blocks": [ { "alignment": "left", - "horizontal_offset": 0, - "vertical_offset": 0, "segments": [ { "background": "#18354c", "foreground": "#ffc107", - "leading_diamond": "", - "trailing_diamond": "\uE0B0", + "leading_diamond": "\ue0b6", "properties": { - "prefix": "  ", - "style": "folder" + "style": "folder", + "template": " \ue5ff {{ .Path }} " }, "style": "diamond", + "trailing_diamond": "\ue0b0", "type": "path" }, { "background": "#18354c", "foreground": "#ffc107", - "powerline_symbol": "\uE0B0", + "powerline_symbol": "\ue0b0", "properties": { "fetch_stash_count": true, "fetch_upstream_icon": true, - "template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}" + "template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} " }, "style": "powerline", "type": "git" }, { - "type": "python", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#18354c", "background": "#ffc107", + "foreground": "#18354c", + "powerline_symbol": "\ue0b0", "properties": { - "prefix": " \uE235 " - } + "template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} " + }, + "style": "powerline", + "type": "python" }, - { "background": "#ffc107", "foreground": "#18354c", - "powerline_symbol": "\uE0B0", + "powerline_symbol": "\ue0b0", + "properties": { + "template": " \uf0e7 " + }, "style": "powerline", "type": "root" } @@ -52,5 +52,6 @@ "type": "prompt" } ], - "final_space": true + "final_space": true, + "version": 1 } diff --git a/themes/unicorn.omp.json b/themes/unicorn.omp.json index ebb73469..b3afc464 100644 --- a/themes/unicorn.omp.json +++ b/themes/unicorn.omp.json @@ -1,43 +1,33 @@ { "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", - "final_space": true, - "console_title": true, - "console_title_style": "template", - "console_title_template": "{{.UserName}}@{{.HostName}} in {{ .Path }}", "blocks": [ { - "type": "prompt", "alignment": "left", - "vertical_offset": 1, "segments": [ { - "type": "os", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#fff", "background": "#003543", + "foreground": "#fff", + "powerline_symbol": "\ue0b0", "properties": { - "windows": "\uE62A ", - "postfix": "" - } + "template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}", + "windows": "\ue62a " + }, + "style": "powerline", + "type": "os" }, { - "type": "path", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#003544", "background": "#0087D8", + "foreground": "#003544", + "powerline_symbol": "\ue0b0", "properties": { - "prefix": " \uE5FF ", + "folder_separator_icon": "/", "style": "full", - "folder_separator_icon": "/" - } + "template": " \ue5ff {{ .Path }} " + }, + "style": "powerline", + "type": "path" }, { - "type": "git", - "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#193549", "background": "#d2ff5e", "background_templates": [ "{{ if or (.Working.Changed) (.Staging.Changed) }}#ff9248{{ end }}", @@ -45,61 +35,69 @@ "{{ if gt .Ahead 0 }}#89d1dc{{ end }}", "{{ if gt .Behind 0 }}#f17c37{{ end }}" ], + "foreground": "#193549", + "powerline_symbol": "\ue0b0", "properties": { - "fetch_status": true, "fetch_stash_count": true, + "fetch_status": true, "fetch_upstream_icon": true, - "template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uF044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uF046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}" - } - }, - { - "type": "time", + "template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} " + }, "style": "powerline", - "powerline_symbol": "\uE0B0", - "foreground": "#fff", - "background": "#003543", - "properties": { - "prefix": "<#fff> \uf64f " - } + "type": "git" + }, + { + "background": "#003543", + "foreground": "#fff", + "powerline_symbol": "\ue0b0", + "properties": { + "template": "<#fff> \uf64f {{ .CurrentDate | date .Format }} " + }, + "style": "powerline", + "type": "time" }, { - "type": "executiontime", - "style": "diamond", - "foreground": "#ffffff", "background": "#83769c", - "leading_diamond": "", - "trailing_diamond": "", + "foreground": "#ffffff", "properties": { "always_enabled": true, - "prefix": " \ufbab ", - "postfix": "\u2800" - } + "template": " \ufbab {{ .FormattedMs }}\u2800" + }, + "style": "diamond", + "trailing_diamond": "\ue0b4", + "type": "executiontime" } - ] + ], + "type": "prompt", + "vertical_offset": 1 }, { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "root", - "style": "plain", "foreground": "#fff", "properties": { - "template": "⚡" - } + "template": " \u26a1 " + }, + "style": "plain", + "type": "root" }, { - "type": "text", - "style": "plain", "foreground": "#f1184c", "properties": { - "prefix": "", - "text": "🦄" - } + "template": "🦄 " + }, + "style": "plain", + "type": "text" } - ] + ], + "type": "prompt" } - ] + ], + "console_title": true, + "console_title_style": "template", + "console_title_template": "{{.UserName}}@{{.HostName}} in {{ .Path }}", + "final_space": true, + "version": 1 } diff --git a/themes/wopian.omp.json b/themes/wopian.omp.json index e03530ab..a2850aae 100644 --- a/themes/wopian.omp.json +++ b/themes/wopian.omp.json @@ -2,111 +2,112 @@ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "os", - "style": "powerline", "foreground": "cyan", "properties": { - "prefix": "", - "postfix": "", "template": "{{ .Icon }}" - } + }, + "style": "powerline", + "type": "os" }, { - "type": "path", - "style": "plain", "foreground": "cyan", "properties": { - "style": "full" - } + "style": "full", + "template": " {{ .Path }} " + }, + "style": "plain", + "type": "path" }, { - "type": "git", - "style": "plain", "foreground": "lightYellow", "properties": { - "prefix": ":: git(", - "postfix": ")", - "template": "{{ .HEAD }}" - } + "template": ":: git({{ .HEAD }})" + }, + "style": "plain", + "type": "git" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "right", "segments": [ { - "type": "node", - "style": "plain", "foreground": "#68a063", "properties": { - "fetch_version": true, - "postfix": "", "display_mode": "files", - "display_package_manager": true, - "yarn_icon": "/yarn", - "npm_icon": "/npm" - } + "fetch_package_manager": true, + "fetch_version": true, + "npm_icon": "/npm", + "template": " {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}", + "yarn_icon": "/yarn" + }, + "style": "plain", + "type": "node" }, { - "type": "crystal", - "style": "plain", "foreground": "#4063D8", "properties": { - "fetch_version": true, "display_mode": "files", - "postfix": "" - } + "fetch_version": true, + "template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}" + }, + "style": "plain", + "type": "crystal" }, { - "type": "ruby", - "style": "plain", "foreground": "#DE3F24", "properties": { + "display_mode": "files", "fetch_version": true, - "postfix": "", - "display_mode": "files" - } + "template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}" + }, + "style": "plain", + "type": "ruby" }, { - "type": "python", - "style": "plain", "foreground": "#FED142", "properties": { - "fetch_virtual_env": false, - "postfix": "", "display_mode": "context", - "template": "{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}" - } + "fetch_virtual_env": false, + "template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}" + }, + "style": "plain", + "type": "python" }, { - "type": "time", + "foreground": "lightGreen", + "properties": { + "template": " {{ .CurrentDate | date .Format }} " + }, "style": "plain", - "foreground": "lightGreen" + "type": "time" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "exit", - "style": "powerline", "foreground": "lightGreen", - "foreground_templates": ["{{ if gt .Code 0 }}red{{ end }}"], + "foreground_templates": [ + "{{ if gt .Code 0 }}red{{ end }}" + ], "properties": { "always_enabled": true, - "template": "\u279c", - "prefix": "" - } + "template": "\u279c " + }, + "style": "powerline", + "type": "exit" } - ] + ], + "type": "prompt" } - ] + ], + "version": 1 } diff --git a/themes/xtoys.omp.json b/themes/xtoys.omp.json index fbb1133c..2af1537b 100644 --- a/themes/xtoys.omp.json +++ b/themes/xtoys.omp.json @@ -2,58 +2,57 @@ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "root", - "style": "plain", "foreground": "#CECE04", "properties": { - "prefix": "", - "template": "#" - } + "template": "# " + }, + "style": "plain", + "type": "root" }, { - "type": "session", - "style": "plain", "properties": { - "prefix": "", - "template": "{{ .UserName }}@{{ .HostName }}" - } + "template": "{{ .UserName }}@{{ .HostName }} " + }, + "style": "plain", + "type": "session" }, { - "type": "path", - "style": "plain", "foreground": "#7B68EE", "properties": { "style": "agnoster_short", - "prefix": "" - } + "template": "{{ .Path }} " + }, + "style": "plain", + "type": "path" }, { - "type": "git", - "style": "plain", "foreground": "#48D1CC", "properties": { - "prefix": "HEAD:", "branch_icon": "", "fetch_upstream_icon": false, - "template": "{{ .UpstreamIcon }}{{ .HEAD }}" - } + "template": "HEAD:{{ .UpstreamIcon }}{{ .HEAD }} " + }, + "style": "plain", + "type": "git" }, { - "type": "exit", - "style": "plain", "foreground": "#7FFFD4", - "foreground_templates": ["{{ if gt .Code 0 }}#E84855{{ end }}"], + "foreground_templates": [ + "{{ if gt .Code 0 }}#E84855{{ end }}" + ], "properties": { "always_enabled": true, - "template": "<#66CDAA>\u276F<#76EEC6>\u276F\u276F", - "prefix": "" - } + "template": "<#66CDAA>\u276f<#76EEC6>\u276f\u276f " + }, + "style": "plain", + "type": "exit" } - ] + ], + "type": "prompt" } - ] + ], + "version": 1 } diff --git a/themes/ys.omp.json b/themes/ys.omp.json index b8539303..b76b82e3 100644 --- a/themes/ys.omp.json +++ b/themes/ys.omp.json @@ -2,105 +2,98 @@ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "python", - "style": "plain", "foreground": "white", "properties": { - "prefix": "(", - "postfix": ")", - "fetch_version": false - } + "fetch_version": false, + "template": "({{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }})" + }, + "style": "plain", + "type": "python" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "text", - "style": "plain", "foreground": "lightBlue", "properties": { - "prefix": "", - "text": "#" - } + "template": "# " + }, + "style": "plain", + "type": "text" }, { - "type": "root", - "style": "plain", "foreground": "red", "properties": { - "template": "%" - } + "template": " % " + }, + "style": "plain", + "type": "root" }, { - "type": "session", - "style": "plain", "properties": { - "prefix": "", - "template": "{{ .UserName }} @ {{ .HostName }}" - } + "template": "{{ .UserName }} @ {{ .HostName }} " + }, + "style": "plain", + "type": "session" }, { - "type": "path", - "style": "plain", "foreground": "lightYellow", "properties": { - "prefix": "in ", - "style": "full" - } + "style": "full", + "template": "in {{ .Path }} " + }, + "style": "plain", + "type": "path" }, { - "type": "git", - "style": "plain", "properties": { - "prefix": "on git:", - "template": "{{ .HEAD }}" - } + "template": "on git:{{ .HEAD }} " + }, + "style": "plain", + "type": "git" }, { - "type": "time", - "style": "plain", "foreground": "darkGray", "properties": { - "prefix": "[", - "postfix": "]" - } + "template": "[{{ .CurrentDate | date .Format }}]" + }, + "style": "plain", + "type": "time" }, { - "type": "exit", - "style": "plain", "foreground": "red", "properties": { - "template": "C:{{ if gt .Code 0 }}{{ .Code }}{{ end }}", - "always_numeric": true - } + "template": " C:{{ if gt .Code 0 }}{{ .Code }}{{ end }} " + }, + "style": "plain", + "type": "exit" } - ] + ], + "type": "prompt" }, { - "type": "prompt", "alignment": "left", "newline": true, "segments": [ { - "type": "text", - "style": "plain", "foreground": "lightRed", "properties": { - "prefix": "", - "text": "$", - "postfix": "" - } + "template": "$" + }, + "style": "plain", + "type": "text" } - ] + ], + "type": "prompt" } ], - "final_space": true + "final_space": true, + "version": 1 } diff --git a/themes/zash.omp.json b/themes/zash.omp.json index 9124b787..aee52c4b 100644 --- a/themes/zash.omp.json +++ b/themes/zash.omp.json @@ -2,59 +2,54 @@ "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "blocks": [ { - "type": "prompt", "alignment": "left", "segments": [ { - "type": "session", - "style": "plain", "foreground": "#E36464", "properties": { - "prefix": "@", - "template": "{{ .UserName }}" - } + "template": "@{{ .UserName }} " + }, + "style": "plain", + "type": "session" }, { - "type": "text", - "style": "plain", "foreground": "#62ED8B", "properties": { - "text": "\u279C", - "postfix": "", - "prefix": "" - } + "template": "\u279c" + }, + "style": "plain", + "type": "text" }, { - "type": "path", - "style": "plain", "foreground": "#56B6C2", "properties": { "style": "folder", - "postfix": "" - } + "template": " {{ .Path }}" + }, + "style": "plain", + "type": "path" }, { - "type": "git", - "style": "plain", "foreground": "#D4AAFC", "properties": { "branch_icon": "", - "prefix": " <#DDB15F>git(", - "postfix": "<#DDB15F>)", - "template": "{{ .HEAD }}" - } + "template": " <#DDB15F>git({{ .HEAD }}<#DDB15F>)" + }, + "style": "plain", + "type": "git" }, { - "type": "exit", - "style": "plain", "foreground": "#DCB977", "properties": { - "template": "\uF119", - "postfix": "" - } + "template": " \uf119" + }, + "style": "plain", + "type": "exit" } - ] + ], + "type": "prompt" } ], - "final_space": true + "final_space": true, + "version": 1 }