2021-03-26 12:12:02 -07:00
|
|
|
{
|
|
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
|
|
"blocks": [
|
|
|
|
{
|
|
|
|
"alignment": "left",
|
|
|
|
"segments": [
|
|
|
|
{
|
2021-04-04 11:28:41 -07:00
|
|
|
"foreground": "#3A86FF",
|
|
|
|
"properties": {
|
2022-02-03 01:22:57 -08:00
|
|
|
"template": "{{ if .WSL }}WSL at {{ end }}{{.Icon}} "
|
|
|
|
},
|
|
|
|
"style": "plain",
|
|
|
|
"type": "os"
|
2021-03-26 12:12:02 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#242424",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#f1184c",
|
|
|
|
"powerline_symbol": "\ue0b0",
|
2021-03-26 12:12:02 -07:00
|
|
|
"properties": {
|
2022-02-03 01:22:57 -08:00
|
|
|
"template": " {{ .UserName }}"
|
|
|
|
},
|
|
|
|
"style": "powerline",
|
|
|
|
"type": "session"
|
2021-03-26 12:12:02 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#242424",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#f1184c",
|
|
|
|
"powerline_symbol": "\ue0b0",
|
2021-03-26 12:12:02 -07:00
|
|
|
"properties": {
|
2022-02-03 01:22:57 -08:00
|
|
|
"template": "- root \uf0e7"
|
|
|
|
},
|
|
|
|
"style": "powerline",
|
|
|
|
"type": "root"
|
2021-03-26 12:12:02 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#242424",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#FFBB00",
|
|
|
|
"powerline_symbol": "\ue0b0",
|
2021-03-26 12:12:02 -07:00
|
|
|
"properties": {
|
2022-02-03 01:22:57 -08:00
|
|
|
"template": "{{ .CurrentDate | date .Format }} ",
|
|
|
|
"time_format": "2006-01-02 15:04:05"
|
|
|
|
},
|
|
|
|
"style": "powerline",
|
|
|
|
"type": "time"
|
2021-03-26 12:12:02 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#242424",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#33DD2D",
|
|
|
|
"powerline_symbol": "\ue0b0",
|
2021-03-26 12:12:02 -07:00
|
|
|
"properties": {
|
2022-02-03 01:22:57 -08:00
|
|
|
"folder_separator_icon": "/",
|
2021-03-26 12:12:02 -07:00
|
|
|
"style": "full",
|
2022-02-03 01:22:57 -08:00
|
|
|
"template": "\ue5ff {{ .Path }} "
|
|
|
|
},
|
|
|
|
"style": "powerline",
|
|
|
|
"type": "path"
|
2021-03-26 12:12:02 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#242424",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#3A86FF",
|
|
|
|
"powerline_symbol": "\ue0b0",
|
2021-03-26 12:12:02 -07:00
|
|
|
"properties": {
|
2021-11-07 08:42:56 -08:00
|
|
|
"fetch_stash_count": true,
|
2021-11-08 13:56:40 -08:00
|
|
|
"fetch_upstream_icon": true,
|
2022-02-03 01:22:57 -08:00
|
|
|
"template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} "
|
|
|
|
},
|
|
|
|
"style": "powerline",
|
|
|
|
"type": "git"
|
2021-03-26 12:12:02 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#33DD2D",
|
2022-02-03 01:22:57 -08:00
|
|
|
"background_templates": [
|
|
|
|
"{{ if gt .Code 0 }}#f1184c{{ end }}"
|
|
|
|
],
|
|
|
|
"foreground": "#242424",
|
|
|
|
"powerline_symbol": "\ue0b0",
|
2021-03-26 12:12:02 -07:00
|
|
|
"properties": {
|
|
|
|
"always_enabled": true,
|
2022-02-03 01:22:57 -08:00
|
|
|
"template": " \ufc8d "
|
|
|
|
},
|
|
|
|
"style": "powerline",
|
|
|
|
"type": "exit"
|
2021-03-26 12:12:02 -07:00
|
|
|
}
|
2022-02-03 01:22:57 -08:00
|
|
|
],
|
|
|
|
"type": "prompt"
|
2021-03-26 12:12:02 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"alignment": "left",
|
2021-04-18 10:16:06 -07:00
|
|
|
"newline": true,
|
2021-03-26 12:12:02 -07:00
|
|
|
"segments": [
|
|
|
|
{
|
|
|
|
"foreground": "#f1184c",
|
|
|
|
"properties": {
|
2022-02-03 01:22:57 -08:00
|
|
|
"template": "\u279c "
|
|
|
|
},
|
|
|
|
"style": "plain",
|
|
|
|
"type": "text"
|
2021-03-26 12:12:02 -07:00
|
|
|
}
|
2022-02-03 01:22:57 -08:00
|
|
|
],
|
|
|
|
"type": "prompt"
|
2021-03-26 12:12:02 -07:00
|
|
|
}
|
2022-02-03 01:22:57 -08:00
|
|
|
],
|
|
|
|
"version": 1
|
2021-03-26 12:12:02 -07:00
|
|
|
}
|