oh-my-posh/themes/powerlevel10k_classic.omp.json
2022-02-03 10:44:18 +01:00

104 lines
2.5 KiB
JSON

{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "#546E7A",
"foreground": "#26C6DA",
"properties": {
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} \ue0b1"
},
"style": "plain",
"type": "os"
},
{
"background": "#546E7A",
"foreground": "#26C6DA",
"properties": {
"template": " \uf0e7 "
},
"style": "plain",
"type": "root"
},
{
"background": "#546E7A",
"foreground": "#26C6DA",
"properties": {
"style": "full",
"template": " {{ .Path }} "
},
"style": "plain",
"type": "path"
},
{
"background": "#546E7A",
"foreground": "#D4E157",
"properties": {
"template": "<#26C6DA>\ue0b1 </>{{ .HEAD }} "
},
"style": "plain",
"type": "git"
},
{
"background": "transparent",
"foreground": "#546E7A",
"properties": {
"template": "\ue0b0"
},
"style": "plain",
"type": "text"
}
],
"type": "prompt"
},
{
"alignment": "right",
"segments": [
{
"background": "#546E7A",
"foreground": "#D4E157",
"leading_diamond": "\ue0b2",
"properties": {
"template": " {{ .UserName }}@{{ .HostName }} <#26C6DA>\ue0b3</> "
},
"style": "diamond",
"type": "session"
},
{
"background": "#546E7A",
"foreground": "#D4E157",
"properties": {
"template": " {{ .CurrentDate | date .Format }} \uf017 ",
"time_format": "15:04:05"
},
"style": "plain",
"type": "time"
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#D4E157",
"foreground_templates": [
"{{ if gt .Code 0 }}#FF5252{{ end }}"
],
"properties": {
"always_enabled": true,
"template": "\u276f "
},
"style": "plain",
"type": "exit"
}
],
"type": "prompt"
}
],
"version": 1
}