mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-29 04:49:39 -08:00
98 lines
2.6 KiB
JSON
98 lines
2.6 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
"final_space": true,
|
|
"osc99": false,
|
|
"console_title": true,
|
|
"console_title_style": "template",
|
|
"console_title_template": "{{if .Root}} ⚡ {{end}}{{.UserName}} ➔ 📁{{.Folder}}",
|
|
"blocks": [
|
|
{
|
|
"type": "prompt",
|
|
"alignment": "left",
|
|
"segments": [
|
|
{
|
|
"type": "session",
|
|
"style": "powerline",
|
|
"foreground": "#100e23",
|
|
"background": "#cfcfc4",
|
|
"background_templates": [
|
|
"{{if .Root}}#ff3026{{else}}#cfcfc4{{end}}"
|
|
],
|
|
"properties": {
|
|
"prefix": "",
|
|
"postfix": "",
|
|
"display_host": false,
|
|
"template": "{{if .Root}} \uF0E7 {{.UserName}} {{else}} {{.UserName}} {{end}}"
|
|
}
|
|
},
|
|
{
|
|
"type": "path",
|
|
"style": "powerline",
|
|
"powerline_symbol": "\uE0B0",
|
|
"foreground": "#100e23",
|
|
"background": "#ec9706",
|
|
"properties": {
|
|
"home_icon": "\uf7db",
|
|
"folder_icon": "\uE5FF",
|
|
"folder_separator_icon": "\ue0b9",
|
|
"mixed_threshold": 8,
|
|
"style": "mixed",
|
|
"enable_hyperlink": true,
|
|
"mapped_locations": {
|
|
"C:\\Users": "\uf007",
|
|
"C:\\Windows": "\ue62a"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "git",
|
|
"style": "powerline",
|
|
"powerline_symbol": "\uE0B0",
|
|
"foreground": "#193549",
|
|
"background": "#3feb56",
|
|
"properties": {
|
|
"template": "{{ .HEAD }}"
|
|
}
|
|
},
|
|
{
|
|
"type": "python",
|
|
"style": "powerline",
|
|
"powerline_symbol": "\uE0B0",
|
|
"foreground": "#100e23",
|
|
"background": "#906cff",
|
|
"properties": {
|
|
"prefix": " \uE235 "
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "rprompt",
|
|
"alignment": "right",
|
|
"segments": [
|
|
{
|
|
"type": "exit",
|
|
"style": "diamond",
|
|
"leading_diamond": "\ue0c2",
|
|
"trailing_diamond": "\ue0c0",
|
|
"foreground": "#ffffff",
|
|
"background": "#ff4040",
|
|
"properties": {
|
|
"template": "\ue70f"
|
|
}
|
|
},
|
|
{
|
|
"type": "executiontime",
|
|
"style": "diamond",
|
|
"foreground": "#fafafa",
|
|
"background": "#2f2f2f",
|
|
"leading_diamond": "\ue0b2",
|
|
"properties": {
|
|
"style": "austin"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|