oh-my-posh/themes/1_shell.omp.json

126 lines
3.7 KiB
JSON
Raw Normal View History

2022-05-05 08:28:59 -07:00
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#ffbebc",
"leading_diamond": "<#ff70a6> \ue200 </>",
2022-05-05 08:28:59 -07:00
"properties": {
"display_host": true
2022-05-05 08:28:59 -07:00
},
"style": "diamond",
"template": "{{ .UserName }} <#ffffff>on</>",
2022-05-05 08:28:59 -07:00
"type": "session"
},
{
"foreground": "#bc93ff",
"properties": {
"time_format": "Monday <#ffffff>at</> 3:04 PM"
},
"style": "diamond",
"template": " {{ .CurrentDate | date .Format }} ",
2022-05-05 08:28:59 -07:00
"type": "time"
},
{
"foreground": "#ee79d1",
"properties": {
"branch_icon": "\ue725 ",
"fetch_stash_count": true,
"fetch_status": true,
"fetch_upstream_icon": true,
"fetch_worktree_count": true
2022-05-05 08:28:59 -07:00
},
"style": "diamond",
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }} ",
2022-05-05 08:28:59 -07:00
"type": "git"
}
],
"type": "prompt"
},
{
"alignment": "right",
"segments": [
{
"foreground": "#a9ffb4",
"style": "plain",
"type": "text"
},
{
"foreground": "#a9ffb4",
"properties": {
"style": "dallas",
"threshold": 0
},
"style": "diamond",
"template": " {{ .FormattedMs }}s <#ffffff>\ue601</>",
2022-05-05 08:28:59 -07:00
"type": "executiontime"
},
{
"properties": {
"root_icon": "\uf292 "
2022-05-05 08:28:59 -07:00
},
"style": "diamond",
"template": " \uf0e7 ",
2022-05-05 08:28:59 -07:00
"type": "root"
},
{
"foreground": "#94ffa2",
"style": "diamond",
"template": " <#ffffff>CPU:</> {{ round .PhysicalPercentUsed .Precision }}% ",
2022-05-05 08:28:59 -07:00
"type": "sysinfo"
},
{
"foreground": "#81ff91",
"style": "diamond",
"template": "<#ffffff>\ue266</> <#ffffff>RAM:</> {{ (div ((sub .PhysicalTotalMemory .PhysicalFreeMemory)|float64) 1000000000.0) }}/{{ (div .PhysicalTotalMemory 1000000000.0) }}GB ",
2022-05-05 08:28:59 -07:00
"type": "sysinfo"
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#ffafd2",
"leading_diamond": "<#00c7fc> \ue285 </><#ffafd2>{</>",
2022-05-05 08:28:59 -07:00
"properties": {
"folder_icon": "\uf07b",
"folder_separator_icon": " \uebcb ",
2022-05-05 08:28:59 -07:00
"home_icon": "home",
"style": "agnoster_full"
2022-05-05 08:28:59 -07:00
},
"style": "diamond",
"template": " \ue5ff {{ .Path }} ",
2022-05-05 08:28:59 -07:00
"trailing_diamond": "<#ffafd2>}</>",
"type": "path"
},
{
"foreground": "#A9FFB4",
"foreground_templates": [
"{{ if gt .Code 0 }}#ef5350{{ end }}"
],
2022-05-05 08:28:59 -07:00
"properties": {
"always_enabled": true
2022-05-05 08:28:59 -07:00
},
"style": "plain",
"template": " \ue286 ",
"type": "status"
2022-05-05 08:28:59 -07:00
}
],
"type": "prompt"
}
],
"console_title_template": "{{ .Folder }}",
"transient_prompt": {
"background": "transparent",
"foreground": "#FEF5ED",
"template": "\ue285 "
},
"version": 2
2022-05-05 08:28:59 -07:00
}