Skip to content

Instantly share code, notes, and snippets.

@wasdee
Last active July 29, 2022 07:04
Show Gist options
  • Save wasdee/b895b0d3bebd82a00c641e5f67af4cdb to your computer and use it in GitHub Desktop.
Save wasdee/b895b0d3bebd82a00c641e5f67af4cdb to your computer and use it in GitHub Desktop.
priceandatom.omp.json
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"type": "text",
"style": "diamond",
"leading_diamond": "\ue0b6",
"foreground": "#ffffff",
"background": "#cc3802",
"template": "{{ if .Env.PNPPSHOST }} \uf8c5 {{ .Env.PNPPSHOST }} {{ end }}"
},
{
"type": "text",
"style": "powerline",
"foreground": "#ffffff",
"background": "#047e84",
"powerline_symbol": "\ue0b0",
"template": "{{ if .Env.PNPPSSITE }} \uf672 {{ .Env.PNPPSSITE }}{{ end }}"
},
{
"type": "text",
"style": "diamond",
"trailing_diamond": "\ue0b4",
"foreground": "#ffffff",
"background": "#047e84",
"template": "{{ if .Env.PNPPSSITE }}\u00A0{{ end }}"
}
],
"type": "rprompt"
},
{
"alignment": "left",
"segments": [
{
"background": "#9A348E",
"foreground": "#ffffff",
"leading_diamond": "\ue0b6",
"style": "diamond",
"template": "{{ .UserName }} ",
"type": "session"
},
{
"background": "#DA627D",
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
"properties": {
"style": "folder"
},
"style": "powerline",
"template": " {{ .Path }} ",
"type": "path"
},
{
"background": "#FCA17D",
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
"properties": {
"branch_icon": "",
"fetch_stash_count": true,
"fetch_status": false,
"fetch_upstream_icon": true
},
"style": "powerline",
"template": " \u279c ({{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }}) ",
"type": "git"
},
{
"background": "#33658A",
"foreground": "#ffffff",
"properties": {
"time_format": "15:04"
},
"style": "diamond",
"template": " \u2665 ",
"trailing_diamond": "\ue0b0",
"type": "time"
}
],
"type": "prompt"
},
{
"alignment": "right",
"segments": [
{
"background": "#303030",
"foreground": "#3C873A",
"leading_diamond": "\ue0b6",
"properties": {
"fetch_package_manager": true,
"npm_icon": " <#cc3a3a>\ue5fa</> ",
"yarn_icon": " <#348cba>\uf61a</>"
},
"style": "diamond",
"template": "\ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}",
"trailing_diamond": "\ue0b4 ",
"type": "node"
},
{
"background": "#306998",
"foreground": "#FFE873",
"leading_diamond": "\ue0b6",
"style": "diamond",
"template": "\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}",
"trailing_diamond": "\ue0b4 ",
"type": "python"
},
{
"background": "#0e8ac8",
"foreground": "#ec2729",
"leading_diamond": "\ue0b6",
"style": "diamond",
"template": "\ue738 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
"trailing_diamond": "\ue0b4 ",
"type": "java"
},
{
"background": "#0e0e0e",
"foreground": "#0d6da8",
"leading_diamond": "\ue0b6",
"style": "diamond",
"template": "\ue77f {{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }}",
"trailing_diamond": "\ue0b4 ",
"type": "dotnet"
},
{
"background": "#ffffff",
"foreground": "#06aad5",
"leading_diamond": "\ue0b6",
"style": "diamond",
"template": "\ufcd1 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
"trailing_diamond": "\ue0b4 ",
"type": "go"
},
{
"background": "#f3f0ec",
"foreground": "#925837",
"leading_diamond": "\ue0b6",
"style": "diamond",
"template": "\ue7a8 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
"trailing_diamond": "\ue0b4 ",
"type": "rust"
},
{
"background": "#e1e8e9",
"foreground": "#055b9c",
"leading_diamond": " \ue0b6",
"style": "diamond",
"template": "\ue798 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
"trailing_diamond": "\ue0b4 ",
"type": "dart"
},
{
"background": "#ffffff",
"foreground": "#ce092f",
"leading_diamond": " \ue0b6",
"style": "diamond",
"template": "\ue753 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
"trailing_diamond": "\ue0b4 ",
"type": "angular"
},
{
"background": "#1e293b",
"foreground": "#ffffff",
"leading_diamond": " \ue0b6",
"style": "diamond",
"template": "{{ if .Error }}{{ .Error }}{{ else }}Nx {{ .Full }}{{ end }}",
"trailing_diamond": "\ue0b4 ",
"type": "nx"
},
{
"background": "#945bb3",
"foreground": "#359a25",
"leading_diamond": " \ue0b6",
"style": "diamond",
"template": "<#ca3c34>\ue624</> {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
"trailing_diamond": "\ue0b4 ",
"type": "julia"
},
{
"background": "#ffffff",
"foreground": "#9c1006",
"leading_diamond": "\ue0b6",
"style": "diamond",
"template": "\ue791 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
"trailing_diamond": "\ue0b4 ",
"type": "ruby"
},
{
"background": "#ffffff",
"foreground": "#5398c2",
"leading_diamond": "\ue0b6",
"style": "diamond",
"template": "\uf104<#f5bf45>\uf0e7</>\uf105 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
"trailing_diamond": "\ue0b4 ",
"type": "azfunc"
},
{
"background": "#565656",
"foreground": "#faa029",
"leading_diamond": "\ue0b6",
"style": "diamond",
"template": "\ue7ad {{.Profile}}{{if .Region}}@{{.Region}}{{end}}",
"trailing_diamond": "\ue0b4 ",
"type": "aws"
},
{
"background": "#316ce4",
"foreground": "#ffffff",
"leading_diamond": "\ue0b6",
"style": "diamond",
"template": "\ufd31 {{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}}",
"trailing_diamond": "\ue0b4",
"type": "kubectl"
},
{
"background": "#b2bec3",
"foreground": "#222222",
"leading_diamond": "\ue0b6",
"properties": {
"linux": "\ue712",
"macos": "\ue711",
"windows": "\ue70f"
},
"style": "diamond",
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}<#262626> \ue0b2</>",
"type": "os"
},
{
"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": {
"charged_icon": "\uf58e ",
"charging_icon": "\uf1e6 ",
"discharging_icon": "\ue234 "
},
"style": "diamond",
"template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}\uf295 <#262626>\ue0b2</>",
"type": "battery"
},
{
"background": "#40c4ff",
"foreground": "#ffffff",
"invert_powerline": true,
"leading_diamond": "\ue0b2",
"properties": {
"time_format": "_2,15:04"
},
"style": "diamond",
"template": " \uf5ef {{ .CurrentDate | date .Format }} ",
"trailing_diamond": "\ue0b4",
"type": "time"
}
],
"type": "rprompt"
}
],
"final_space": true,
"version": 2
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment