mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-03-05 20:49:04 -08:00
theme: update nu4a
- Added dynamic title bar - Added folder hyperlink - Added folder icons - Changed admin indicator
This commit is contained in:
parent
ae9fb25db6
commit
9dbe35e1ff
|
@ -1,26 +1,29 @@
|
||||||
{
|
{
|
||||||
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.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}}{{.User}} ➔ 📁{{.Folder}}",
|
||||||
"blocks": [
|
"blocks": [
|
||||||
{
|
{
|
||||||
"type": "prompt",
|
"type": "prompt",
|
||||||
"alignment": "left",
|
"alignment": "left",
|
||||||
"segments": [
|
"segments": [
|
||||||
{
|
|
||||||
"type": "root",
|
|
||||||
"style": "powerline",
|
|
||||||
"powerline_symbol": "\uE0B0",
|
|
||||||
"foreground": "#100e23",
|
|
||||||
"background": "#ff3026",
|
|
||||||
"properties": {
|
|
||||||
"root_icon": "\uF0E7"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "session",
|
"type": "session",
|
||||||
"style": "powerline",
|
"style": "powerline",
|
||||||
"powerline_symbol": "\uE0B0",
|
|
||||||
"foreground": "#100e23",
|
"foreground": "#100e23",
|
||||||
"background": "#cfcfc4"
|
"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",
|
"type": "path",
|
||||||
|
@ -31,8 +34,9 @@
|
||||||
"properties": {
|
"properties": {
|
||||||
"home_icon": "\uF7DB",
|
"home_icon": "\uF7DB",
|
||||||
"folder_icon": "\uF115",
|
"folder_icon": "\uF115",
|
||||||
"folder_separator_icon": " \uE0B1 ",
|
"folder_separator_icon": " \uE0B1 \uE5FF ",
|
||||||
"style": "full"
|
"style": "full",
|
||||||
|
"enable_hyperlink": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -86,6 +90,5 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
"final_space": true
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue