mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-12 14:04:05 -08:00
34406484e5
More minor tweaks...almost just exactly right.
145 lines
5 KiB
JSON
145 lines
5 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
"blocks": [
|
|
{
|
|
"alignment": "left",
|
|
"segments": [
|
|
{
|
|
"type": "executiontime",
|
|
"style": "plain",
|
|
"background": "#007ACC",
|
|
"foreground": "#222222",
|
|
"properties": {
|
|
"threshold": 321,
|
|
"style": "austin",
|
|
"template": " {{ .FormattedMs }} "
|
|
}
|
|
},
|
|
{
|
|
"type": "exit",
|
|
"style": "plain",
|
|
"background": "#880000",
|
|
"foreground": "#ff8888",
|
|
"properties": {
|
|
"template": "{{ if gt .Code 0 }} {{ .Code }} {{ end }}"
|
|
}
|
|
},
|
|
{
|
|
"type": "root",
|
|
"style": "plain",
|
|
"background": "#ffcc88",
|
|
"foreground": "#222222",
|
|
"properties": {
|
|
"template": "\uf0e7"
|
|
}
|
|
},
|
|
{
|
|
"type": "os",
|
|
"style": "plain",
|
|
"background": "#222222",
|
|
"foreground": "#666666",
|
|
"properties": {
|
|
"template": " {{ if .WSL }}\uF68E {{ end }}{{.Icon}}"
|
|
}
|
|
},
|
|
{
|
|
"type": "session",
|
|
"style": "plain",
|
|
"background": "#222222",
|
|
"foreground": "#666666",
|
|
"properties": {
|
|
"template": " {{ if .SSHSession }}\uf817 {{ end }}{{ .UserName }}@{{ .HostName }} "
|
|
}
|
|
},
|
|
{
|
|
"type": "path",
|
|
"style": "plain",
|
|
"background": "#444444",
|
|
"foreground": "#cccccc",
|
|
"properties": {
|
|
"folder_icon": "\u2026",
|
|
"style": "mixed",
|
|
"template": " {{ .Path }} "
|
|
}
|
|
},
|
|
{
|
|
"type": "git",
|
|
"style": "plain",
|
|
"background": "#f14e32",
|
|
"foreground": "#f0efe7",
|
|
"properties": {
|
|
"fetch_status": false,
|
|
"fetch_upstream_icon": false,
|
|
"branch_icon": "\uE725 ",
|
|
"commit_icon": "\uF417 ",
|
|
"tag_icon": "\uF412 ",
|
|
"rebase_icon": "\uE728 ",
|
|
"cherry_pick_icon": "\uE29B ",
|
|
"revert_icon": "\uF0E2 ",
|
|
"merge_icon": "\uE727 ",
|
|
"no_commits_icon": "\uF594 ",
|
|
"template": " {{ .HEAD }} "
|
|
}
|
|
},
|
|
{
|
|
"type": "dotnet",
|
|
"style": "plain",
|
|
"background": "#7014eb",
|
|
"foreground": "#ffffff",
|
|
"properties": {
|
|
"fetch_version": false,
|
|
"template": " \uE77f "
|
|
}
|
|
},
|
|
{
|
|
"type": "go",
|
|
"style": "plain",
|
|
"foreground": "#ffffff",
|
|
"background": "#7FD5EA",
|
|
"properties": {
|
|
"fetch_version": false,
|
|
"template": " \uFCD1 "
|
|
}
|
|
},
|
|
{
|
|
"type": "python",
|
|
"style": "plain",
|
|
"foreground": "#100e23",
|
|
"background": "#906cff",
|
|
"properties": {
|
|
"fetch_version": false,
|
|
"template": " \uE235 "
|
|
}
|
|
},
|
|
{
|
|
"type": "rust",
|
|
"style": "plain",
|
|
"foreground": "#193549",
|
|
"background": "#99908a",
|
|
"properties": {
|
|
"fetch_version": false,
|
|
"template": " \uE7a8 "
|
|
}
|
|
}
|
|
],
|
|
"type": "prompt"
|
|
},
|
|
{
|
|
"alignment": "left",
|
|
"newline": true,
|
|
"segments": [
|
|
{
|
|
"type": "text",
|
|
"style": "plain",
|
|
"foreground": "#007ACC",
|
|
"properties": {
|
|
"template": "\u276f "
|
|
}
|
|
}
|
|
],
|
|
"type": "prompt"
|
|
}
|
|
],
|
|
"version": 1
|
|
}
|