mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-10 04:54:03 -08:00
65 lines
1.6 KiB
JSON
65 lines
1.6 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
"blocks": [
|
|
{
|
|
"alignment": "right",
|
|
"segments": [
|
|
{
|
|
"foreground": "#007ACC",
|
|
"properties": {
|
|
"template": " {{ .CurrentDate | date .Format }} ",
|
|
"time_format": "15:04:05"
|
|
},
|
|
"style": "plain",
|
|
"type": "time"
|
|
}
|
|
],
|
|
"type": "prompt",
|
|
"vertical_offset": -1
|
|
},
|
|
{
|
|
"alignment": "left",
|
|
"newline": true,
|
|
"segments": [
|
|
{
|
|
"background": "#ffffff",
|
|
"foreground": "#100e23",
|
|
"powerline_symbol": "\ue0b0",
|
|
"properties": {
|
|
"template": " {{ .UserName }}@{{ .HostName }} "
|
|
},
|
|
"style": "powerline",
|
|
"type": "session"
|
|
},
|
|
{
|
|
"background": "#91ddff",
|
|
"foreground": "#100e23",
|
|
"powerline_symbol": "\ue0b0",
|
|
"properties": {
|
|
"folder_icon": "\uf115",
|
|
"folder_separator_icon": " \ue0b1 ",
|
|
"home_icon": "\uf7db",
|
|
"style": "agnoster",
|
|
"template": " {{ .Path }} "
|
|
},
|
|
"style": "powerline",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"background": "#95ffa4",
|
|
"foreground": "#193549",
|
|
"powerline_symbol": "\ue0b0",
|
|
"properties": {
|
|
"template": " {{ .HEAD }} "
|
|
},
|
|
"style": "powerline",
|
|
"type": "git"
|
|
}
|
|
],
|
|
"type": "prompt"
|
|
}
|
|
],
|
|
"final_space": true,
|
|
"version": 1
|
|
}
|