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

153 lines
4.7 KiB
JSON
Raw Normal View History

2021-11-01 23:15:59 -07:00
{
2022-02-03 01:22:57 -08:00
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"newline": true,
"segments": [
{
"background": "#fbfbfb",
2022-02-03 01:22:57 -08:00
"foreground": "#0077c2",
"leading_diamond": "\ue0b6",
"properties": {
2022-02-03 01:22:57 -08:00
"arch": "\uf303",
"debian": "\uf306",
"fedora": "\uf30a",
"linux": "\uf17c",
"macos": "\uf179",
"manjaro": "\uf312",
"opensuse": "\uf314",
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
"ubuntu": "\uf31b",
"windows": "\uf17a"
},
"style": "diamond",
"type": "os"
},
{
"background": "#fbfbfb",
2022-02-03 01:22:57 -08:00
"foreground": "#0077c2",
"powerline_symbol": "\ue0b0",
"properties": {
"display_host": true,
2022-02-03 01:22:57 -08:00
"template": "{{ .UserName }}<#000000>@</><#e06c75>{{ .HostName }}</> "
},
"style": "powerline",
"type": "session"
},
{
"background": "#e06c75",
2022-02-03 01:22:57 -08:00
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
"properties": {
2022-02-03 01:22:57 -08:00
"template": " \ue799\u2800"
},
"style": "powerline",
"type": "root"
},
{
"background": "#0077c2",
2022-02-03 01:22:57 -08:00
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
"properties": {
"folder_separator_icon": "/",
"home_icon": "~",
2022-02-03 01:22:57 -08:00
"max_depth": 2,
"style": "letter",
"template": " \ue5fe {{ .Path }} "
},
"style": "powerline",
"type": "path"
},
{
"background": "#fffb38",
"background_templates": [
2021-11-09 08:13:47 -08:00
"{{ if or (.Working.Changed) (.Staging.Changed) }}#ff9248{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#f26d50{{ end }}",
"{{ if gt .Ahead 0 }}#f17c37{{ end }}",
"{{ if gt .Behind 0 }}#89d1dc{{ end }}"
],
2022-02-03 01:22:57 -08:00
"foreground": "#193549",
"powerline_symbol": "\ue0b0",
"properties": {
"fetch_stash_count": true,
2022-02-03 01:22:57 -08:00
"fetch_status": true,
2021-11-08 13:56:40 -08:00
"fetch_upstream_icon": true,
2022-02-03 01:22:57 -08:00
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} "
},
"style": "powerline",
"type": "git"
},
{
"foreground": "#FFD54F",
"properties": {
2022-02-03 01:22:57 -08:00
"template": " {{if .Root}}#{{else}}${{end}}"
},
"style": "plain",
"type": "text"
}
2022-02-03 01:22:57 -08:00
],
"type": "prompt"
},
{
"segments": [
{
"foreground": "#ffffff",
"properties": {
"always_enabled": true,
2022-02-03 01:22:57 -08:00
"template": " {{ if gt .Code 0 }}\uf659{{ else }}\uf633{{ end }} "
},
"style": "plain",
"type": "exit"
},
{
"foreground": "#ffffff",
"properties": {
"always_enabled": true,
2022-02-03 01:22:57 -08:00
"template": "{{ .FormattedMs }} "
},
"style": "plain",
"type": "executiontime"
},
{
"background": "#f36943",
"background_templates": [
"{{if eq \"Charging\" .State.String}}#40c4ff{{end}}",
"{{if eq \"Discharging\" .State.String}}#ff5722{{end}}",
"{{if eq \"Full\" .State.String}}#4caf50{{end}}"
],
2022-02-03 01:22:57 -08:00
"foreground": "#ffffff",
"invert_powerline": true,
"powerline_symbol": "\ue0b2",
"properties": {
2022-02-03 01:22:57 -08:00
"charged_icon": "\uf583 ",
"charging_icon": "\uf588 ",
"discharging_icon": "\uf57d ",
"template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}% "
},
"style": "powerline",
"type": "battery"
2021-11-01 23:15:59 -07:00
},
{
"background": "#61afef",
"foreground": "#ffffff",
2022-02-03 01:22:57 -08:00
"invert_powerline": true,
"properties": {
2022-02-03 01:22:57 -08:00
"template": " {{ .CurrentDate | date .Format }} ",
"time_format": "15:04 (Mon)"
2022-02-03 01:22:57 -08:00
},
"style": "diamond",
"trailing_diamond": "\ue0b4",
"type": "time"
2021-11-01 23:15:59 -07:00
}
2022-02-03 01:22:57 -08:00
],
"type": "rprompt"
}
],
"console_title": true,
"console_title_style": "template",
2022-02-03 01:22:57 -08:00
"console_title_template": "{{.UserName}}@{{.HostName}} : {{.Folder}}",
"final_space": true,
"version": 1
}