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

84 lines
2.3 KiB
JSON
Raw Normal View History

2022-01-25 21:45:51 -08:00
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"foreground": "#FFBD00",
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": "{{ .UserName }}'s ",
2022-01-25 21:45:51 -08:00
"type": "session"
},
{
"foreground": "#00C6F7",
"properties": {
2022-03-27 01:12:47 -07:00
"style": "folder"
2022-01-25 21:45:51 -08:00
},
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": "{{ .Path }}/ ",
2022-01-25 21:45:51 -08:00
"type": "path"
},
{
"foreground": "#F62F2E",
"properties": {
2022-03-27 01:12:47 -07:00
"fetch_status": true
2022-01-25 21:45:51 -08:00
},
"style": "plain",
"template": "<#ffffff>on</> {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }} ",
2022-01-25 21:45:51 -08:00
"type": "git"
},
{
"foreground": "#98C379",
"properties": {
2022-03-27 01:12:47 -07:00
"fetch_version": true
2022-01-25 21:45:51 -08:00
},
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": "<#ffffff>via</> \ue781 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
2022-01-25 21:45:51 -08:00
"type": "node"
}
],
"type": "prompt"
},
{
"alignment": "right",
"segments": [
{
"foreground": "#85C980",
"style": "diamond",
"template": "RAM:{{ (div ((sub .PhysicalTotalMemory .PhysicalFreeMemory)|float64) 1073741824.0) }}/{{ (div .PhysicalTotalMemory 1073741824.0) }}GB ",
2022-01-25 21:45:51 -08:00
"trailing_diamond": " ",
"type": "sysinfo"
},
{
"foreground": "#ffffff",
"leading_diamond": "\u250b",
"properties": {
"style": "roundrock",
"threshold": 0
},
"style": "diamond",
2022-03-27 01:12:47 -07:00
"template": " {{ .FormattedMs }} ",
2022-01-25 21:45:51 -08:00
"type": "executiontime"
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#FFBD00",
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": "\u2b9e ",
2022-01-25 21:45:51 -08:00
"type": "text"
}
],
"type": "prompt"
}
],
"final_space": true,
2024-10-28 05:59:40 -07:00
"version": 3
2022-01-25 21:45:51 -08:00
}