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",
|
2022-02-03 01:22:57 -08:00
|
|
|
"style": "plain",
|
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-03-26 12:12:02 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"background": "#242424",
|
2022-02-03 01:22:57 -08:00
|
|
|
"foreground": "#f1184c",
|
|
|
|
"powerline_symbol": "\ue0b0",
|
|
|
|
"style": "powerline",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": " {{ .UserName }}",
|
2022-02-03 01:22:57 -08:00
|
|
|
"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",
|
|
|
|
"style": "powerline",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": "- root \uf0e7",
|
2022-02-03 01:22:57 -08:00
|
|
|
"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
|
|
|
"time_format": "2006-01-02 15:04:05"
|
|
|
|
},
|
|
|
|
"style": "powerline",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": "{{ .CurrentDate | date .Format }} ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"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": "/",
|
2022-03-27 01:12:47 -07:00
|
|
|
"style": "full"
|
2022-02-03 01:22:57 -08:00
|
|
|
},
|
|
|
|
"style": "powerline",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": "\ue5ff {{ .Path }} ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"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,
|
2022-03-27 01:12:47 -07:00
|
|
|
"fetch_upstream_icon": true
|
2022-02-03 01:22:57 -08:00
|
|
|
},
|
|
|
|
"style": "powerline",
|
2023-05-09 02:08:45 -07:00
|
|
|
"template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }} ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"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": {
|
2022-03-27 01:12:47 -07:00
|
|
|
"always_enabled": true
|
2022-02-03 01:22:57 -08:00
|
|
|
},
|
|
|
|
"style": "powerline",
|
2023-05-09 02:08:45 -07:00
|
|
|
"template": " \uea6c ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"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",
|
2022-02-03 01:22:57 -08:00
|
|
|
"style": "plain",
|
2022-03-27 01:12:47 -07:00
|
|
|
"template": "\u279c ",
|
2022-02-03 01:22:57 -08:00
|
|
|
"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
|
|
|
],
|
2022-03-27 01:12:47 -07:00
|
|
|
"version": 2
|
2021-03-26 12:12:02 -07:00
|
|
|
}
|