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

111 lines
3.1 KiB
JSON
Raw Normal View History

2021-01-11 06:32:05 -08:00
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
2021-01-11 06:32:05 -08:00
{
"foreground": "cyan",
2022-02-03 01:22:57 -08:00
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": "{{ if .WSL }}WSL at {{ end }}{{.Icon}}",
2022-02-03 01:22:57 -08:00
"type": "os"
2021-01-11 06:32:05 -08: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-01-11 06:32:05 -08:00
},
{
"foreground": "#F1502F",
"properties": {
2022-03-27 01:12:47 -07:00
"fetch_status": true
2022-02-03 01:22:57 -08:00
},
"style": "plain",
"template": ":: {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }} ",
2022-02-03 01:22:57 -08:00
"type": "git"
2021-01-11 06:32:05 -08:00
}
2022-02-03 01:22:57 -08:00
],
"type": "prompt"
},
{
"alignment": "right",
"segments": [
{
"foreground": "red",
2022-02-03 01:22:57 -08:00
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": "| root ",
2022-02-03 01:22:57 -08:00
"type": "root"
},
{
"foreground": "#06A4CE",
2022-02-03 01:22:57 -08:00
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": "| \ue798 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ",
2022-02-03 01:22:57 -08:00
"type": "dart"
},
{
"foreground": "#6CA35E",
2022-02-03 01:22:57 -08:00
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": "| \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
2022-02-03 01:22:57 -08:00
"type": "node"
},
{
"foreground": "#4584b6",
"properties": {
"display_mode": "context",
2022-03-27 01:12:47 -07:00
"fetch_virtual_env": true
2022-02-03 01:22:57 -08:00
},
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": "| \ue235 {{ .Venv }} ",
2022-02-03 01:22:57 -08:00
"type": "python"
},
{
"foreground_templates": [
"{{if eq \"Charging\" .State.String}}#4caf50{{end}}",
"{{if eq \"Discharging\" .State.String}}#40c4ff{{end}}",
"{{if eq \"Full\" .State.String}}#ff0000{{end}}"
],
2022-02-03 01:22:57 -08:00
"invert_powerline": true,
"properties": {
"charged_icon": "\uf00d ",
2022-03-27 01:12:47 -07:00
"charging_icon": "\ue234 "
2022-02-03 01:22:57 -08:00
},
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": "| {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }} \uf295 ",
2022-02-03 01:22:57 -08:00
"type": "battery"
},
{
"foreground": "lightGreen",
2022-02-03 01:22:57 -08:00
"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-01-11 06:32:05 -08:00
}