oh-my-posh/themes/powerlevel10k_modern.omp.json
Jan De Dobbeleer c24ca82f17 feat: newline as part of block
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
2021-04-21 19:54:43 +02:00

108 lines
2.6 KiB
JSON

{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh3/main/themes/schema.json",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "os",
"style": "diamond",
"foreground": "#000000",
"background": "#ffffff",
"leading_diamond": "\uE0B6",
"trailing_diamond": "\uE0B4"
},
{
"type": "root",
"style": "powerline",
"foreground": "#000000",
"background": "#0000ff",
"powerline_symbol": "\uE0B4",
"properties": {
"style": "full"
}
},
{
"type": "path",
"style": "powerline",
"foreground": "#ffffff",
"background": "#0000ff",
"powerline_symbol": "\uE0B4",
"properties": {
"style": "full",
"postfix": " "
}
},
{
"type": "git",
"style": "powerline",
"foreground": "#000000",
"background": "#D4E157",
"powerline_symbol": "\uE0B4",
"properties": {
"style": "full",
"prefix": " "
}
}
]
},
{
"type": "prompt",
"alignment": "right",
"segments": [
{
"type": "python",
"style": "diamond",
"foreground": "#000000",
"background": "#D4E157",
"leading_diamond": "\uE0B6",
"properties": {
"postfix": " <#000000>\uE0B6</>"
}
},
{
"type": "go",
"style": "diamond",
"foreground": "#ffffff",
"background": "#7FD5EA",
"leading_diamond": "\uE0B6",
"display_version": true,
"properties": {
"postfix": " <#000000>\uE0B6</>"
}
},
{
"type": "time",
"style": "diamond",
"foreground": "#000000",
"background": "#ffffff",
"leading_diamond": "\uE0B6",
"trailing_diamond": "\uE0B4",
"properties": {
"time_format": "15:04:05"
}
}
]
},
{
"type": "prompt",
"alignment": "left",
"newline": true,
"segments": [
{
"type": "exit",
"style": "plain",
"foreground": "#D4E157",
"properties": {
"prefix": "\u276F",
"always_enabled": true,
"error_color": "#FF5252",
"display_exit_code": false
}
}
]
}
]
}