oh-my-posh/themes/slimfat.omp.json

186 lines
5.7 KiB
JSON
Raw Normal View History

{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "#2f2f2f",
2022-02-03 01:22:57 -08:00
"foreground": "#26C6DA",
"leading_diamond": "\ue0c7\u2593",
"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",
2022-02-03 01:22:57 -08:00
"windows": "\ue70f"
},
"style": "diamond",
2022-03-27 01:12:47 -07:00
"template": " {{ if .WSL }}\ue712 on {{ end }}{{ .Icon }}<#7a7a7a> \ue0b1</>",
2022-02-03 01:22:57 -08:00
"type": "os"
},
{
"background": "#2f2f2f",
2022-02-03 01:22:57 -08:00
"foreground": "#fafafa",
"style": "diamond",
"template": " {{ if ne .Env.POSH_SESSION_DEFAULT_USER .UserName }}<#77f5d6>{{ .UserName }}</><#7a7a7a>\uf1fa</>{{ end }}<#2EEFBF>{{ .HostName }}</><#7a7a7a> \ue0b1</>",
2022-02-03 01:22:57 -08:00
"type": "session"
},
{
"background": "#2f2f2f",
2022-02-03 01:22:57 -08:00
"foreground": "#ffff66",
"style": "diamond",
2022-03-27 01:12:47 -07:00
"template": " \uf0e7<#7a7a7a> \ue0b1</>",
2022-02-03 01:22:57 -08:00
"type": "root"
},
{
"background": "#2f2f2f",
2022-02-03 01:22:57 -08:00
"foreground": "#fafafa",
"properties": {
2022-02-03 01:22:57 -08:00
"folder_icon": "<#B5B2C2>\ue5fe </>",
2022-03-27 01:12:47 -07:00
"style": "full"
2022-02-03 01:22:57 -08:00
},
"style": "diamond",
2022-03-27 01:12:47 -07:00
"template": "<#f2f200> \ue5ff </>{{ .Path }} ",
2022-02-03 01:22:57 -08:00
"type": "path"
},
{
"background": "#2f2f2f",
2022-02-03 01:22:57 -08:00
"foreground": "#ffeb3b",
"foreground_templates": [
2021-11-09 08:13:47 -08:00
"{{ if or (.Working.Changed) (.Staging.Changed) }}#ffeb3b{{ end }}",
"{{ if gt .Ahead 0 }}#2EC4B6{{ end }}",
"{{ if gt .Behind 0 }}#8A4FFF{{ end }}"
],
"properties": {
"fetch_stash_count": true,
"fetch_status": true,
2022-03-27 01:12:47 -07:00
"fetch_upstream_icon": true
2022-02-03 01:22:57 -08:00
},
"style": "diamond",
"template": "<#7a7a7a>\ue0b1 </>{{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ 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 }} \ueb4b {{ .StashCount }}{{ end }} ",
2022-02-03 01:22:57 -08:00
"type": "git"
},
{
"background": "#2f2f2f",
2022-02-03 01:22:57 -08:00
"foreground": "#fafafa",
"style": "diamond",
"trailing_diamond": "\ue0b0",
"type": "text"
}
2022-02-03 01:22:57 -08:00
],
"type": "prompt"
},
{
"alignment": "right",
"segments": [
{
"background": "#2f2f2f",
2022-02-03 01:22:57 -08:00
"foreground": "#fafafa",
"leading_diamond": "\ue0b2",
2022-02-03 01:22:57 -08:00
"style": "diamond",
"type": "text"
},
{
"background": "#2f2f2f",
2022-02-03 01:22:57 -08:00
"foreground": "#6CA35E",
"style": "diamond",
2022-03-27 01:12:47 -07:00
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}<#7a7a7a> \ue0b3</>",
2022-02-03 01:22:57 -08:00
"type": "node"
},
{
"background": "#2f2f2f",
2022-02-03 01:22:57 -08:00
"foreground": "#96E072",
"style": "diamond",
2022-03-27 01:12:47 -07:00
"template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}<#7a7a7a> \ue0b3</>",
2022-02-03 01:22:57 -08:00
"type": "python"
},
{
"background": "#2f2f2f",
2022-02-03 01:22:57 -08:00
"foreground": "#3891A6",
"style": "diamond",
2022-03-27 01:12:47 -07:00
"template": " \ue77f {{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }}<#7a7a7a> \ue0b3</>",
2022-02-03 01:22:57 -08:00
"type": "dotnet"
},
{
"background": "#2f2f2f",
2022-02-03 01:22:57 -08:00
"foreground": "#fafafa",
"properties": {
2022-02-03 01:22:57 -08:00
"time_format": "15:04:05"
},
"style": "diamond",
"template": " {{ .CurrentDate | date .Format }}<#007ACC> \ue641 </>",
2022-02-03 01:22:57 -08:00
"trailing_diamond": "\u2593\ue0c6",
"type": "time"
}
2022-02-03 01:22:57 -08:00
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#7a7a7a",
2022-02-03 01:22:57 -08:00
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": " ~#@\u276f ",
2022-02-03 01:22:57 -08:00
"type": "text"
}
2022-02-03 01:22:57 -08:00
],
"type": "prompt"
},
{
"alignment": "right",
"segments": [
{
"foreground": "#7a7a7a",
2022-02-03 01:22:57 -08:00
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": " \u276e ",
2022-02-03 01:22:57 -08:00
"type": "text"
},
{
"foreground": "#FFCE5C",
"properties": {
"style": "roundrock",
2022-02-03 01:22:57 -08:00
"threshold": 500
},
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": " {{ .FormattedMs }}<#fafafa> \uf252 </>",
2022-02-03 01:22:57 -08:00
"type": "executiontime"
},
{
"foreground": "#9FD356",
2022-02-03 01:22:57 -08:00
"foreground_templates": [
"{{ if gt .Code 0 }}#E84855{{ end }}"
],
"properties": {
2022-03-27 01:12:47 -07:00
"always_enabled": true
2022-02-03 01:22:57 -08:00
},
"style": "plain",
"template": " \uea9f {{ if gt .Code 0 }}{{ .Code }}{{ end }} ",
"type": "status"
}
2022-02-03 01:22:57 -08:00
],
"type": "rprompt"
}
2022-02-03 01:22:57 -08:00
],
"console_title_template": "{{if .Root}}root :: {{end}}{{.Shell}} :: {{.Folder}}",
"final_space": true,
"transient_prompt": {
2022-07-12 03:55:49 -07:00
"background": "transparent",
"foreground": "#7a7a7a",
"template": " ~#@\u276f "
},
2022-03-27 01:12:47 -07:00
"version": 2
}