themes/mojada.omp.json
{ "blocks": [ { "type": "prompt", "alignment": "left", "newline": true, "segments": [ { "type": "os", "style": "diamond", "leading_diamond": "\uE0B6", "trailing_diamond": "", "foreground": "#0077c2", "background": "#fbfbfb", "properties": { "postfix": " ", "macos": "\uEF179", "windows": "\uF17A", "linux": "\uF17C", "debian": "\uF306", "ubuntu": "\uF31B", "arch": "\uF303", "fedora": "\uF30A", "manjaro": "\uF312", "opensuse": "\uF314" } }, { "type": "session", "style": "powerline", "foreground": "#0077c2", "background": "#fbfbfb", "powerline_symbol": "\uE0B0", "properties": { "prefix": "", "display_host": true, "host_color": "#e06c75", "user_info_separator": "<#000000>@</>" } }, { "type": "root", "style": "powerline", "powerline_symbol": "\uE0B0", "foreground": "#ffffff", "background": "#e06c75", "properties": { "root_icon": "\uE799 ", "postfix": "\u2800" } }, { "type": "path", "style": "powerline", "powerline_symbol": "\uE0B0", "foreground": "#ffffff", "background": "#0077c2", "properties": { "style": "letter", "folder_separator_icon": "/", "prefix": " \uE5FE ", "home_icon": "~", "enable_hyperlink": true, "max_depth": 2 } }, { "type": "git", "style": "powerline", "powerline_symbol": "\uE0B0", "foreground": "#193549", "background": "#fffb38", "background_templates": [ "{{ if or (.Repo.Working.Changed) (.Repo.Staging.Changed) }}#ff9248{{ end }}", "{{ if and (gt .Repo.Ahead 0) (gt .Repo.Behind 0) }}#f26d50{{ end }}", "{{ if gt .Repo.Ahead 0 }}#f17c37{{ end }}", "{{ if gt .Repo.Behind 0 }}#89d1dc{{ end }}" ], "properties": { "fetch_status": true, "fetch_stash_count": true, "fetch_upstream_icon": true, "template": "{{ .Repo.UpstreamIcon }}{{ .Repo.HEAD }}{{ .Repo.BranchStatus }}{{ if .Repo.Staging.Changed }} \uF046 {{ .Repo.Staging.String }}{{ end }}{{ if and (.Repo.Working.Changed) (.Repo.Staging.Changed) }} |{{ end }}{{ if .Repo.Working.Changed }} \uF044 {{ .Repo.Working.String }}{{ end }}{{ if gt .Repo.StashCount 0 }} \uF692 {{ .Repo.StashCount }}{{ end }}" } }, { "type": "text", "style": "plain", "foreground": "#FFD54F", "properties": { "prefix": " ", "text": "{{if .Root}}#{{else}}${{end}}", "postfix": "" } } ] }, { "type": "rprompt", "segments": [ { "type": "exit", "style": "plain", "foreground": "#ffffff", "properties": { "display_exit_code": false, "always_enabled": true, "success_icon": "<#00ff00>\uF633</>", "error_icon": "<#ff0000>\uF659</>" } }, { "type": "executiontime", "style": "plain", "foreground": "#ffffff", "properties": { "always_enabled": true, "prefix": "" } }, { "type": "battery", "style": "powerline", "invert_powerline": true, "powerline_symbol": "\uE0B2", "foreground": "#ffffff", "background": "#f36943", "properties": { "battery_icon": "", "discharging_icon": "\uF57D ", "charging_icon": "\uF588 ", "charged_icon": "\uF583 ", "color_background": true, "charged_color": "#4caf50", "charging_color": "#40c4ff", "discharging_color": "#ff5722", "postfix": "% " } }, { "type": "time", "style": "diamond", "invert_powerline": true, "leading_diamond": "", "trailing_diamond": "\uE0B4", "background": "#61afef", "foreground": "#ffffff", "properties": { "time_format": "15:04 (Mon)" } } ] } ], "final_space": true, "console_title": true, "console_title_style": "template", "console_title_template": "{{.User}}@{{.Host}} : {{.Folder}}" } |