oh-my-posh/themes/night-owl.omp.json
2022-05-27 17:52:08 +02:00

302 lines
10 KiB
JSON

{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "#21c7a8",
"foreground": "#011627",
"leading_diamond": "\u256d\u2500\ue0b6",
"properties": {
"windows": "\uf871"
},
"style": "diamond",
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
"trailing_diamond": "\ue0b0",
"type": "os"
},
{
"background": "#ef5350",
"foreground": "#ffeb95",
"leading_diamond": "<transparent,#ef5350>\ue0b0</>",
"style": "diamond",
"template": " \uf292 ",
"trailing_diamond": "\ue0b0",
"type": "root"
},
{
"background": "#82AAFF",
"foreground": "#011627",
"leading_diamond": "<transparent,#82AAFF>\ue0b0</>",
"properties": {
"folder_icon": "\uf07c ",
"folder_separator_icon": " <#011627>\ue0b1</> ",
"home_icon": "\uf7db ",
"style": "agnoster"
},
"style": "diamond",
"template": " {{ .Path }} ",
"trailing_diamond": "\ue0b0",
"type": "path"
},
{
"background": "#22da6e",
"background_templates": [
"{{ if or (.Working.Changed) (.Staging.Changed) }}#addb67{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#f78c6c{{ end }}",
"{{ if gt .Ahead 0 }}#21c7a8{{ end }}",
"{{ if gt .Behind 0 }}#c792ea{{ end }}"
],
"foreground": "#011627",
"powerline_symbol": "\ue0b0",
"properties": {
"branch_icon": "\ue725 ",
"fetch_stash_count": true,
"fetch_status": true,
"fetch_upstream_icon": true,
"fetch_worktree_count": true
},
"style": "powerline",
"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": "git"
},
{
"background": "#575656",
"foreground": "#d6deeb",
"leading_diamond": "<transparent,#575656>\ue0b0</>",
"properties": {
"style": "roundrock",
"threshold": 0
},
"style": "diamond",
"template": " {{ .FormattedMs }} ",
"trailing_diamond": "\ue0b4",
"type": "executiontime"
}
],
"type": "prompt"
},
{
"alignment": "right",
"segments": [
{
"background": "#d6deeb",
"foreground": "#011627",
"leading_diamond": "\ue0b6",
"style": "diamond",
"template": "\uf489 {{ .Name }}",
"trailing_diamond": "<transparent,#d6deeb>\ue0b2</>",
"type": "shell"
},
{
"background": "#8f43f3",
"foreground": "#ffffff",
"leading_diamond": "\ue0b2",
"style": "diamond",
"template": " \uf85a {{ round .PhysicalPercentUsed .Precision }}% ",
"trailing_diamond": "<transparent,#8f43f3>\ue0b2</>",
"type": "sysinfo"
},
{
"background": "#303030",
"foreground": "#3C873A",
"leading_diamond": "\ue0b2",
"properties": {
"fetch_package_manager": true,
"npm_icon": " <#cc3a3a>\ue71e</> ",
"yarn_icon": " <#348cba>\uf61a</>"
},
"style": "diamond",
"template": "\ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}",
"trailing_diamond": "<transparent,#303030>\ue0b2</>",
"type": "node"
},
{
"background": "#306998",
"foreground": "#FFE873",
"leading_diamond": "\ue0b2",
"style": "diamond",
"template": "\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}",
"trailing_diamond": "<transparent,#306998>\ue0b2</>",
"type": "python"
},
{
"background": "#ffffff",
"foreground": "#ec2729",
"leading_diamond": "\ue0b2",
"style": "diamond",
"template": "\ue738 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
"trailing_diamond": "<transparent,#ffffff>\ue0b2</>",
"type": "java"
},
{
"background": "#787CB5",
"foreground": "#000000",
"leading_diamond": "\ue0b2",
"style": "diamond",
"template": "\ue73d {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
"trailing_diamond": "<transparent,#787CB5>\ue0b2</>",
"type": "php"
},
{
"background": "#0e0e0e",
"foreground": "#0d6da8",
"leading_diamond": "\ue0b2",
"style": "diamond",
"template": "\ue77f {{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }}",
"trailing_diamond": "<transparent,#0e0e0e>\ue0b2</>",
"type": "dotnet"
},
{
"background": "#ffffff",
"foreground": "#06aad5",
"leading_diamond": "\ue0b2",
"style": "diamond",
"template": " \ufcd1 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"trailing_diamond": "<transparent,#ffffff>\ue0b2</>",
"type": "go"
},
{
"background": "#f3f0ec",
"foreground": "#925837",
"leading_diamond": "\ue0b2",
"style": "diamond",
"template": " \ue7a8 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"trailing_diamond": "<transparent,#f3f0ec>\ue0b2</>",
"type": "rust"
},
{
"background": "#e1e8e9",
"foreground": "#055b9c",
"leading_diamond": "\ue0b2",
"style": "diamond",
"template": " \ue798 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"trailing_diamond": "<transparent,#e1e8e9>\ue0b2</>",
"type": "dart"
},
{
"background": "#ffffff",
"foreground": "#ce092f",
"leading_diamond": "\ue0b2",
"style": "diamond",
"template": " \ue753 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"trailing_diamond": "<transparent,#ffffff>\ue0b2</>",
"type": "angular"
},
{
"background": "#1e293b",
"foreground": "#ffffff",
"leading_diamond": "\ue0b2",
"style": "diamond",
"template": "\ue753 {{ if .Error }}{{ .Error }}{{ else }}Nx {{ .Full }}{{ end }} ",
"trailing_diamond": "<transparent,#1e293b>\ue0b2</>",
"type": "nx"
},
{
"background": "#945bb3",
"foreground": "#359a25",
"leading_diamond": "\ue0b2",
"style": "diamond",
"template": " <#ca3c34>\ue624</> {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"trailing_diamond": "<transparent,#945bb3>\ue0b2</>",
"type": "julia"
},
{
"background": "#ffffff",
"foreground": "#9c1006",
"leading_diamond": "\ue0b2",
"style": "diamond",
"template": " \ue791 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"trailing_diamond": "<transparent,#ffffff>\ue0b2</>",
"type": "ruby"
},
{
"background": "#ffffff",
"foreground": "#5398c2",
"leading_diamond": "\ue0b2",
"style": "diamond",
"template": " \uf104<#f5bf45>\uf0e7</>\uf105 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
"trailing_diamond": "<transparent,#ffffff>\ue0b2</>",
"type": "azfunc"
},
{
"background": "#565656",
"foreground": "#faa029",
"leading_diamond": "\ue0b2",
"style": "diamond",
"template": " \ue7ad {{.Profile}}{{if .Region}}@{{.Region}}{{end}} ",
"trailing_diamond": "<transparent,#565656>\ue0b2</>",
"type": "aws"
},
{
"background": "#316ce4",
"foreground": "#ffffff",
"leading_diamond": "\ue0b2",
"style": "diamond",
"template": " \ufd31 {{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}} ",
"trailing_diamond": "<transparent,#316ce4>\ue0b2</>",
"type": "kubectl"
},
{
"background": "#234d70",
"foreground": "#d6deeb",
"leading_diamond": "\ue0b2",
"properties": {
"time_format": "15:04:05"
},
"style": "diamond",
"template": " \uf64f {{ .CurrentDate | date .Format }} ",
"trailing_diamond": "\ue0b4",
"type": "time"
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#21c7a8",
"style": "plain",
"template": "\u2570\u2500",
"type": "text"
},
{
"background": "#1DB954",
"foreground": "#011627",
"leading_diamond": "\ue0b6",
"properties": {
"playing_icon": "\uf1bc ",
"track_separator": " ~ "
},
"style": "diamond",
"template": " {{ .Icon }}{{ if ne .Status \"stopped\" }}{{ .Artist }} - {{ .Track }}{{ end }} ",
"trailing_diamond": "\ue0c6 ",
"type": "spotify"
},
{
"foreground": "#22da6e",
"foreground_templates": ["{{ if gt .Code 0 }}#ef5350{{ end }}"],
"properties": {
"always_enabled": true
},
"style": "plain",
"template": "\ue285\ue285 ",
"type": "exit"
}
],
"type": "prompt"
}
],
"console_title_template": "{{ .Folder }}",
"osc99": true,
"transient_prompt": {
"background": "transparent",
"foreground": "#d6deeb",
"template": "\ue285 "
},
"version": 2
}