2021-03-21 18:42:20 -07:00
|
|
|
{
|
|
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
|
|
"blocks": [
|
|
|
|
{
|
|
|
|
"type": "prompt",
|
|
|
|
"alignment": "left",
|
|
|
|
"segments": [
|
|
|
|
{
|
|
|
|
"type": "session",
|
|
|
|
"style": "plain",
|
|
|
|
"foreground": "#FFE082",
|
|
|
|
"properties": {
|
|
|
|
"prefix": "@",
|
2021-12-03 14:44:58 -08:00
|
|
|
"postfix": " \u279C",
|
|
|
|
"template": "{{ .UserName }}"
|
2021-03-21 18:42:20 -07:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "path",
|
|
|
|
"style": "plain",
|
|
|
|
"foreground": "#56B6C2",
|
|
|
|
"properties": {
|
|
|
|
"style": "agnoster_short"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "go",
|
|
|
|
"style": "powerline",
|
|
|
|
"foreground": "#7FD5EA",
|
|
|
|
"properties": {
|
|
|
|
"prefix": "\u0028\uFCD1",
|
|
|
|
"postfix": "\u0029 "
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "python",
|
|
|
|
"style": "powerline",
|
|
|
|
"foreground": "#9e7eff",
|
|
|
|
"properties": {
|
|
|
|
"prefix": "\u0028\uE235 ",
|
2021-04-18 10:16:06 -07:00
|
|
|
"postfix": "\u0029 "
|
2021-03-21 18:42:20 -07:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "git",
|
|
|
|
"style": "plain",
|
|
|
|
"foreground": "#56B6C2",
|
|
|
|
"properties": {
|
|
|
|
"branch_icon": "",
|
2021-11-09 08:13:47 -08:00
|
|
|
"template": "{{ .HEAD }}",
|
2021-03-21 18:42:20 -07:00
|
|
|
"prefix": "<#E8CC97>git(</>",
|
|
|
|
"postfix": "<#E8CC97>) </>"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "executiontime",
|
|
|
|
"style": "powerline",
|
|
|
|
"foreground": "#FFAB91",
|
|
|
|
"properties": {
|
|
|
|
"threshold": 100,
|
|
|
|
"style": "austin",
|
|
|
|
"prefix": "\u007B",
|
|
|
|
"postfix": "\u007D",
|
|
|
|
"always_enabled": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "prompt",
|
|
|
|
"alignment": "left",
|
2021-04-18 10:16:06 -07:00
|
|
|
"newline": true,
|
2021-03-21 18:42:20 -07:00
|
|
|
"segments": [
|
|
|
|
{
|
|
|
|
"type": "battery",
|
|
|
|
"style": "powerline",
|
|
|
|
"foreground": "#193549",
|
2021-11-25 04:55:03 -08:00
|
|
|
"foreground_templates": [
|
|
|
|
"{{if eq \"Charging\" .State.String}}#64B5F6{{end}}",
|
|
|
|
"{{if eq \"Discharging\" .State.String}}#E36464{{end}}",
|
|
|
|
"{{if eq \"Full\" .State.String}}#66BB6A{{end}}"
|
|
|
|
],
|
2021-03-21 18:42:20 -07:00
|
|
|
"properties": {
|
|
|
|
"discharging_icon": "\uE231 ",
|
|
|
|
"charging_icon": "\uE234 ",
|
|
|
|
"charged_icon": "\uE22F ",
|
|
|
|
"prefix": "\u005B",
|
2021-11-25 04:55:03 -08:00
|
|
|
"postfix": "\uF295\u005D"
|
2021-03-21 18:42:20 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"final_space": true
|
|
|
|
}
|
2021-04-18 10:16:06 -07:00
|
|
|
|