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

104 lines
2.5 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": [
{
"background": "#546E7A",
2022-02-03 01:22:57 -08:00
"foreground": "#26C6DA",
2019-03-13 04:14:30 -07:00
"properties": {
2022-02-03 01:22:57 -08:00
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} \ue0b1"
},
"style": "plain",
"type": "os"
2019-03-13 04:14:30 -07:00
},
{
2022-02-03 01:22:57 -08:00
"background": "#546E7A",
2019-03-13 04:14:30 -07:00
"foreground": "#26C6DA",
2022-02-03 01:22:57 -08:00
"properties": {
"template": " \uf0e7 "
},
"style": "plain",
"type": "root"
2019-03-13 04:14:30 -07:00
},
{
"background": "#546E7A",
2022-02-03 01:22:57 -08:00
"foreground": "#26C6DA",
2019-03-13 04:14:30 -07:00
"properties": {
2022-02-03 01:22:57 -08:00
"style": "full",
"template": " {{ .Path }} "
},
"style": "plain",
"type": "path"
2019-03-13 04:14:30 -07:00
},
{
"background": "#546E7A",
2022-02-03 01:22:57 -08:00
"foreground": "#D4E157",
2019-03-13 04:14:30 -07:00
"properties": {
2022-02-03 01:22:57 -08:00
"template": "<#26C6DA>\ue0b1 </>{{ .HEAD }} "
},
"style": "plain",
"type": "git"
},
{
2020-10-05 11:43:08 -07:00
"background": "transparent",
2022-02-03 01:22:57 -08:00
"foreground": "#546E7A",
"properties": {
2022-02-03 01:22:57 -08:00
"template": "\ue0b0"
},
"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
},
{
"alignment": "right",
"segments": [
{
"background": "#546E7A",
2022-02-03 01:22:57 -08:00
"foreground": "#D4E157",
"leading_diamond": "\ue0b2",
2019-03-13 04:14:30 -07:00
"properties": {
2022-02-03 01:22:57 -08:00
"template": " {{ .UserName }}@{{ .HostName }} <#26C6DA>\ue0b3</> "
},
"style": "diamond",
"type": "session"
2019-03-13 04:14:30 -07:00
},
{
"background": "#546E7A",
2022-02-03 01:22:57 -08:00
"foreground": "#D4E157",
2019-03-13 04:14:30 -07:00
"properties": {
2022-02-03 01:22:57 -08:00
"template": " {{ .CurrentDate | date .Format }} \uf017 ",
"time_format": "15:04:05"
},
"style": "plain",
"type": "time"
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": "#D4E157",
2022-02-03 01:22:57 -08:00
"foreground_templates": [
"{{ if gt .Code 0 }}#FF5252{{ end }}"
],
2019-03-13 04:14:30 -07:00
"properties": {
2022-02-03 01:22:57 -08:00
"always_enabled": true,
"template": "\u276f "
},
"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
}
2022-02-03 01:22:57 -08:00
],
"version": 1
2019-03-13 04:14:30 -07:00
}