{ "palette": { "session": "#C386F1", "path": "#FF479C", "git-foreground": "#193549", "git": "#FFFB38", "git-modified": "#FF9248", "git-diverged": "#FF4500", "git-ahead": "#B388FF", "git-behind": "#B388FF", "node": "#6CA35E", "go": "#8ED1F7", "julia": "#4063D8", "python": "#FFDE57", "ruby": "#AE1401", "azfunc": "#FEAC19", "aws-default": "#FFA400", "aws-jan": "#F1184C", "root": "#FFFF66", "executiontime": "#83769C", "exit": "#00897B", "exit-red": "#E91E63", "shell": "#0077C2", "ytm": "#1BD760", "battery": "#F36943", "battery-charged": "#4CAF50", "battery-charging": "#40C4FF", "battery-discharging": "#FF5722", "time": "#2E9599", "white": "#FFFFFF", "black": "#111111" }, "blocks": [ { "type": "prompt", "alignment": "left", "segments": [ { "type": "session", "style": "diamond", "foreground": "p:white", "background": "p:session", "leading_diamond": "", "trailing_diamond": "\uE0B0", "properties": { "template": "{{ .UserName }}" } }, { "type": "path", "style": "powerline", "powerline_symbol": "\uE0B0", "foreground": "p:white", "background": "p:path", "properties": { "prefix": "  ", "home_icon": "~", "folder_separator_icon": " \uE0b1 ", "style": "folder" } }, { "type": "git", "style": "powerline", "powerline_symbol": "\uE0B0", "foreground": "p:git-foreground", "background": "p:git", "background_templates": [ "{{ if or (.Working.Changed) (.Staging.Changed) }}p:git-modified{{ end }}", "{{ if and (gt .Ahead 0) (gt .Behind 0) }}p:git-diverged{{ end }}", "{{ if gt .Ahead 0 }}p:git-ahead{{ end }}", "{{ if gt .Behind 0 }}p:git-behind{{ end }}" ], "leading_diamond": "", "trailing_diamond": "", "properties": { "fetch_status": true, "fetch_stash_count": true, "fetch_upstream_icon": true, "branch_max_length": 25, "template": "{{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ 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 }} \uF692 {{ .StashCount }}{{ end }}" } }, { "type": "node", "style": "powerline", "powerline_symbol": "\uE0B0", "foreground": "p:white", "background": "p:node", "properties": { "prefix": " \uF898 ", "fetch_version": true } }, { "type": "go", "style": "powerline", "powerline_symbol": "\uE0B0", "foreground": "p:black", "background": "p:go", "properties": { "prefix": " \uE626 ", "fetch_version": true } }, { "type": "julia", "style": "powerline", "powerline_symbol": "\uE0B0", "foreground": "p:black", "background": "p:julia", "properties": { "prefix": " \uE624 ", "fetch_version": true } }, { "type": "python", "style": "powerline", "powerline_symbol": "\uE0B0", "foreground": "p:black", "background": "p:python", "properties": { "prefix": " \uE235 ", "display_mode": "files", "fetch_virtual_env": false, "template": "{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}" } }, { "type": "ruby", "style": "powerline", "powerline_symbol": "\uE0B0", "foreground": "p:white", "background": "p:ruby", "properties": { "prefix": " \uE791 ", "fetch_version": true, "display_mode": "files" } }, { "type": "azfunc", "style": "powerline", "powerline_symbol": "\uE0B0", "foreground": "p:white", "background": "p:azfunc", "properties": { "prefix": " \uf0e7", "fetch_version": false, "display_mode": "files" } }, { "type": "aws", "style": "powerline", "powerline_symbol": "\uE0B0", "foreground": "p:white", "background_templates": [ "{{if contains \"default\" .Profile}}p:aws-default{{end}}", "{{if contains \"jan\" .Profile}}p:aws-jan{{end}}" ], "properties": { "prefix": " \uE7AD ", "display_default": false } }, { "type": "root", "style": "powerline", "powerline_symbol": "\uE0B0", "foreground": "p:black", "background": "p:root", "properties": { "template": "" } }, { "type": "executiontime", "style": "plain", "foreground": "p:white", "background": "p:executiontime", "leading_diamond": "", "trailing_diamond": "", "properties": { "always_enabled": true, "prefix": "\uE0B0 \ufbab", "postfix": "\u2800" } }, { "type": "exit", "style": "diamond", "foreground": "p:white", "background": "p:exit", "background_templates": [ "{{ if gt .Code 0 }}p:exit-red{{ end }}" ], "leading_diamond": "", "trailing_diamond": "\uE0B4", "properties": { "always_enabled": true, "template": "\uE23A", "prefix": "\uE0B0 " } } ] }, { "type": "rprompt", "segments": [ { "type": "shell", "style": "plain", "foreground": "p:white", "background": "p:shell", "properties": { "prefix": "<#0077c2,transparent>\uE0B6  ", "postfix": " \uE0B2" } }, { "type": "ytm", "style": "powerline", "powerline_symbol": "\uE0B2", "invert_powerline": true, "foreground": "p:black", "background": "p:ytm", "properties": { "prefix": " \uF167 ", "paused_icon": " ", "playing_icon": " " } }, { "type": "battery", "style": "powerline", "invert_powerline": true, "powerline_symbol": "\uE0B2", "foreground": "p:white", "background": "p:battery", "background_templates": [ "{{if eq \"Charging\" .State.String}}p:battery-charging{{end}}", "{{if eq \"Discharging\" .State.String}}p:battery-discharging{{end}}", "{{if eq \"Full\" .State.String}}p:battery-charged{{end}}" ], "properties": { "discharging_icon": " ", "charging_icon": " ", "charged_icon": " ", "postfix": " " } }, { "type": "time", "style": "diamond", "invert_powerline": true, "leading_diamond": "\uE0B2", "trailing_diamond": "\uE0B4", "background": "p:time", "foreground": "p:black" } ] } ], "final_space": true, "console_title": true, "console_title_style": "template", "console_title_template": "{{ .Shell }} in {{ .Folder }}" }