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

92 lines
2.4 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": [
"{{ if .Root }}red{{ end }}"
],
"properties": {
2022-03-27 01:12:47 -07:00
"display_host": true
2022-03-03 08:03:10 -08:00
},
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": "<green>\u250c\u2500\u2500(</>{{ if .Root }}root💀{{ else }}{{ .UserName }}@{{ end }}{{ .HostName }}<green>)</>",
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-03-27 01:12:47 -07:00
"template": "<green>-[</>\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }}{{ end }}{{ .Full }}{{ end }}<green>]</>",
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-03-27 01:12:47 -07:00
"template": "<green>-[</>{{ .Path }}<green>]</>",
2022-03-03 08:03:10 -08:00
"type": "path"
},
{
"foreground": "white",
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": "<green>-[</>{{ .HEAD }}<green>]</>",
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",
2022-03-27 01:12:47 -07:00
"template": " {{ if gt .Code 0 }}\u2a2f{{else}}\u2713{{ end }} ",
2022-03-03 08:03:10 -08:00
"type": "exit"
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "lightBlue",
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": "<green>\u2514\u2500</>{{ if .Root }}<red>#</>{{ 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
}