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

108 lines
2.8 KiB
JSON
Raw Normal View History

2021-06-21 09:43:27 -07:00
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
2021-06-21 09:43:27 -07:00
{
"foreground": "cyan",
2022-02-03 01:22:57 -08:00
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": "{{ .Icon }}",
2022-02-03 01:22:57 -08:00
"type": "os"
2021-06-21 09:43:27 -07:00
},
{
"foreground": "cyan",
"properties": {
2022-03-27 01:12:47 -07:00
"style": "full"
2022-02-03 01:22:57 -08:00
},
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": " {{ .Path }} ",
2022-02-03 01:22:57 -08:00
"type": "path"
2021-06-21 09:43:27 -07:00
},
{
"foreground": "lightYellow",
2022-02-03 01:22:57 -08:00
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": ":: <lightBlue>git(</>{{ .HEAD }}<lightBlue>)</>",
2022-02-03 01:22:57 -08:00
"type": "git"
2021-06-21 09:43:27 -07:00
}
2022-02-03 01:22:57 -08:00
],
"type": "prompt"
},
{
"alignment": "right",
"segments": [
{
"foreground": "#68a063",
"properties": {
"display_mode": "files",
2022-02-03 01:22:57 -08:00
"fetch_package_manager": true,
"fetch_version": true,
"npm_icon": "/npm",
"yarn_icon": "/yarn"
},
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": " {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}",
2022-02-03 01:22:57 -08:00
"type": "node"
},
{
"foreground": "#4063D8",
"properties": {
"display_mode": "files",
2022-03-27 01:12:47 -07:00
"fetch_version": true
2022-02-03 01:22:57 -08:00
},
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
2022-02-03 01:22:57 -08:00
"type": "crystal"
},
{
"foreground": "#DE3F24",
"properties": {
2022-02-03 01:22:57 -08:00
"display_mode": "files",
2022-03-27 01:12:47 -07:00
"fetch_version": true
2022-02-03 01:22:57 -08:00
},
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
2022-02-03 01:22:57 -08:00
"type": "ruby"
},
{
"foreground": "#FED142",
"properties": {
2021-12-04 02:56:55 -08:00
"display_mode": "context",
2022-03-27 01:12:47 -07:00
"fetch_virtual_env": false
2022-02-03 01:22:57 -08:00
},
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}",
2022-02-03 01:22:57 -08:00
"type": "python"
},
{
2022-02-03 01:22:57 -08:00
"foreground": "lightGreen",
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": " {{ .CurrentDate | date .Format }} ",
2022-02-03 01:22:57 -08:00
"type": "time"
}
2022-02-03 01:22:57 -08:00
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "lightGreen",
2022-02-03 01:22:57 -08:00
"foreground_templates": [
"{{ if gt .Code 0 }}red{{ end }}"
],
"properties": {
2022-03-27 01:12:47 -07:00
"always_enabled": true
2022-02-03 01:22:57 -08:00
},
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": "\u279c ",
"type": "status"
}
2022-02-03 01:22:57 -08:00
],
"type": "prompt"
}
2022-02-03 01:22:57 -08:00
],
2024-10-28 05:59:40 -07:00
"version": 3
2021-06-21 09:43:27 -07:00
}