oh-my-posh/themes/night-owl.omp.json
2022-02-03 10:44:18 +01:00

331 lines
11 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": {
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
"windows": "\uf871"
},
"style": "diamond",
"trailing_diamond": "\ue0b0",
"type": "os"
},
{
"background": "#ef5350",
"foreground": "#ffeb95",
"leading_diamond": "<transparent,#ef5350>\ue0b0</>",
"properties": {
"template": " \uf292 "
},
"style": "diamond",
"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",
"template": " {{ .Path }} "
},
"style": "diamond",
"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,
"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": "#575656",
"foreground": "#d6deeb",
"leading_diamond": "<transparent,#575656>\ue0b0</>",
"properties": {
"style": "roundrock",
"template": " {{ .FormattedMs }} ",
"threshold": 0
},
"style": "diamond",
"trailing_diamond": "\ue0b4",
"type": "executiontime"
}
],
"type": "prompt"
},
{
"alignment": "right",
"segments": [
{
"background": "#d6deeb",
"foreground": "#011627",
"leading_diamond": "\ue0b6",
"properties": {
"template": "\uf489 {{ .Name }}"
},
"style": "diamond",
"trailing_diamond": "<transparent,#d6deeb>\ue0b2</>",
"type": "shell"
},
{
"background": "#8f43f3",
"foreground": "#ffffff",
"leading_diamond": "\ue0b2",
"properties": {
"template": " \uf85a {{ round .PhysicalPercentUsed .Precision }}% "
},
"style": "diamond",
"trailing_diamond": "<transparent,#8f43f3>\ue0b2</>",
"type": "sysinfo"
},
{
"background": "#303030",
"foreground": "#3C873A",
"leading_diamond": "\ue0b2",
"properties": {
"fetch_package_manager": true,
"npm_icon": " <#cc3a3a>\ue71e</> ",
"template": "\ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}",
"yarn_icon": " <#348cba>\uf61a</>"
},
"style": "diamond",
"trailing_diamond": "<transparent,#303030>\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": "<transparent,#306998>\ue0b2</>",
"type": "python"
},
{
"background": "#ffffff",
"foreground": "#ec2729",
"leading_diamond": "\ue0b2",
"properties": {
"template": "\ue738 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
},
"style": "diamond",
"trailing_diamond": "<transparent,#ffffff>\ue0b2</>",
"type": "java"
},
{
"background": "#787CB5",
"foreground": "#000000",
"leading_diamond": "\ue0b2",
"properties": {
"template": "\ue73d {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
},
"style": "diamond",
"trailing_diamond": "<transparent,#787CB5>\ue0b2</>",
"type": "php"
},
{
"background": "#0e0e0e",
"foreground": "#0d6da8",
"leading_diamond": "\ue0b2",
"properties": {
"template": "\ue77f {{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }}"
},
"style": "diamond",
"trailing_diamond": "<transparent,#0e0e0e>\ue0b2</>",
"type": "dotnet"
},
{
"background": "#ffffff",
"foreground": "#06aad5",
"leading_diamond": "\ue0b2",
"properties": {
"template": " \ufcd1 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} "
},
"style": "diamond",
"trailing_diamond": "<transparent,#ffffff>\ue0b2</>",
"type": "go"
},
{
"background": "#f3f0ec",
"foreground": "#925837",
"leading_diamond": "\ue0b2",
"properties": {
"template": " \ue7a8 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} "
},
"style": "diamond",
"trailing_diamond": "<transparent,#f3f0ec>\ue0b2</>",
"type": "rust"
},
{
"background": "#e1e8e9",
"foreground": "#055b9c",
"leading_diamond": "\ue0b2",
"properties": {
"template": " \ue798 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} "
},
"style": "diamond",
"trailing_diamond": "<transparent,#e1e8e9>\ue0b2</>",
"type": "dart"
},
{
"background": "#ffffff",
"foreground": "#ce092f",
"leading_diamond": "\ue0b2",
"properties": {
"template": " \ue753 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} "
},
"style": "diamond",
"trailing_diamond": "<transparent,#ffffff>\ue0b2</>",
"type": "angular"
},
{
"background": "#945bb3",
"foreground": "#359a25",
"leading_diamond": "\ue0b2",
"properties": {
"template": " <#ca3c34>\ue624</> {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} "
},
"style": "diamond",
"trailing_diamond": "<transparent,#945bb3>\ue0b2</>",
"type": "julia"
},
{
"background": "#ffffff",
"foreground": "#9c1006",
"leading_diamond": "\ue0b2",
"properties": {
"template": " \ue791 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} "
},
"style": "diamond",
"trailing_diamond": "<transparent,#ffffff>\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": "<transparent,#ffffff>\ue0b2</>",
"type": "azfunc"
},
{
"background": "#565656",
"foreground": "#faa029",
"leading_diamond": "\ue0b2",
"properties": {
"template": " \ue7ad {{.Profile}}{{if .Region}}@{{.Region}}{{end}} "
},
"style": "diamond",
"trailing_diamond": "<transparent,#565656>\ue0b2</>",
"type": "aws"
},
{
"background": "#316ce4",
"foreground": "#ffffff",
"leading_diamond": "\ue0b2",
"properties": {
"template": " \ufd31 {{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}} "
},
"style": "diamond",
"trailing_diamond": "<transparent,#316ce4>\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"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#21c7a8",
"properties": {
"template": "\u2570\u2500"
},
"style": "plain",
"type": "text"
},
{
"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"
},
{
"foreground": "#22da6e",
"foreground_templates": [
"{{ if gt .Code 0 }}#ef5350{{ end }}"
],
"properties": {
"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
}