oh-my-posh/themes/if_tea.omp.json

176 lines
5.2 KiB
JSON
Raw Normal View History

2022-01-26 03:10:04 -08:00
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#1865f5",
"properties": {
"alpine": "\uf300",
"arch": "\uf303",
"centos": "\uf304",
"debian": "\uf306",
"elementary": "\uf309",
"fedora": "\uf30a",
"gentoo": "\uf30d",
"linux": "\ue712",
"macos": "\uf179 ",
"manjaro": "\uf312",
"mint": "\uf30f",
"opensuse": "\uf314",
"raspbian": "\uf315",
"ubuntu": "\uf31b ",
"windows": "\udb80\udf72 ",
2022-05-05 08:31:52 -07:00
"wsl": "\ue712"
2022-01-26 03:10:04 -08:00
},
"style": "diamond",
2022-03-27 01:12:47 -07:00
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}",
2022-01-26 03:10:04 -08:00
"trailing_diamond": "<transparent,>\ue0b2</>",
"type": "os"
},
{
"background": "#00c7fc",
"foreground": "#000000",
"style": "diamond",
2022-05-05 08:31:52 -07:00
"leading_diamond": "<transparent,#00c7fc>\ue0b0</>",
"properties": {
"template": " \udb80\udf5b CPU: {{ round .PhysicalPercentUsed .Precision }}% | "
2022-05-05 08:31:52 -07:00
},
2022-01-26 03:10:04 -08:00
"type": "sysinfo"
},
{
"background": "#00c7fc",
"foreground": "#000000",
"style": "diamond",
"template": "RAM: {{ (div ((sub .PhysicalTotalMemory .PhysicalFreeMemory)|float64) 1000000000.0) }}/{{ (div .PhysicalTotalMemory 1000000000.0) }}GB \udb80\udf5b ",
2022-01-26 03:10:04 -08:00
"trailing_diamond": "<transparent,#00c7fc>\ue0b2</>",
"type": "sysinfo"
},
{
"background": "#2343e2",
"foreground": "#ffffff",
"leading_diamond": "\ue0b2",
"properties": {
"style": "roundrock",
"threshold": 0
},
"style": "diamond",
2022-03-27 01:12:47 -07:00
"template": " {{ .FormattedMs }} ",
2022-01-26 03:10:04 -08:00
"trailing_diamond": "\ue0b0",
"type": "executiontime"
}
],
"type": "prompt"
},
{
"alignment": "right",
"segments": [
{
"background": "#ee79d1",
"foreground": "#000000",
2022-05-05 08:31:52 -07:00
"leading_diamond": "",
2022-01-26 03:10:04 -08:00
"properties": {
"branch_icon": "\ue725 ",
"fetch_stash_count": true,
"fetch_status": true,
"fetch_upstream_icon": true,
2022-03-27 01:12:47 -07:00
"fetch_worktree_count": true
2022-01-26 03:10:04 -08: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 }} \udb80\udd93 {{ .StashCount }}{{ end }} ",
2022-01-26 03:10:04 -08:00
"trailing_diamond": "\ue0b0",
"type": "git"
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#91f2ff",
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": "\u256d\u2500",
2022-01-26 03:10:04 -08:00
"type": "text"
},
{
"background": "#91f2ff",
"foreground": "#000000",
"leading_diamond": "\ue0b2",
"style": "diamond",
2022-03-27 01:12:47 -07:00
"template": " \uf489 {{ .Name }} ",
2022-01-26 03:10:04 -08:00
"trailing_diamond": "<transparent,#91f2ff>\ue0b2</>",
"type": "shell"
},
{
"background": "#ff8c94",
"foreground": "#000000",
"leading_diamond": "\ue0b2",
"properties": {
"time_format": "3:04:05 PM | Monday"
},
"style": "diamond",
"template": " \udb82\udd54 {{ .CurrentDate | date .Format }} \udb80\udcf0 ",
2022-01-26 03:10:04 -08:00
"trailing_diamond": "\ue0b0",
"type": "time"
},
{
"properties": {
2022-03-27 01:12:47 -07:00
"root_icon": "\uf292 "
2022-01-26 03:10:04 -08:00
},
"style": "diamond",
2022-03-27 01:12:47 -07:00
"template": " \uf0e7 ",
2022-01-26 03:10:04 -08:00
"type": "root"
},
{
"background": "#f8677b",
"foreground": "#000000",
"leading_diamond": "<transparent,#F8677b>\ue0b0</>",
"properties": {
"folder_icon": "\uf07b ",
"folder_separator_icon": " \udb80\udc55 ",
2022-05-05 08:31:52 -07:00
"home_icon": " ",
"style": "agnoster_full",
"template": " \ue5ff {{ .Path }} "
2022-01-26 03:10:04 -08:00
},
"style": "diamond",
2022-05-05 08:31:52 -07:00
"trailing_diamond": "",
2022-01-26 03:10:04 -08:00
"type": "path"
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#00BCF9",
2022-05-05 08:31:52 -07:00
"foreground_templates": ["{{ if gt .Code 0 }}#ef5350{{ end }}"],
2022-01-26 03:10:04 -08:00
"properties": {
2022-05-05 08:31:52 -07:00
"always_enabled": true,
"template": "\u2570\u2500\ue285 "
2022-01-26 03:10:04 -08:00
},
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": " ",
2022-01-26 03:10:04 -08:00
"type": "exit"
}
],
"type": "prompt"
}
],
2022-05-05 08:31:52 -07:00
"console_title": true,
"console_title_style": "template",
2022-01-26 03:10:04 -08:00
"console_title_template": "{{ .Folder }}",
"transient_prompt": {
"background": "transparent",
"foreground": "#FEF5ED",
"template": "\ue285 "
},
2022-03-27 01:12:47 -07:00
"version": 2
2022-01-26 03:10:04 -08:00
}