mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-27 03:49:40 -08:00
156 lines
4.1 KiB
JSON
156 lines
4.1 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
"final_space": true,
|
|
"console_title": true,
|
|
"console_title_style": "template",
|
|
"console_title_template": "{{ .Shell }} in {{ .Folder }}",
|
|
"blocks": [
|
|
{
|
|
"type": "prompt",
|
|
"alignment": "left",
|
|
"vertical_offset": 1,
|
|
"segments": [
|
|
{
|
|
"type": "os",
|
|
"style": "powerline",
|
|
"powerline_symbol": "\uE0B0",
|
|
"foreground": "#fff",
|
|
"background": "#003543",
|
|
"properties": {
|
|
"prefix": " ",
|
|
"windows": "\uF179",
|
|
"postfix": ""
|
|
}
|
|
},
|
|
{
|
|
"type": "session",
|
|
"style": "powerline",
|
|
"powerline_symbol": "\uE0B0",
|
|
"foreground": "#d2ff5e",
|
|
"background": "#003543",
|
|
"properties": {
|
|
"prefix": "",
|
|
"display_host": false,
|
|
"postfix": " "
|
|
}
|
|
},
|
|
{
|
|
"type": "path",
|
|
"style": "powerline",
|
|
"powerline_symbol": "\uE0B0",
|
|
"foreground": "#003544",
|
|
"background": "#0087D8",
|
|
"properties": {
|
|
"prefix": " \uE5FF ",
|
|
"style": "full",
|
|
"folder_separator_icon": "/"
|
|
}
|
|
},
|
|
{
|
|
"type": "git",
|
|
"style": "powerline",
|
|
"powerline_symbol": "",
|
|
"foreground": "#193549",
|
|
"background": "#d2ff5e",
|
|
"properties": {
|
|
"display_stash_count": true,
|
|
"display_upstream_icon": true,
|
|
"status_colors_enabled": true,
|
|
"display_status": true,
|
|
"local_changes_color": "#ff9248",
|
|
"ahead_and_behind_color": "#f26d50",
|
|
"behind_color": "#f17c37",
|
|
"ahead_color": "#89d1dc",
|
|
"stash_count_icon": "\uF692 "
|
|
}
|
|
},
|
|
{
|
|
"type": "exit",
|
|
"style": "powerline",
|
|
"powerline_symbol": "\uE0B0",
|
|
"foreground": "#242424",
|
|
"background": "#33DD2D",
|
|
"properties": {
|
|
"display_exit_code": false,
|
|
"always_enabled": true,
|
|
"color_background": true,
|
|
"error_color": "#f1184c",
|
|
"prefix": " \ufc8d"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "prompt",
|
|
"alignment": "right",
|
|
"segments": [
|
|
{
|
|
"type": "battery",
|
|
"style": "powerline",
|
|
"invert_powerline": true,
|
|
"powerline_symbol": "\uE0B2",
|
|
"foreground": "#242424",
|
|
"background": "#f36943",
|
|
"properties": {
|
|
"battery_icon": "\f583",
|
|
"color_background": true,
|
|
"charged_color": "#0476d0",
|
|
"charging_color": "#33DD2D",
|
|
"discharging_color": "#FFCD58",
|
|
"postfix": "\uF295 \uf583 "
|
|
}
|
|
},
|
|
{
|
|
"type": "python",
|
|
"style": "powerline",
|
|
"invert_powerline": true,
|
|
"powerline_symbol": "\uE0B2",
|
|
"foreground": "#003544",
|
|
"background": "#0087D8",
|
|
"properties": {
|
|
"prefix": " \uE235 ",
|
|
"display_version": false,
|
|
"display_mode": "context",
|
|
"display_virtual_env": true
|
|
}
|
|
},
|
|
{
|
|
"type": "time",
|
|
"style": "powerline",
|
|
"invert_powerline": true,
|
|
"powerline_symbol": "\uE0B2",
|
|
"foreground": "#fff",
|
|
"background": "#003543",
|
|
"properties": {
|
|
"prefix": "<#fff> \uf64f </>"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "prompt",
|
|
"alignment": "left",
|
|
"newline": true,
|
|
"segments": [
|
|
{
|
|
"type": "root",
|
|
"style": "plain",
|
|
"foreground": "#FFD700",
|
|
"properties": {
|
|
"root_icon": "⚡"
|
|
}
|
|
},
|
|
{
|
|
"type": "text",
|
|
"style": "plain",
|
|
"foreground": "#f1184c",
|
|
"properties": {
|
|
"prefix": "",
|
|
"text": "🚀"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|