mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-02-02 05:41:10 -08:00
theme: add di4am0nd
This commit is contained in:
parent
a3e38b0838
commit
47e6658978
89
themes/di4am0nd.omp.json
Normal file
89
themes/di4am0nd.omp.json
Normal file
|
@ -0,0 +1,89 @@
|
|||
{
|
||||
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
||||
"blocks": [
|
||||
{
|
||||
"alignment": "left",
|
||||
"segments": [
|
||||
{
|
||||
"foreground": "#FFBD00",
|
||||
"properties": {
|
||||
"template": "{{ .UserName }}'s "
|
||||
},
|
||||
"style": "plain",
|
||||
"type": "session"
|
||||
},
|
||||
{
|
||||
"foreground": "#00C6F7",
|
||||
"properties": {
|
||||
"style": "folder",
|
||||
"template": "{{ .Path }}/ "
|
||||
},
|
||||
"style": "plain",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"foreground": "#F62F2E",
|
||||
"properties": {
|
||||
"fetch_status": true,
|
||||
"template": "<#ffffff>on</> {{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }} "
|
||||
},
|
||||
"style": "plain",
|
||||
"type": "git"
|
||||
},
|
||||
{
|
||||
"foreground": "#98C379",
|
||||
"properties": {
|
||||
"fetch_version": true,
|
||||
"template": "<#ffffff>via</> \ue781 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} "
|
||||
},
|
||||
"style": "plain",
|
||||
"type": "node"
|
||||
}
|
||||
],
|
||||
"type": "prompt"
|
||||
},
|
||||
{
|
||||
"alignment": "right",
|
||||
"segments": [
|
||||
{
|
||||
"foreground": "#85C980",
|
||||
"properties": {
|
||||
"template": "RAM:{{ (div ((sub .PhysicalTotalMemory .PhysicalFreeMemory)|float64) 1000000000.0) }}/{{ (div .PhysicalTotalMemory 1000000000.0) }}GB "
|
||||
},
|
||||
"style": "diamond",
|
||||
"trailing_diamond": " ",
|
||||
"type": "sysinfo"
|
||||
},
|
||||
{
|
||||
"foreground": "#ffffff",
|
||||
"leading_diamond": "\u250b",
|
||||
"properties": {
|
||||
"style": "roundrock",
|
||||
"template": " {{ .FormattedMs }} ",
|
||||
"threshold": 0
|
||||
},
|
||||
"style": "diamond",
|
||||
"type": "executiontime"
|
||||
}
|
||||
],
|
||||
"type": "prompt"
|
||||
},
|
||||
{
|
||||
"alignment": "left",
|
||||
"newline": true,
|
||||
"segments": [
|
||||
{
|
||||
"foreground": "#FFBD00",
|
||||
"properties": {
|
||||
"template": "\u2b9e "
|
||||
},
|
||||
"style": "plain",
|
||||
"type": "text"
|
||||
}
|
||||
],
|
||||
"type": "prompt"
|
||||
}
|
||||
],
|
||||
"final_space": true,
|
||||
"version": 1
|
||||
}
|
Loading…
Reference in a new issue