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

147 lines
4.6 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",
"ubuntu": "\uf31b",
"windows": "\uf17a"
},
"style": "diamond",
2022-03-27 01:12:47 -07:00
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
2022-02-03 01:22:57 -08:00
"type": "os"
},
{
"background": "#fbfbfb",
2022-02-03 01:22:57 -08:00
"foreground": "#0077c2",
"powerline_symbol": "\ue0b0",
"properties": {
2022-03-27 01:12:47 -07:00
"display_host": true
2022-02-03 01:22:57 -08:00
},
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": "{{ .UserName }}<#000000>@</><#e06c75>{{ .HostName }}</> ",
2022-02-03 01:22:57 -08:00
"type": "session"
},
{
"background": "#e06c75",
2022-02-03 01:22:57 -08:00
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": " \ue799\u2800",
2022-02-03 01:22:57 -08:00
"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,
2022-03-27 01:12:47 -07:00
"style": "letter"
2022-02-03 01:22:57 -08:00
},
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": " \ue5fe {{ .Path }} ",
2022-02-03 01:22:57 -08:00
"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,
2022-03-27 01:12:47 -07:00
"fetch_upstream_icon": true
2022-02-03 01:22:57 -08:00
},
"style": "powerline",
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ 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 }} \ueb4b {{ .StashCount }}{{ end }} ",
2022-02-03 01:22:57 -08:00
"type": "git"
},
{
"foreground": "#FFD54F",
2022-02-03 01:22:57 -08:00
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": " {{if .Root}}#{{else}}${{end}}",
2022-02-03 01:22:57 -08:00
"type": "text"
}
2022-02-03 01:22:57 -08:00
],
"type": "prompt"
},
{
"segments": [
{
"foreground": "#ffffff",
"properties": {
2022-03-27 01:12:47 -07:00
"always_enabled": true
2022-02-03 01:22:57 -08:00
},
"style": "plain",
"template": " {{ if gt .Code 0 }}\udb80\udc30{{ else }}\uf4a7{{ end }} ",
"type": "status"
},
{
"foreground": "#ffffff",
"properties": {
2022-03-27 01:12:47 -07:00
"always_enabled": true
2022-02-03 01:22:57 -08:00
},
"style": "plain",
2022-03-27 01:12:47 -07:00
"template": "{{ .FormattedMs }} ",
2022-02-03 01:22:57 -08:00
"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": {
"charged_icon": "\ueb2d ",
"charging_icon": "\uf241 ",
"discharging_icon": "\uf242 "
2022-02-03 01:22:57 -08:00
},
"style": "powerline",
2022-03-27 01:12:47 -07:00
"template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}% ",
2022-02-03 01:22:57 -08:00
"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": {
"time_format": "15:04 (Mon)"
2022-02-03 01:22:57 -08:00
},
"style": "diamond",
2022-03-27 01:12:47 -07:00
"template": " {{ .CurrentDate | date .Format }} ",
2022-02-03 01:22:57 -08:00
"trailing_diamond": "\ue0b4",
"type": "time"
2021-11-01 23:15:59 -07:00
}
2022-02-03 01:22:57 -08:00
],
"type": "rprompt"
}
],
2022-02-03 01:22:57 -08:00
"console_title_template": "{{.UserName}}@{{.HostName}} : {{.Folder}}",
"final_space": true,
2022-03-27 01:12:47 -07:00
"version": 2
}