mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-29 04:49:39 -08:00
97 lines
2.6 KiB
JSON
97 lines
2.6 KiB
JSON
{
|
|
"$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": "@",
|
|
"postfix": " \u279C",
|
|
"template": "{{ .UserName }}"
|
|
}
|
|
},
|
|
{
|
|
"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 ",
|
|
"postfix": "\u0029 "
|
|
}
|
|
},
|
|
{
|
|
"type": "git",
|
|
"style": "plain",
|
|
"foreground": "#56B6C2",
|
|
"properties": {
|
|
"branch_icon": "",
|
|
"template": "{{ .HEAD }}",
|
|
"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",
|
|
"newline": true,
|
|
"segments": [
|
|
{
|
|
"type": "battery",
|
|
"style": "powerline",
|
|
"foreground": "#193549",
|
|
"foreground_templates": [
|
|
"{{if eq \"Charging\" .State.String}}#64B5F6{{end}}",
|
|
"{{if eq \"Discharging\" .State.String}}#E36464{{end}}",
|
|
"{{if eq \"Full\" .State.String}}#66BB6A{{end}}"
|
|
],
|
|
"properties": {
|
|
"discharging_icon": "\uE231 ",
|
|
"charging_icon": "\uE234 ",
|
|
"charged_icon": "\uE22F ",
|
|
"prefix": "\u005B",
|
|
"postfix": "\uF295\u005D"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"final_space": true
|
|
}
|
|
|