2019-03-13 04:14:30 -07:00
{
"blocks" : [
{
"type" : "prompt" ,
"alignment" : "left" ,
"segments" : [
{
"type" : "session" ,
"style" : "diamond" ,
"foreground" : "#ffffff" ,
2020-10-03 04:11:49 -07:00
"background" : "#c386f1" ,
2021-04-06 01:46:24 -07:00
"leading_diamond" : "" ,
2021-11-07 08:42:56 -08:00
"trailing_diamond" : "\uE0B0" ,
2021-04-06 01:46:24 -07:00
"properties" : {
2021-12-03 14:44:58 -08:00
"template" : "{{ .UserName }}"
2021-04-06 01:46:24 -07:00
}
2019-03-13 04:14:30 -07:00
} ,
{
"type" : "path" ,
"style" : "powerline" ,
2021-11-07 08:42:56 -08:00
"powerline_symbol" : "\uE0B0" ,
2019-03-13 04:14:30 -07:00
"foreground" : "#ffffff" ,
2020-10-02 12:50:13 -07:00
"background" : "#ff479c" ,
2019-03-13 04:14:30 -07:00
"properties" : {
2021-04-06 01:46:24 -07:00
"prefix" : " " ,
"home_icon" : "~" ,
"folder_separator_icon" : " \uE0b1 " ,
2019-03-13 04:14:30 -07:00
"style" : "folder"
}
} ,
{
"type" : "git" ,
"style" : "powerline" ,
2021-11-07 08:42:56 -08:00
"powerline_symbol" : "\uE0B0" ,
2019-03-13 04:14:30 -07:00
"foreground" : "#193549" ,
2020-10-02 12:50:13 -07:00
"background" : "#fffb38" ,
2021-11-07 08:42:56 -08:00
"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) }}#ff4500{{ end }}" ,
"{{ if gt .Ahead 0 }}#B388FF{{ end }}" ,
"{{ if gt .Behind 0 }}#B388FF{{ end }}"
2021-11-07 08:42:56 -08:00
] ,
"leading_diamond" : "" ,
"trailing_diamond" : "" ,
2019-03-13 04:14:30 -07:00
"properties" : {
2021-11-07 08:42:56 -08:00
"fetch_status" : true ,
"fetch_stash_count" : true ,
2021-11-08 13:56:40 -08:00
"fetch_upstream_icon" : true ,
2021-11-07 08:42:56 -08:00
"branch_max_length" : 25 ,
2021-11-09 08:13:47 -08:00
"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 }}"
2019-03-13 04:14:30 -07:00
}
} ,
2020-10-01 11:57:02 -07:00
{
"type" : "node" ,
"style" : "powerline" ,
2021-11-07 08:42:56 -08:00
"powerline_symbol" : "\uE0B0" ,
2020-10-01 11:57:02 -07:00
"foreground" : "#ffffff" ,
"background" : "#6CA35E" ,
"properties" : {
2021-04-06 01:46:24 -07:00
"prefix" : " \uF898 " ,
"display_version" : true
2020-10-01 11:57:02 -07:00
}
} ,
2020-09-15 04:44:53 -07:00
{
2021-04-06 01:46:24 -07:00
"type" : "go" ,
2020-09-15 04:44:53 -07:00
"style" : "powerline" ,
2021-11-07 08:42:56 -08:00
"powerline_symbol" : "\uE0B0" ,
2021-04-06 01:46:24 -07:00
"foreground" : "#111111" ,
"background" : "#8ED1F7" ,
"properties" : {
"prefix" : " \uE626 " ,
"display_version" : true
}
} ,
{
"type" : "julia" ,
"style" : "powerline" ,
2021-11-07 08:42:56 -08:00
"powerline_symbol" : "\uE0B0" ,
2021-04-06 01:46:24 -07:00
"foreground" : "#111111" ,
"background" : "#4063D8" ,
"properties" : {
"prefix" : " \uE624 " ,
"display_version" : true
}
} ,
{
"type" : "python" ,
"style" : "powerline" ,
2021-11-07 08:42:56 -08:00
"powerline_symbol" : "\uE0B0" ,
2021-04-06 01:46:24 -07:00
"foreground" : "#111111" ,
"background" : "#FFDE57" ,
"properties" : {
"prefix" : " \uE235 " ,
"display_mode" : "files" ,
2021-12-04 02:56:55 -08:00
"fetch_virtual_env" : false ,
"template" : "{{ .Full }}"
2021-04-06 01:46:24 -07:00
}
} ,
{
"type" : "ruby" ,
"style" : "powerline" ,
2021-11-07 08:42:56 -08:00
"powerline_symbol" : "\uE0B0" ,
2020-09-15 04:44:53 -07:00
"foreground" : "#ffffff" ,
2021-04-06 01:46:24 -07:00
"background" : "#AE1401" ,
2020-09-15 04:44:53 -07:00
"properties" : {
2021-04-06 01:46:24 -07:00
"prefix" : " \uE791 " ,
"display_version" : true ,
"display_mode" : "files"
}
} ,
{
"type" : "azfunc" ,
"style" : "powerline" ,
2021-11-07 08:42:56 -08:00
"powerline_symbol" : "\uE0B0" ,
2021-04-06 01:46:24 -07:00
"foreground" : "#ffffff" ,
"background" : "#FEAC19" ,
"properties" : {
"prefix" : " \uf0e7" ,
"display_version" : false ,
"display_mode" : "files"
}
} ,
{
"type" : "aws" ,
"style" : "powerline" ,
2021-11-07 08:42:56 -08:00
"powerline_symbol" : "\uE0B0" ,
2021-04-06 01:46:24 -07:00
"foreground" : "#ffffff" ,
"background_templates" : [
"{{if contains \"default\" .Profile}}#FFA400{{end}}" ,
"{{if contains \"jan\" .Profile}}#f1184c{{end}}"
] ,
"properties" : {
"prefix" : " \uE7AD " ,
"display_default" : false
2020-09-15 04:44:53 -07:00
}
} ,
2020-10-03 04:11:49 -07:00
{
"type" : "root" ,
"style" : "powerline" ,
2021-11-07 08:42:56 -08:00
"powerline_symbol" : "\uE0B0" ,
2021-04-06 01:46:24 -07:00
"foreground" : "#111111" ,
"background" : "#ffff66" ,
"properties" : {
"root_icon" : ""
}
} ,
{
"type" : "executiontime" ,
"style" : "plain" ,
"foreground" : "#ffffff" ,
"background" : "#83769c" ,
"leading_diamond" : "" ,
"trailing_diamond" : "" ,
"properties" : {
"always_enabled" : true ,
2021-11-16 07:46:40 -08:00
"prefix" : "<transparent>\uE0B0</> \ufbab" ,
2021-10-26 22:12:18 -07:00
"postfix" : "\u2800"
2021-04-06 01:46:24 -07:00
}
2020-10-03 04:11:49 -07:00
} ,
2019-03-13 04:14:30 -07:00
{
"type" : "exit" ,
"style" : "diamond" ,
"foreground" : "#ffffff" ,
2021-11-14 04:39:00 -08:00
"background" : "#00897b" ,
"background_templates" : [ "{{ if gt .Code 0 }}#e91e63{{ end }}" ] ,
2019-03-13 04:14:30 -07:00
"leading_diamond" : "" ,
2021-11-14 04:39:00 -08:00
"trailing_diamond" : "\uE0B4" ,
2019-03-13 04:14:30 -07:00
"properties" : {
"always_enabled" : true ,
2021-11-14 04:39:00 -08:00
"template" : "\uE23A" ,
"prefix" : "<parentBackground>\uE0B0</> "
2021-04-06 01:46:24 -07:00
}
}
]
} ,
{
"type" : "rprompt" ,
"segments" : [
{
"type" : "shell" ,
"style" : "plain" ,
"foreground" : "#ffffff" ,
"background" : "#0077c2" ,
"properties" : {
"prefix" : "<#0077c2,transparent>\uE0B6</> " ,
"postfix" : " <transparent,#0077c2>\uE0B2</>"
2019-03-13 04:14:30 -07:00
}
2021-04-06 01:46:24 -07:00
} ,
{
"type" : "ytm" ,
"style" : "powerline" ,
"powerline_symbol" : "\uE0B2" ,
"invert_powerline" : true ,
"foreground" : "#111111" ,
"background" : "#1BD760" ,
"properties" : {
"prefix" : " \uF167 " ,
"paused_icon" : " " ,
"playing_icon" : " "
}
} ,
{
"type" : "battery" ,
"style" : "powerline" ,
"invert_powerline" : true ,
"powerline_symbol" : "\uE0B2" ,
"foreground" : "#ffffff" ,
"background" : "#f36943" ,
2021-11-25 04:55:03 -08:00
"background_templates" : [
"{{if eq \"Charging\" .State.String}}#40c4ff{{end}}" ,
"{{if eq \"Discharging\" .State.String}}#ff5722{{end}}" ,
"{{if eq \"Full\" .State.String}}#4caf50{{end}}"
] ,
2021-04-06 01:46:24 -07:00
"properties" : {
"discharging_icon" : " " ,
"charging_icon" : " " ,
"charged_icon" : " " ,
"postfix" : " "
}
} ,
{
"type" : "time" ,
"style" : "diamond" ,
"invert_powerline" : true ,
"leading_diamond" : "\uE0B2" ,
"trailing_diamond" : "\uE0B4" ,
"background" : "#2e9599" ,
"foreground" : "#111111"
2019-03-13 04:14:30 -07:00
}
]
}
] ,
2021-04-06 01:46:24 -07:00
"final_space" : true ,
"console_title" : true ,
"console_title_style" : "template" ,
"console_title_template" : "{{ .Shell }} in {{ .Folder }}"
2019-03-13 04:14:30 -07:00
}