mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-26 11:34:04 -08:00
c24ca82f17
this deprecates the "newline" block and favours using the newline property on the Block component. For backwards compatibility we'll keep recognizing the newline block for the time being. resolves #607
158 lines
4.2 KiB
JSON
158 lines
4.2 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
"blocks": [
|
|
{
|
|
"type": "rprompt",
|
|
"alignment": "right",
|
|
"segments": [
|
|
{
|
|
"type": "path",
|
|
"style": "diamond",
|
|
"trailing_diamond": "\uE0B4",
|
|
"leading_diamond": "\uE0B6",
|
|
"foreground": "#3EC669",
|
|
"background": "#424242",
|
|
"properties": {
|
|
"prefix": "\uE5FF ",
|
|
"postfix": "",
|
|
"style": "folder"
|
|
}
|
|
},
|
|
{
|
|
"type": "git",
|
|
"style": "diamond",
|
|
"trailing_diamond": "\uE0B4",
|
|
"leading_diamond": " \uE0B6",
|
|
"foreground": "#43CCEA",
|
|
"background": "#424242",
|
|
"properties": {
|
|
"prefix": "",
|
|
"postfix": "",
|
|
"display_status_detail": false,
|
|
"branch_icon": ""
|
|
}
|
|
},
|
|
{
|
|
"type": "python",
|
|
"style": "diamond",
|
|
"trailing_diamond": "\uE0B4",
|
|
"leading_diamond": " \uE0B6",
|
|
"foreground": "#E4F34A",
|
|
"background": "#424242",
|
|
"properties": {
|
|
"prefix": "\uE235",
|
|
"postfix": "",
|
|
"display_version": false
|
|
}
|
|
},
|
|
{
|
|
"type": "go",
|
|
"style": "diamond",
|
|
"trailing_diamond": "\uE0B4",
|
|
"leading_diamond": " \uE0B6",
|
|
"foreground": "#7FD5EA",
|
|
"background": "#424242",
|
|
"properties": {
|
|
"prefix": "\uFCD1",
|
|
"postfix": "",
|
|
"display_version": false
|
|
}
|
|
},
|
|
{
|
|
"type": "node",
|
|
"style": "diamond",
|
|
"trailing_diamond": "\uE0B4",
|
|
"leading_diamond": " \uE0B6",
|
|
"foreground": "#42E66C",
|
|
"background": "#424242",
|
|
"properties": {
|
|
"prefix": "\uE718",
|
|
"postfix": "",
|
|
"display_version": false
|
|
}
|
|
},
|
|
{
|
|
"type": "ruby",
|
|
"style": "diamond",
|
|
"trailing_diamond": "\uE0B4",
|
|
"leading_diamond": " \uE0B6",
|
|
"foreground": "#E64747",
|
|
"background": "#424242",
|
|
"properties": {
|
|
"prefix": "\uE791",
|
|
"postfix": "",
|
|
"display_version": false
|
|
}
|
|
},
|
|
{
|
|
"type": "java",
|
|
"style": "diamond",
|
|
"trailing_diamond": "\uE0B4",
|
|
"leading_diamond": " \uE0B6",
|
|
"foreground": "#E64747",
|
|
"background": "#424242",
|
|
"properties": {
|
|
"prefix": "\uE738",
|
|
"postfix": "",
|
|
"display_version": false
|
|
}
|
|
},
|
|
{
|
|
"type": "julia",
|
|
"style": "diamond",
|
|
"trailing_diamond": "\uE0B4",
|
|
"leading_diamond": " \uE0B6",
|
|
"foreground": "#9B6BDF",
|
|
"background": "#424242",
|
|
"properties": {
|
|
"prefix": "\uE624",
|
|
"postfix": "",
|
|
"display_version": false
|
|
}
|
|
},
|
|
{
|
|
"type": "battery",
|
|
"style": "diamond",
|
|
"trailing_diamond": "\uE0B4",
|
|
"leading_diamond": " \uE0B6",
|
|
"foreground": "#9B6BDF",
|
|
"background": "#424242",
|
|
"properties": {
|
|
"battery_icon": "",
|
|
"discharging_icon": "\u21E3 ",
|
|
"charging_icon": "\u21E1 ",
|
|
"charged_icon": "\u25CF ",
|
|
"color_background": false,
|
|
"charged_color": "#4caf50",
|
|
"charging_color": "#40c4ff",
|
|
"discharging_color": "#ff5722",
|
|
"prefix": "",
|
|
"postfix": "",
|
|
"display_charging": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "prompt",
|
|
"alignment": "left",
|
|
"newline": true,
|
|
"segments": [
|
|
{
|
|
"type": "session",
|
|
"style": "diamond",
|
|
"trailing_diamond": "\uE0B4 ",
|
|
"leading_diamond": "\uE0B6",
|
|
"foreground": "#9B6BDF",
|
|
"background": "#424242",
|
|
"properties": {
|
|
"display_host": false,
|
|
"postfix": " \u276F",
|
|
"prefix": ""
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|