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

71 lines
1.8 KiB
JSON
Raw Normal View History

2019-03-13 04:14:30 -07:00
{
2021-02-15 23:36:37 -08:00
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
2019-03-13 04:14:30 -07:00
"blocks": [
{
"alignment": "left",
"segments": [
{
2020-10-09 06:49:08 -07:00
"foreground": "#E06C75",
2019-03-13 04:14:30 -07:00
"properties": {
2022-02-03 01:22:57 -08:00
"template": "root <#ffffff>in</> "
},
"style": "plain",
"type": "root"
2019-03-13 04:14:30 -07:00
},
{
2020-10-09 06:49:08 -07:00
"foreground": "#55B9C4",
2019-03-13 04:14:30 -07:00
"properties": {
2020-10-09 06:49:08 -07:00
"style": "folder",
2022-02-03 01:22:57 -08:00
"template": "{{ .Path }} "
},
"style": "plain",
"type": "path"
2019-03-13 04:14:30 -07:00
},
{
2020-10-09 06:49:08 -07:00
"foreground": "#C678DD",
2019-03-13 04:14:30 -07:00
"properties": {
"fetch_status": true,
2022-02-03 01:22:57 -08:00
"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"
2019-03-13 04:14:30 -07:00
},
{
2020-10-09 06:49:08 -07:00
"foreground": "#98C379",
2019-03-13 04:14:30 -07:00
"properties": {
2022-01-22 10:46:56 -08:00
"fetch_version": true,
2022-02-03 01:22:57 -08:00
"template": "<#ffffff>via</> \ue781 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} "
},
"style": "plain",
"type": "node"
2019-03-13 04:14:30 -07:00
},
{
"foreground": "#C94A16",
"properties": {
2022-02-03 01:22:57 -08:00
"template": "x "
},
"style": "plain",
"type": "exit"
2019-03-13 04:14:30 -07:00
}
2022-02-03 01:22:57 -08:00
],
"type": "prompt"
2019-03-13 04:14:30 -07:00
},
{
"alignment": "left",
"newline": true,
2019-03-13 04:14:30 -07:00
"segments": [
{
"foreground": "#63F08C",
"properties": {
2022-02-03 01:22:57 -08:00
"template": "\u279c "
},
"style": "plain",
"type": "text"
2019-03-13 04:14:30 -07:00
}
2022-02-03 01:22:57 -08:00
],
"type": "prompt"
2019-03-13 04:14:30 -07:00
}
2022-02-03 01:22:57 -08:00
],
"version": 1
2019-03-13 04:14:30 -07:00
}