mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-10 04:54:03 -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
101 lines
2.3 KiB
JSON
101 lines
2.3 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
"blocks": [
|
|
{
|
|
"type": "prompt",
|
|
"alignment": "left",
|
|
"segments": [
|
|
{
|
|
"type": "os",
|
|
"style": "plain",
|
|
"foreground": "#26C6DA",
|
|
"background": "#546E7A",
|
|
"properties": {
|
|
"postfix": " \uE0B1"
|
|
}
|
|
},
|
|
{
|
|
"type": "root",
|
|
"style": "plain",
|
|
"foreground": "#26C6DA",
|
|
"background": "#546E7A"
|
|
},
|
|
{
|
|
"type": "path",
|
|
"style": "plain",
|
|
"foreground": "#26C6DA",
|
|
"background": "#546E7A",
|
|
"properties": {
|
|
"style": "full",
|
|
"postfix": " "
|
|
}
|
|
},
|
|
{
|
|
"type": "git",
|
|
"style": "plain",
|
|
"foreground": "#D4E157",
|
|
"background": "#546E7A",
|
|
"properties": {
|
|
"prefix": "<#26C6DA>\uE0B1 </>"
|
|
}
|
|
},
|
|
{
|
|
"type": "text",
|
|
"style": "plain",
|
|
"foreground": "#546E7A",
|
|
"background": "transparent",
|
|
"properties": {
|
|
"text": "\uE0B0",
|
|
"prefix": "",
|
|
"postfix": ""
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "prompt",
|
|
"alignment": "right",
|
|
"segments": [
|
|
{
|
|
"type": "session",
|
|
"style": "diamond",
|
|
"foreground": "#D4E157",
|
|
"background": "#546E7A",
|
|
"leading_diamond": "\uE0B2",
|
|
"properties": {
|
|
"postfix": " <#26C6DA>\uE0B3</> "
|
|
}
|
|
},
|
|
{
|
|
"type": "time",
|
|
"style": "plain",
|
|
"foreground": "#D4E157",
|
|
"background": "#546E7A",
|
|
"properties": {
|
|
"time_format": "15:04:05",
|
|
"postfix": " \uF017 "
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|