mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-09 20:44:03 -08:00
68 lines
1.8 KiB
JSON
68 lines
1.8 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
"blocks": [
|
|
{
|
|
"alignment": "left",
|
|
"segments": [
|
|
{
|
|
"background": "#EB9654",
|
|
"foreground": "#ffffff",
|
|
"leading_diamond": "",
|
|
"properties": {
|
|
"display_host": false,
|
|
"prefix": ""
|
|
},
|
|
"style": "diamond",
|
|
"trailing_diamond": "",
|
|
"type": "session"
|
|
},
|
|
{
|
|
"background": "lightYellow",
|
|
"foreground": "#3f3f3f",
|
|
"properties": {
|
|
"style": "full"
|
|
},
|
|
"style": "plain",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"background": "#25AFF3",
|
|
"foreground": "#ffffff",
|
|
"properties": {
|
|
"fetch_status": true,
|
|
"template": "{{ .Repo.HEAD }}{{ if .Repo.Staging.Changed }} \uF046 {{ .Repo.Staging.String }}{{ end }}{{ if and (.Repo.Working.Changed) (.Repo.Staging.Changed) }} |{{ end }}{{ if .Repo.Working.Changed }} \uF044 {{ .Repo.Working.String }}{{ end }}",
|
|
"postfix": ") ",
|
|
"prefix": " branch ("
|
|
},
|
|
"style": "plain",
|
|
"type": "git"
|
|
},
|
|
{
|
|
"type": "spotify",
|
|
"style": "plain",
|
|
"foreground": "#ffffff",
|
|
"background": "#1BD760",
|
|
"properties": {
|
|
"track_separator": " - ",
|
|
"playing_icon": "",
|
|
"stopped_icon": "",
|
|
"paused_icon": ""
|
|
}
|
|
},
|
|
{
|
|
"background": "#cc00ff",
|
|
"foreground": "#ffffff",
|
|
"properties": {
|
|
"time_format": "15:04:05"
|
|
},
|
|
"style": "diamond",
|
|
"trailing_diamond": "\uE0B0",
|
|
"type": "time"
|
|
}
|
|
],
|
|
"type": "prompt"
|
|
}
|
|
],
|
|
"final_space": true
|
|
}
|