mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-28 20:39:40 -08:00
184 lines
4.9 KiB
JSON
184 lines
4.9 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
"final_space": true,
|
|
"blocks": [
|
|
{
|
|
"type": "prompt",
|
|
"alignment": "right",
|
|
"segments": [
|
|
{
|
|
"type": "session",
|
|
"style": "diamond",
|
|
"trailing_diamond": "\uE0B4 ",
|
|
"leading_diamond": "\uE0B6",
|
|
"foreground": "#E64747",
|
|
"background": "#29315A",
|
|
"properties": {
|
|
"postfix": "",
|
|
"prefix": "",
|
|
"template": "{{ .UserName }}"
|
|
}
|
|
},
|
|
{
|
|
"type": "path",
|
|
"style": "diamond",
|
|
"trailing_diamond": "\uE0B4",
|
|
"leading_diamond": "\uE0B6",
|
|
"foreground": "#3EC669",
|
|
"background": "#29315A",
|
|
"properties": {
|
|
"prefix": "\uE5FF ",
|
|
"postfix": "",
|
|
"style": "folder"
|
|
}
|
|
},
|
|
{
|
|
"type": "git",
|
|
"style": "diamond",
|
|
"trailing_diamond": "\uE0B4",
|
|
"leading_diamond": " \uE0B6",
|
|
"foreground": "#43CCEA",
|
|
"background": "#29315A",
|
|
"properties": {
|
|
"prefix": "",
|
|
"postfix": "",
|
|
"branch_icon": "",
|
|
"template": "{{ .HEAD }}"
|
|
}
|
|
},
|
|
{
|
|
"type": "python",
|
|
"style": "diamond",
|
|
"trailing_diamond": "\uE0B4",
|
|
"leading_diamond": " \uE0B6",
|
|
"foreground": "#E4F34A",
|
|
"background": "#29315A",
|
|
"properties": {
|
|
"prefix": "\uE235",
|
|
"postfix": "",
|
|
"display_version": false
|
|
}
|
|
},
|
|
{
|
|
"type": "go",
|
|
"style": "diamond",
|
|
"trailing_diamond": "\uE0B4",
|
|
"leading_diamond": " \uE0B6",
|
|
"foreground": "#7FD5EA",
|
|
"background": "#29315A",
|
|
"properties": {
|
|
"prefix": "\uFCD1",
|
|
"postfix": "",
|
|
"display_version": false
|
|
}
|
|
},
|
|
{
|
|
"type": "node",
|
|
"style": "diamond",
|
|
"trailing_diamond": "\uE0B4",
|
|
"leading_diamond": " \uE0B6",
|
|
"foreground": "#42E66C",
|
|
"background": "#29315A",
|
|
"properties": {
|
|
"prefix": "\uE718",
|
|
"postfix": "",
|
|
"display_version": false
|
|
}
|
|
},
|
|
{
|
|
"type": "ruby",
|
|
"style": "diamond",
|
|
"trailing_diamond": "\uE0B4",
|
|
"leading_diamond": " \uE0B6",
|
|
"foreground": "#E64747",
|
|
"background": "#29315A",
|
|
"properties": {
|
|
"prefix": "\uE791",
|
|
"postfix": "",
|
|
"display_version": false
|
|
}
|
|
},
|
|
{
|
|
"type": "java",
|
|
"style": "diamond",
|
|
"trailing_diamond": "\uE0B4",
|
|
"leading_diamond": " \uE0B6",
|
|
"foreground": "#E64747",
|
|
"background": "#29315A",
|
|
"properties": {
|
|
"prefix": "\uE738",
|
|
"postfix": "",
|
|
"display_version": false
|
|
}
|
|
},
|
|
{
|
|
"type": "julia",
|
|
"style": "diamond",
|
|
"trailing_diamond": "\uE0B4",
|
|
"leading_diamond": " \uE0B6",
|
|
"foreground": "#9B6BDF",
|
|
"background": "#29315A",
|
|
"properties": {
|
|
"prefix": "\uE624",
|
|
"display_version": false
|
|
}
|
|
},
|
|
{
|
|
"type": "battery",
|
|
"style": "diamond",
|
|
"trailing_diamond": "\uE0B4",
|
|
"leading_diamond": " \uE0B6",
|
|
"foreground": "#9B6BDF",
|
|
"background": "#29315A",
|
|
"foreground_templates": [
|
|
"{{if eq \"Charging\" .State.String}}#40c4ff{{end}}",
|
|
"{{if eq \"Discharging\" .State.String}}#ff5722{{end}}",
|
|
"{{if eq \"Full\" .State.String}}#4caf50{{end}}"
|
|
],
|
|
"properties": {
|
|
"discharging_icon": "\u21E3 ",
|
|
"charging_icon": "\u21E1 ",
|
|
"charged_icon": "\u0095 ",
|
|
"prefix": "",
|
|
"postfix": ""
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "prompt",
|
|
"alignment": "left",
|
|
"newline": true,
|
|
"segments": [
|
|
{
|
|
"type": "executiontime",
|
|
"style": "diamond",
|
|
"trailing_diamond": "\uE0B4 ",
|
|
"leading_diamond": "\uE0B6",
|
|
"foreground": "#AEA4BF",
|
|
"background": "#29315A",
|
|
"properties": {
|
|
"threshold": 150,
|
|
"style": "austin",
|
|
"prefix": "",
|
|
"postfix": ""
|
|
}
|
|
},
|
|
{
|
|
"type": "text",
|
|
"style": "diamond",
|
|
"trailing_diamond": "\uE0B4",
|
|
"leading_diamond": "\uE0B6",
|
|
"foreground": "#7FD5EA",
|
|
"background": "#29315A",
|
|
"properties": {
|
|
"prefix": "",
|
|
"text": "\u276F",
|
|
"postfix": ""
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|