oh-my-posh/themes/atomic.omp.json
Jan De Dobbeleer 9663a29fe6
feat(font): update to Nerd Font V3
BREAKING CHANGE: this deprecates support for Nerd Font V2 and
requires a compatible V3 Nerd Font. Note for users experiencing
issues with icons, update to the latest Nerd Font of your choice
2023-05-08 13:33:59 +02:00

277 lines
9.1 KiB
JSON

{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "#0077c2",
"foreground": "#ffffff",
"leading_diamond": "\u256d\u2500\ue0b6",
"style": "diamond",
"template": "\uf120 {{ .Name }} ",
"type": "shell"
},
{
"background": "#ef5350",
"foreground": "#FFFB38",
"style": "diamond",
"template": "<parentBackground>\ue0b0</> \uf292 ",
"type": "root"
},
{
"background": "#FF9248",
"foreground": "#2d3436",
"powerline_symbol": "\ue0b0",
"properties": {
"folder_icon": " \uf07b ",
"home_icon": "\udb80\udede",
"style": "folder"
},
"style": "powerline",
"template": " \uf07b\udb80\udc54{{ .Path }} ",
"type": "path"
},
{
"background": "#FFFB38",
"background_templates": [
"{{ if or (.Working.Changed) (.Staging.Changed) }}#ffeb95{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#c5e478{{ end }}",
"{{ 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
},
"style": "powerline",
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }}<#ef5350> \uf046 {{ .Staging.String }}</>{{ end }} ",
"type": "git"
},
{
"background": "#83769c",
"foreground": "#ffffff",
"properties": {
"style": "roundrock",
"threshold": 0
},
"style": "diamond",
"template": " \udb81\udd1f{{ .FormattedMs }}\u2800",
"trailing_diamond": "\ue0b4",
"type": "executiontime"
}
],
"type": "prompt"
},
{
"alignment": "right",
"segments": [
{
"background": "#303030",
"foreground": "#3C873A",
"leading_diamond": "\ue0b6",
"properties": {
"fetch_package_manager": true,
"npm_icon": " <#cc3a3a>\ue5fa</> ",
"yarn_icon": " <#348cba>\udb80\udd1b</>"
},
"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": "\udb81\udfd3 {{ 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": "\udb82\udc33 {{.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": "\udb85\udfe6 ",
"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": " \udb80\udcf0 {{ .CurrentDate | date .Format }} ",
"trailing_diamond": "\ue0b4",
"type": "time"
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#21c7c7",
"style": "plain",
"template": "\u2570\u2500",
"type": "text"
},
{
"foreground": "#e0f8ff",
"foreground_templates": ["{{ if gt .Code 0 }}#ef5350{{ end }}"],
"properties": {
"always_enabled": true
},
"style": "plain",
"template": "\ue285\udb81\ude01 ",
"type": "exit"
}
],
"type": "prompt"
}
],
"version": 2
}