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

92 lines
2.8 KiB
JSON
Raw Normal View History

2022-03-03 08:03:10 -08:00
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"foreground": "lightBlue",
"foreground_templates": [
2022-05-12 11:03:42 -07:00
"{{ if .Root }}lightRed{{ end }}"
2022-03-03 08:03:10 -08:00
],
"properties": {
2022-03-27 01:12:47 -07:00
"display_host": true
2022-03-03 08:03:10 -08:00
},
"style": "plain",
2022-05-12 11:03:42 -07:00
"template": "<{{ if .Root }}lightBlue{{ else }}green{{ end }}>\u250c\u2500\u2500(</>{{ .UserName }}{{ if .Root }}💀{{ else }}㉿{{ end }}{{ .HostName }}<{{ if .Root }}lightBlue{{ else }}green{{ end }}>)</>",
2022-03-03 08:03:10 -08:00
"type": "session"
},
{
"foreground": "yellow",
"properties": {
"fetch_version": false,
2022-03-27 01:12:47 -07:00
"fetch_virtual_env": true
2022-03-03 08:03:10 -08:00
},
"style": "plain",
2022-05-12 11:03:42 -07:00
"template": "<{{ if .Root }}lightBlue{{ else }}green{{ end }}>-[</>\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }}{{ end }}{{ .Full }}{{ end }}<{{ if .Root }}lightBlue{{ else }}green{{ end }}>]</>",
2022-03-03 08:03:10 -08:00
"type": "python"
},
{
"foreground": "lightWhite",
"properties": {
"folder_separator_icon": "<#c0c0c0>/</>",
2022-03-27 01:12:47 -07:00
"style": "full"
2022-03-03 08:03:10 -08:00
},
"style": "plain",
2022-05-12 11:03:42 -07:00
"template": "<{{ if .Root }}lightBlue{{ else }}green{{ end }}>-[</>{{ .Path }}<{{ if .Root }}lightBlue{{ else }}green{{ end }}>]</>",
2022-03-03 08:03:10 -08:00
"type": "path"
},
{
"foreground": "white",
"style": "plain",
2022-05-12 11:03:42 -07:00
"template": "<{{ if .Root }}lightBlue{{ else }}green{{ end }}>-[</>{{ .HEAD }}<{{ if .Root }}lightBlue{{ else }}green{{ end }}>]</>",
2022-03-03 08:03:10 -08:00
"type": "git"
}
],
"type": "prompt"
},
{
"alignment": "right",
"segments": [
{
"foreground": "white",
"properties": {
"always_enabled": true,
2022-03-27 01:12:47 -07:00
"style": "round"
2022-03-03 08:03:10 -08:00
},
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": " {{ .FormattedMs }} ",
2022-03-03 08:03:10 -08:00
"type": "executiontime"
},
{
"foreground": "green",
"foreground_templates": [
"{{ if gt .Code 0 }}red{{ end }}"
],
"properties": {
2022-03-27 01:12:47 -07:00
"always_enabled": true
2022-03-03 08:03:10 -08:00
},
"style": "plain",
"template": " {{ if gt .Code 0 }}\uea76{{else}}\uf42e{{ end }} ",
"type": "status"
2022-03-03 08:03:10 -08:00
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "lightBlue",
"style": "plain",
2022-05-12 11:03:42 -07:00
"template": "<{{ if .Root }}lightBlue{{ else }}green{{ end }}>\u2514\u2500</>{{ if .Root }}<lightRed>#</>{{ else }}${{ end }} ",
2022-03-03 08:03:10 -08:00
"type": "text"
}
],
"type": "prompt"
}
],
2022-03-27 01:12:47 -07:00
"version": 2
2022-03-03 08:03:10 -08:00
}