refactor: adjust themes to new git segment properties

This commit is contained in:
Jan De Dobbeleer 2021-11-07 17:42:56 +01:00 committed by Jan De Dobbeleer
parent ef3b620513
commit d29a6befd9
65 changed files with 1113 additions and 1081 deletions

View file

@ -35,11 +35,11 @@
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#FCA17D", "background": "#FCA17D",
"properties": { "properties": {
"display_stash_count": true, "fetch_stash_count": true,
"display_upstream_icon": true, "display_upstream_icon": true,
"status_colors_enabled": false,
"branch_icon": "", "branch_icon": "",
"display_status": false, "fetch_status": false,
"template": "{{ .Repo.HEAD }}{{ if gt .Repo.StashCount 0 }} \uF692 {{ .Repo.StashCount }}{{ end }}",
"prefix": " \u279C (", "prefix": " \u279C (",
"postfix": ") " "postfix": ") "
} }

View file

@ -37,7 +37,10 @@
"style": "powerline", "style": "powerline",
"powerline_symbol": "\uE0B0", "powerline_symbol": "\uE0B0",
"foreground": "#193549", "foreground": "#193549",
"background": "#95ffa4" "background": "#95ffa4",
"properties": {
"template": "{{ .Repo.HEAD }}"
}
}, },
{ {
"type": "python", "type": "python",

View file

@ -46,7 +46,10 @@
"style": "powerline", "style": "powerline",
"powerline_symbol": "\uE0B0", "powerline_symbol": "\uE0B0",
"foreground": "#193549", "foreground": "#193549",
"background": "#95ffa4" "background": "#95ffa4",
"properties": {
"template": "{{ .Repo.HEAD }}"
}
} }
] ]
} }

View file

@ -28,18 +28,18 @@
"style": "powerline", "style": "powerline",
"powerline_symbol": "\uE0B0", "powerline_symbol": "\uE0B0",
"foreground": "#193549", "foreground": "#193549",
"background": "#95ffa4" "background": "#95ffa4",
"properties": {
"template": "{{ .Repo.HEAD }}"
}
}, },
{ {
"type": "python", "type": "python",
"style": "diamond", "style": "diamond",
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#FF6471", "background": "#FF6471",
"leading_diamond": "", "leading_diamond": "<transparent,background>\uE0B0</>",
"trailing_diamond": "\uE0B4", "trailing_diamond": "\uE0B4"
"properties": {
"prefix": "<transparent>\uE0B0 </>"
}
} }
] ]
} }

View file

@ -31,9 +31,10 @@
"powerline_symbol": "\uE0B0", "powerline_symbol": "\uE0B0",
"foreground": "#14A5AE", "foreground": "#14A5AE",
"properties": { "properties": {
"display_stash_count": true, "fetch_stash_count": true,
"display_upstream_icon": true, "display_upstream_icon": true,
"prefix": "" "prefix": "",
"template": "{{ .Repo.HEAD }}{{ if gt .Repo.StashCount 0 }} \uF692 {{ .Repo.StashCount }}{{ end }}"
} }
} }
] ]

View file

@ -17,7 +17,11 @@
{ {
"type": "git", "type": "git",
"style": "plain", "style": "plain",
"foreground": "#C2C206" "foreground": "#C2C206",
"properties": {
"prefix": "",
"template": "{{ .Repo.HEAD }}"
}
}, },
{ {
"type": "root", "type": "root",

View file

@ -16,6 +16,7 @@
"foreground": "#FFEB3B", "foreground": "#FFEB3B",
"background": "#a313a8", "background": "#a313a8",
"properties": { "properties": {
"prefix": "",
"root_icon": "⚡" "root_icon": "⚡"
} }
}, },
@ -23,7 +24,10 @@
"type": "os", "type": "os",
"style": "plain", "style": "plain",
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "transparent" "background": "transparent",
"properties": {
"prefix": ""
}
}, },
{ {
"type": "path", "type": "path",
@ -45,14 +49,16 @@
"powerline_symbol": "\uE0B0", "powerline_symbol": "\uE0B0",
"foreground": "#000000", "foreground": "#000000",
"background": "#00C853", "background": "#00C853",
"background_templates": [
"{{ if or (.Repo.Working.Changed) (.Repo.Staging.Changed) }}#FFEB3B{{ end }}",
"{{ if and (.Repo.Ahead gt 0) (.Repo.Behind gt 0) }}#FFCC80{{ end }}",
"{{ if .Repo.Ahead gt 0 }}#B388FF{{ end }}",
"{{ if .Repo.Behind gt 0 }}#B388FF{{ end }}"
],
"properties": { "properties": {
"display_stash_count": true, "fetch_stash_count": true,
"staging_color": "#FF6F00", "fetch_status": true,
"status_colors_enabled": true, "template": "{{ .Repo.HEAD }}{{ if .Repo.Staging.Changed }}<#FF6F00> \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 }}"
"local_changes_color": "#FFEB3B",
"ahead_and_behind_color": "#FFCC80",
"behind_color": "#B388FF",
"ahead_color": "#B388FF"
} }
}, },
{ {

View file

@ -57,8 +57,9 @@
"foreground": "#193549", "foreground": "#193549",
"background": "#a2c4e0", "background": "#a2c4e0",
"properties": { "properties": {
"display_stash_count": true, "fetch_stash_count": true,
"display_upstream_icon": true "display_upstream_icon": true,
"template": "{{ .Repo.HEAD }}{{ if gt .Repo.StashCount 0 }} \uF692 {{ .Repo.StashCount }}{{ end }}"
} }
}, },
{ {

View file

@ -42,8 +42,8 @@
"properties": { "properties": {
"prefix": "", "prefix": "",
"postfix": "", "postfix": "",
"display_status_detail": false, "branch_icon": "",
"branch_icon": "" "template": "{{ .Repo.HEAD }}"
} }
}, },
{ {

View file

@ -28,7 +28,7 @@
"properties": { "properties": {
"prefix": "", "prefix": "",
"postfix": "", "postfix": "",
"display_status_detail": false, "template": "{{ .Repo.HEAD }}",
"branch_icon": "" "branch_icon": ""
} }
}, },
@ -136,7 +136,6 @@
{ {
"type": "prompt", "type": "prompt",
"alignment": "left", "alignment": "left",
"newline": true,
"segments": [ "segments": [
{ {
"type": "session", "type": "session",

View file

@ -41,7 +41,7 @@
"foreground": "#fff", "foreground": "#fff",
"properties": { "properties": {
"branch_icon": "", "branch_icon": "",
"display_status": false, "template": "{{ .Repo.HEAD }}",
"prefix": " git(", "prefix": " git(",
"postfix": ") " "postfix": ") "
} }

View file

@ -60,9 +60,10 @@
"foreground": "#3A86FF", "foreground": "#3A86FF",
"background": "#242424", "background": "#242424",
"properties": { "properties": {
"display_status": true, "fetch_status": true,
"display_stash_count": true, "fetch_stash_count": true,
"display_upstream_icon": true, "display_upstream_icon": true,
"template": "{{ .Repo.HEAD }}{{ 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 }}",
"prefix": "" "prefix": ""
} }
}, },

View file

@ -22,7 +22,8 @@
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": { "properties": {
"prefix": "<#CB4B16>[</>", "prefix": "<#CB4B16>[</>",
"postfix": "<#CB4B16>]</>" "postfix": "<#CB4B16>]</>",
"template": "{{ .Repo.HEAD }}"
} }
}, },
{ {

View file

@ -34,7 +34,7 @@
"style": "plain", "style": "plain",
"foreground": "#F3C267", "foreground": "#F3C267",
"properties": { "properties": {
"display_status": true, "template": "{{ .Repo.HEAD }}",
"branch_identical_icon": "\uF14A", "branch_identical_icon": "\uF14A",
"branch_gone_icon": "\u274E" "branch_gone_icon": "\u274E"
} }
@ -58,6 +58,5 @@
} }
] ]
} }
], ]
"final_space": true
} }

View file

@ -43,7 +43,8 @@
"background": "#007ACC", "background": "#007ACC",
"properties": { "properties": {
"prefix": "<#ffffff>\uE0B1</> ", "prefix": "<#ffffff>\uE0B1</> ",
"postfix": " " "postfix": " ",
"template": "{{ .Repo.HEAD }}"
} }
}, },
{ {

View file

@ -48,8 +48,9 @@
"foreground": "#193549", "foreground": "#193549",
"background": "#fffb38", "background": "#fffb38",
"properties": { "properties": {
"display_stash_count": true, "fetch_stash_count": true,
"display_upstream_icon": true "display_upstream_icon": true,
"template": "{{ .Repo.HEAD }}{{ if gt .Repo.StashCount 0 }} \uF692 {{ .Repo.StashCount }}{{ end }}"
} }
}, },
{ {

View file

@ -49,15 +49,8 @@
"rebase_icon": "", "rebase_icon": "",
"cherry_pick_icon": "", "cherry_pick_icon": "",
"revert_icon": "", "revert_icon": "",
"working_color": "#D75F00", "template": "{{ .Repo.HEAD }}{{ if .Repo.Staging.Changed }}<#87FF00> ● {{ .Repo.Staging.String }}</>{{ end }}{{ if .Repo.Working.Changed }}<#D75F00> ● {{ .Repo.Working.String }}</>{{ end }}",
"staging_color": "#87FF00", "fetch_status": true
"local_working_icon": " ●",
"local_staged_icon": " ●",
"status_separator_icon": "",
"display_status": true,
"display_status_detail": false,
"display_branch_status": false,
"display_stash_count": false
} }
}, },
{ {

View file

@ -31,7 +31,8 @@
"style": "plain", "style": "plain",
"foreground": "#B8B80A", "foreground": "#B8B80A",
"properties": { "properties": {
"prefix": "<#ffffff>on git:</>" "prefix": "<#ffffff>on git:</>",
"template": "{{ .Repo.HEAD }}"
} }
} }
] ]

View file

@ -24,7 +24,7 @@
"foreground": "black", "foreground": "black",
"background": "lightBlue", "background": "lightBlue",
"leading_diamond": "", "leading_diamond": "",
"trailing_diamond": "", "trailing_diamond": "\uE0B0",
"properties": { "properties": {
"style": "mixed" "style": "mixed"
} }
@ -32,11 +32,15 @@
{ {
"type": "git", "type": "git",
"style": "powerline", "style": "powerline",
"powerline_symbol": "", "powerline_symbol": "\uE0B0",
"foreground": "black", "foreground": "black",
"background": "green", "background": "green",
"background_templates": [
"{{ if or (.Repo.Working.Changed) (.Repo.Staging.Changed) }}yellow{{ end }}"
],
"properties": { "properties": {
"display_status_detail": true, "fetch_status": true,
"template": "{{ .Repo.HEAD }}{{ 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 }}",
"branch_icon": " ", "branch_icon": " ",
"branch_identical_icon": "≡", "branch_identical_icon": "≡",
"branch_ahead_icon": "↑", "branch_ahead_icon": "↑",
@ -50,11 +54,7 @@
"rebase_icon": "Ɫ ", "rebase_icon": "Ɫ ",
"cherry_pick_icon": "✓ ", "cherry_pick_icon": "✓ ",
"merge_icon": "◴ ", "merge_icon": "◴ ",
"no_commits_icon": "[no commits]", "no_commits_icon": "[no commits]"
"status_separator_icon": " │",
"status_colors_enabled": true,
"color_background": true,
"local_changes_color": "yellow"
} }
} }
] ]

View file

@ -55,19 +55,19 @@
{ {
"type": "git", "type": "git",
"style": "powerline", "style": "powerline",
"powerline_symbol": "", "powerline_symbol": "\uE0B0",
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#caffbf", "background": "#caffbf",
"background_templates": [
"{{ if or (.Repo.Working.Changed) (.Repo.Staging.Changed) }}#FCA17D{{ end }}",
"{{ if and (.Repo.Ahead gt 0) (.Repo.Behind gt 0) }}#f26d50{{ end }}",
"{{ if .Repo.Ahead gt 0 }}#89d1dc{{ end }}",
"{{ if .Repo.Behind gt 0 }}#f17c37{{ end }}"
],
"properties": { "properties": {
"display_stash_count": false,
"display_upstream_icon": true, "display_upstream_icon": true,
"status_colors_enabled": true, "fetch_status": true,
"display_status": true, "template": "{{ .Repo.HEAD }}{{ 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 }}"
"local_changes_color": "#FCA17D",
"ahead_and_behind_color": "#f26d50",
"behind_color": "#f17c37",
"ahead_color": "#89d1dc",
"stash_count_icon": "\uF692 "
} }
} }
] ]

View file

@ -48,7 +48,7 @@
"foreground": "#56B6C2", "foreground": "#56B6C2",
"properties": { "properties": {
"branch_icon": "", "branch_icon": "",
"display_status": false, "template": "{{ .Repo.HEAD }}",
"prefix": "<#E8CC97>git(</>", "prefix": "<#E8CC97>git(</>",
"postfix": "<#E8CC97>) </>" "postfix": "<#E8CC97>) </>"
} }

View file

@ -48,19 +48,19 @@
{ {
"type": "git", "type": "git",
"style": "powerline", "style": "powerline",
"powerline_symbol": "", "powerline_symbol": "\uE0B0",
"foreground": "#193549", "foreground": "#193549",
"background": "#d2ff5e", "background": "#d2ff5e",
"background_templates": [
"{{ if or (.Repo.Working.Changed) (.Repo.Staging.Changed) }}#ff9248{{ end }}",
"{{ if and (.Repo.Ahead gt 0) (.Repo.Behind gt 0) }}#f26d50{{ end }}",
"{{ if .Repo.Ahead gt 0 }}#89d1dc{{ end }}",
"{{ if .Repo.Behind gt 0 }}#f17c37{{ end }}"
],
"properties": { "properties": {
"display_stash_count": true, "fetch_status": true,
"display_upstream_icon": true, "fetch_stash_count": true,
"status_colors_enabled": true, "template": "{{ .Repo.HEAD }}{{ 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 }}"
"display_status": true,
"local_changes_color": "#ff9248",
"ahead_and_behind_color": "#f26d50",
"behind_color": "#f17c37",
"ahead_color": "#89d1dc",
"stash_count_icon": "\uF692 "
} }
}, },
{ {

View file

@ -10,7 +10,7 @@
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#c386f1", "background": "#c386f1",
"leading_diamond": "", "leading_diamond": "",
"trailing_diamond": "", "trailing_diamond": "\uE0B0",
"properties": { "properties": {
"postfix": " ", "postfix": " ",
"display_host": false "display_host": false
@ -19,7 +19,7 @@
{ {
"type": "path", "type": "path",
"style": "powerline", "style": "powerline",
"powerline_symbol": "", "powerline_symbol": "\uE0B0",
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#ff479c", "background": "#ff479c",
"properties": { "properties": {
@ -32,24 +32,28 @@
{ {
"type": "git", "type": "git",
"style": "powerline", "style": "powerline",
"powerline_symbol": "", "powerline_symbol": "\uE0B0",
"foreground": "#193549", "foreground": "#193549",
"background": "#fffb38", "background": "#fffb38",
"background_templates": [
"{{ if or (.Repo.Working.Changed) (.Repo.Staging.Changed) }}#ff8c00{{ end }}",
"{{ if and (.Repo.Ahead gt 0) (.Repo.Behind gt 0) }}#ff4500{{ end }}",
"{{ if .Repo.Ahead gt 0 }}#B388FF{{ end }}",
"{{ if .Repo.Behind gt 0 }}#B388FF{{ end }}"
],
"leading_diamond": "",
"trailing_diamond": "",
"properties": { "properties": {
"display_stash_count": true, "fetch_status": true,
"display_upstream_icon": true, "fetch_stash_count": true,
"status_colors_enabled": true, "branch_max_length": 25,
"local_changes_color": "#ff9248", "template": "{{ .Repo.HEAD }}{{ .Repo.BranchStatus }}{{ if .Repo.Working.Changed }} \uF044 {{ .Repo.Working.String }}{{ end }}{{ if and (.Repo.Working.Changed) (.Repo.Staging.Changed) }} |{{ end }}{{ if .Repo.Staging.Changed }} \uF046 {{ .Repo.Staging.String }}{{ end }}{{ if gt .Repo.StashCount 0 }} \uF692 {{ .Repo.StashCount }}{{ end }}"
"ahead_and_behind_color": "#f26d50",
"behind_color": "#f17c37",
"ahead_color": "#89d1dc",
"stash_count_icon": "\uF692 "
} }
}, },
{ {
"type": "node", "type": "node",
"style": "powerline", "style": "powerline",
"powerline_symbol": "", "powerline_symbol": "\uE0B0",
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#6CA35E", "background": "#6CA35E",
"properties": { "properties": {
@ -60,7 +64,7 @@
{ {
"type": "go", "type": "go",
"style": "powerline", "style": "powerline",
"powerline_symbol": "", "powerline_symbol": "\uE0B0",
"foreground": "#111111", "foreground": "#111111",
"background": "#8ED1F7", "background": "#8ED1F7",
"properties": { "properties": {
@ -71,7 +75,7 @@
{ {
"type": "julia", "type": "julia",
"style": "powerline", "style": "powerline",
"powerline_symbol": "", "powerline_symbol": "\uE0B0",
"foreground": "#111111", "foreground": "#111111",
"background": "#4063D8", "background": "#4063D8",
"properties": { "properties": {
@ -82,7 +86,7 @@
{ {
"type": "python", "type": "python",
"style": "powerline", "style": "powerline",
"powerline_symbol": "", "powerline_symbol": "\uE0B0",
"foreground": "#111111", "foreground": "#111111",
"background": "#FFDE57", "background": "#FFDE57",
"properties": { "properties": {
@ -95,7 +99,7 @@
{ {
"type": "ruby", "type": "ruby",
"style": "powerline", "style": "powerline",
"powerline_symbol": "", "powerline_symbol": "\uE0B0",
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#AE1401", "background": "#AE1401",
"properties": { "properties": {
@ -107,7 +111,7 @@
{ {
"type": "azfunc", "type": "azfunc",
"style": "powerline", "style": "powerline",
"powerline_symbol": "", "powerline_symbol": "\uE0B0",
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#FEAC19", "background": "#FEAC19",
"properties": { "properties": {
@ -119,7 +123,7 @@
{ {
"type": "aws", "type": "aws",
"style": "powerline", "style": "powerline",
"powerline_symbol": "", "powerline_symbol": "\uE0B0",
"foreground": "#ffffff", "foreground": "#ffffff",
"background_templates": [ "background_templates": [
"{{if contains \"default\" .Profile}}#FFA400{{end}}", "{{if contains \"default\" .Profile}}#FFA400{{end}}",
@ -133,7 +137,7 @@
{ {
"type": "root", "type": "root",
"style": "powerline", "style": "powerline",
"powerline_symbol": "", "powerline_symbol": "\uE0B0",
"foreground": "#111111", "foreground": "#111111",
"background": "#ffff66", "background": "#ffff66",
"properties": { "properties": {
@ -149,7 +153,7 @@
"trailing_diamond": "", "trailing_diamond": "",
"properties": { "properties": {
"always_enabled": true, "always_enabled": true,
"prefix": "<transparent></> \ufa1e", "prefix": "<transparent>\uE0B0</> \ufa1e",
"postfix": "\u2800" "postfix": "\u2800"
} }
}, },
@ -165,7 +169,7 @@
"always_enabled": true, "always_enabled": true,
"error_color": "#f1184c", "error_color": "#f1184c",
"color_background": true, "color_background": true,
"prefix": "<#83769c></> " "prefix": "<#83769c>\uE0B0</> "
} }
} }
] ]

View file

@ -48,18 +48,19 @@
{ {
"background": "#280C2E", "background": "#280C2E",
"foreground": "#FFFFFF", "foreground": "#FFFFFF",
"background_templates": [
"{{ if or (.Repo.Working.Changed) (.Repo.Staging.Changed) }}#7621DE{{ end }}",
"{{ if and (.Repo.Ahead gt 0) (.Repo.Behind gt 0) }}#7621DE{{ end }}",
"{{ if .Repo.Ahead gt 0 }}#7621DE{{ end }}",
"{{ if .Repo.Behind gt 0 }}#7621DE{{ end }}"
],
"powerline_symbol": "\uE0B0", "powerline_symbol": "\uE0B0",
"properties": { "properties": {
"ahead_and_behind_color": "#7621DE", "fetch_stash_count": true,
"ahead_color": "#7621DE", "fetch_status": true,
"behind_color": "#7621DE",
"display_stash_count": true,
"display_status": true,
"display_upstream_icon": true, "display_upstream_icon": true,
"local_changes_color": "#7621DE",
"prefix": " ", "prefix": " ",
"staging_color": "#7621DE", "template": "{{ .Repo.HEAD }}{{ 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 }}"
"status_colors_enabled": true
}, },
"style": "powerline", "style": "powerline",
"type": "git" "type": "git"

View file

@ -119,18 +119,17 @@
"style": "diamond", "style": "diamond",
"foreground": "#000000", "foreground": "#000000",
"background": "#ffffff", "background": "#ffffff",
"foreground_templates": [
"{{ if or (.Repo.Working.Changed) (.Repo.Staging.Changed) }}#ffea00{{ end }}",
"{{ if .Repo.Ahead gt 0 }}#2EC4B6{{ end }}",
"{{ if .Repo.Behind gt 0 }}#8A4FFF{{ end }}"
],
"properties": { "properties": {
"display_stash_count": true, "fetch_stash_count": true,
"display_upstream_icon": true, "display_upstream_icon": true,
"display_status": true, "fetch_status": true,
"status_colors_enabled": true, "prefix": "<#000000>\ue0b1 </>",
"color_background": false, "template": "{{ .Repo.HEAD }}{{ if .Repo.Staging.Changed }}<#2FDA4E> \uF046 {{ .Repo.Staging.String }}</>{{ end }}{{ if and (.Repo.Working.Changed) (.Repo.Staging.Changed) }} |{{ end }}{{ if .Repo.Working.Changed }}<#E84855> \uF044 {{ .Repo.Working.String }}</>{{ end }}"
"local_changes_color": "#ffea00",
"working_color": "#E84855",
"staging_color": "#2FDA4E",
"ahead_color": "#2EC4B6",
"behind_color": "#8A4FFF",
"prefix": "<#ffffff>\ue0b1 </>"
} }
}, },
{ {

View file

@ -29,7 +29,8 @@
"background": "#25AFF3", "background": "#25AFF3",
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": { "properties": {
"display_status": true, "fetch_status": true,
"template": "{{ .Repo.HEAD }}{{ 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 }}",
"postfix": ") ", "postfix": ") ",
"prefix": " branch (" "prefix": " branch ("
}, },
@ -55,7 +56,7 @@
"time_format": "15:04:05" "time_format": "15:04:05"
}, },
"style": "diamond", "style": "diamond",
"trailing_diamond": "", "trailing_diamond": "\uE0B0",
"type": "time" "type": "time"
} }
], ],

View file

@ -69,16 +69,17 @@
"powerline_symbol": "\uE0B0", "powerline_symbol": "\uE0B0",
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#6f42c1", "background": "#6f42c1",
"backround_templates": [
"{{ if or (.Repo.Working.Changed) (.Repo.Staging.Changed) }}#176f2c{{ end }}",
"{{ if and (.Repo.Ahead gt 0) (.Repo.Behind gt 0) }}#f26d50{{ end }}",
"{{ if .Repo.Ahead gt 0 }}#0366d6{{ end }}",
"{{ if .Repo.Behind gt 0 }}#f9c513{{ end }}"
],
"properties": { "properties": {
"display_stash_count": true, "fetch_stash_count": true,
"fetch_status": true,
"display_upstream_icon": true, "display_upstream_icon": true,
"status_colors_enabled": true, "template": "{{ .Repo.HEAD }}{{ .Repo.BranchStatus }}{{ if .Repo.Working.Changed }} \uF044 {{ .Repo.Working.String }}{{ end }}{{ if and (.Repo.Working.Changed) (.Repo.Staging.Changed) }} |{{ end }}{{ if .Repo.Staging.Changed }} \uF046 {{ .Repo.Staging.String }}{{ end }}{{ if gt .Repo.StashCount 0 }} \uF692 {{ .Repo.StashCount }}{{ end }}"
"display_status": true,
"local_changes_color": "#176f2c",
"ahead_and_behind_color": "#f26d50",
"behind_color": "#f9c513",
"ahead_color": "#0366d6",
"stash_count_icon": "\uF692 "
} }
}, },
{ {
@ -136,7 +137,6 @@
"background": "#2B2B2B", "background": "#2B2B2B",
"properties": { "properties": {
"postfix": "<#ffffff> \uF252 </>", "postfix": "<#ffffff> \uF252 </>",
"postfix": "<#ffffff> \ufbab </>",
"always_enabled": true "always_enabled": true
} }
} }

View file

@ -27,7 +27,8 @@
"style": "plain", "style": "plain",
"foreground": "#B80101", "foreground": "#B80101",
"properties": { "properties": {
"prefix": " <#F5F5F5>git:</>" "prefix": " <#F5F5F5>git:</>",
"template": "{{ .Repo.HEAD }}"
} }
} }
] ]

View file

@ -9,9 +9,9 @@
{ {
"background": "#feae34", "background": "#feae34",
"foreground": "#262b44", "foreground": "#262b44",
"powerline_symbol": "", "powerline_symbol": "\uE0B0",
"leading_diamond": "", "leading_diamond": "",
"trailing_diamond": "", "trailing_diamond": "\uE0B0",
"properties": { "properties": {
"prefix": "  ", "prefix": "  ",
"style": "folder" "style": "folder"
@ -22,16 +22,18 @@
{ {
"background": "#fee761", "background": "#fee761",
"foreground": "#262b44", "foreground": "#262b44",
"powerline_symbol": "", "background_templates": [
"{{ if or (.Repo.Working.Changed) (.Repo.Staging.Changed) }}#f77622{{ end }}",
"{{ if and (.Repo.Ahead gt 0) (.Repo.Behind gt 0) }}#e43b44{{ end }}",
"{{ if .Repo.Ahead gt 0 }}#2ce8f5{{ end }}",
"{{ if .Repo.Behind gt 0 }}#f77622{{ end }}"
],
"powerline_symbol": "\uE0B0",
"properties": { "properties": {
"display_stash_count": true, "fetch_status": true,
"fetch_stash_count": true,
"display_upstream_icon": true, "display_upstream_icon": true,
"status_colors_enabled": true, "template": "{{ .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 }}"
"local_changes_color": "#f77622",
"ahead_and_behind_color": "#e43b44",
"behind_color": "#f77622",
"ahead_color": "#2ce8f5",
"stash_count_icon": "\uF692 "
}, },
"style": "powerline", "style": "powerline",
"type": "git" "type": "git"
@ -39,14 +41,14 @@
{ {
"background": "#fee761", "background": "#fee761",
"foreground": "#262b44", "foreground": "#262b44",
"powerline_symbol": "", "powerline_symbol": "\uE0B0",
"style": "powerline", "style": "powerline",
"type": "root" "type": "root"
}, },
{ {
"background": "#0095e9", "background": "#0095e9",
"foreground": "#ffffff", "foreground": "#ffffff",
"leading_diamond": "<transparent, #0095e9></>", "leading_diamond": "<transparent, #0095e9>\uE0B0</>",
"properties": { "properties": {
"always_enabled": true, "always_enabled": true,
"color_background": true, "color_background": true,

View file

@ -29,7 +29,8 @@
"foreground": "#D0666F", "foreground": "#D0666F",
"properties": { "properties": {
"branch_icon": "", "branch_icon": "",
"display_status": false, "fetch_status": false,
"template": "{{ .Repo.HEAD }}",
"prefix": "<#5FAAE8>git:(</>", "prefix": "<#5FAAE8>git:(</>",
"postfix": "<#5FAAE8>)</>" "postfix": "<#5FAAE8>)</>"
} }

View file

@ -65,9 +65,10 @@
"foreground": "#3A86FF", "foreground": "#3A86FF",
"background": "#242424", "background": "#242424",
"properties": { "properties": {
"display_stash_count": true, "fetch_stash_count": true,
"display_upstream_icon": true, "display_upstream_icon": true,
"prefix": "" "prefix": "",
"template": "{{ .Repo.HEAD }}{{ if gt .Repo.StashCount 0 }} \uF692 {{ .Repo.StashCount }}{{ end }}"
} }
}, },
{ {

View file

@ -1,9 +1,11 @@
{ {
"blocks": [{ "blocks": [
{
"type": "prompt", "type": "prompt",
"alignment": "left", "alignment": "left",
"newline": true, "newline": true,
"segments": [{ "segments": [
{
"type": "os", "type": "os",
"style": "diamond", "style": "diamond",
"leading_diamond": "\uE0B6", "leading_diamond": "\uE0B6",
@ -68,15 +70,17 @@
"powerline_symbol": "\uE0B0", "powerline_symbol": "\uE0B0",
"foreground": "#193549", "foreground": "#193549",
"background": "#fffb38", "background": "#fffb38",
"background_templates": [
"{{ if or (.Repo.Working.Changed) (.Repo.Staging.Changed) }}#ff9248{{ end }}",
"{{ if and (.Repo.Ahead gt 0) (.Repo.Behind gt 0) }}#f26d50{{ end }}",
"{{ if .Repo.Ahead gt 0 }}#f17c37{{ end }}",
"{{ if .Repo.Behind gt 0 }}#89d1dc{{ end }}"
],
"properties": { "properties": {
"display_stash_count": true, "fetch_status": true,
"fetch_stash_count": true,
"display_upstream_icon": true, "display_upstream_icon": true,
"status_colors_enabled": true, "template": "{{ .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 }}"
"local_changes_color": "#ff9248",
"ahead_and_behind_color": "#f26d50",
"behind_color": "#f17c37",
"ahead_color": "#89d1dc",
"stash_count_icon": "\uF692 "
} }
}, },
{ {
@ -93,7 +97,8 @@
}, },
{ {
"type": "rprompt", "type": "rprompt",
"segments": [{ "segments": [
{
"type": "exit", "type": "exit",
"style": "plain", "style": "plain",
"foreground": "#ffffff", "foreground": "#ffffff",

View file

@ -35,11 +35,11 @@
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#4E44FF", "background": "#4E44FF",
"properties": { "properties": {
"display_stash_count": true, "fetch_stash_count": true,
"fetch_status": false,
"display_upstream_icon": true, "display_upstream_icon": true,
"status_colors_enabled": false,
"branch_icon": "", "branch_icon": "",
"display_status": false, "template": "{{ .Repo.HEAD }}{{ if gt .Repo.StashCount 0 }} \uF692 {{ .Repo.StashCount }}{{ end }}",
"prefix": " \u279C (", "prefix": " \u279C (",
"postfix": ") " "postfix": ") "
} }

View file

@ -28,7 +28,8 @@
"foreground": "#F1502F", "foreground": "#F1502F",
"properties": { "properties": {
"prefix": ":: ", "prefix": ":: ",
"display_status": true "fetch_status": true,
"template": "{{ .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 }}"
} }
} }
] ]

View file

@ -51,16 +51,17 @@
"powerline_symbol": "\uE0B0", "powerline_symbol": "\uE0B0",
"foreground": "#011627", "foreground": "#011627",
"background": "#22da6e", "background": "#22da6e",
"background_templates": [
"{{ if or (.Repo.Working.Changed) (.Repo.Staging.Changed) }}#ffeb95{{ end }}",
"{{ if and (.Repo.Ahead gt 0) (.Repo.Behind gt 0) }}#c5e478{{ end }}",
"{{ if .Repo.Ahead gt 0 }}#C792EA{{ end }}",
"{{ if .Repo.Behind gt 0 }}#C792EA{{ end }}"
],
"properties": { "properties": {
"branch_icon": "\ue725 ", "branch_icon": "\ue725 ",
"display_status": true, "fetch_status": true,
"display_upstream_icon": true, "display_upstream_icon": true,
"staging_color": "#ef5350", "template": "{{ .Repo.HEAD }}{{ .Repo.BranchStatus }}{{ if .Repo.Working.Changed }} \uF044 {{ .Repo.Working.String }}{{ end }}{{ if and (.Repo.Working.Changed) (.Repo.Staging.Changed) }} |{{ end }}{{ if .Repo.Staging.Changed }}<#ef5350> \uF046 {{ .Repo.Staging.String }}</>{{ end }}"
"status_colors_enabled": true,
"local_changes_color": "#ffeb95",
"ahead_and_behind_color": "#c5e478",
"behind_color": "#C792EA",
"ahead_color": "#C792EA"
} }
}, },
{ {

View file

@ -40,7 +40,10 @@
"style": "powerline", "style": "powerline",
"powerline_symbol": "\uE0B0", "powerline_symbol": "\uE0B0",
"foreground": "#193549", "foreground": "#193549",
"background": "#95ffa4" "background": "#95ffa4",
"properties": {
"template": "{{ .Repo.HEAD }}"
}
}, },
{ {
"type": "python", "type": "python",

View file

@ -36,7 +36,10 @@
"style": "powerline", "style": "powerline",
"powerline_symbol": "\uE0B0", "powerline_symbol": "\uE0B0",
"foreground": "#193549", "foreground": "#193549",
"background": "#95ffa4" "background": "#95ffa4",
"properties": {
"template": "{{ .Repo.HEAD }}"
}
}, },
{ {
"type": "python", "type": "python",

View file

@ -29,9 +29,9 @@
"foreground": "#D0666F", "foreground": "#D0666F",
"properties": { "properties": {
"branch_icon": "", "branch_icon": "",
"display_status": false,
"prefix": "<#5FAAE8>git:(</>", "prefix": "<#5FAAE8>git:(</>",
"postfix": "<#5FAAE8>)</>" "postfix": "<#5FAAE8>)</>",
"template": "{{ .Repo.HEAD }}"
} }
}, },
{ {

View file

@ -35,21 +35,20 @@
"type": "git", "type": "git",
"style": "plain", "style": "plain",
"foreground": "green", "foreground": "green",
"foreground_templates": [
"{{ if or (.Repo.Working.Changed) (.Repo.Staging.Changed) }}yellow{{ end }}",
"{{ if and (.Repo.Ahead gt 0) (.Repo.Behind gt 0) }}red{{ end }}",
"{{ if .Repo.Ahead gt 0 }}red{{ end }}",
"{{ if .Repo.Behind gt 0 }}green{{ end }}"
],
"properties": { "properties": {
"display_status": true, "fetch_status": true,
"fetch_stash_count": true,
"display_upstream_icon": true,
"prefix": " on ", "prefix": " on ",
"postfix": "", "postfix": "",
"ahead_color": "red", "github_icon": " ",
"behind_color": "green", "template": "{{ .Repo.HEAD }}{{ .Repo.BranchStatus }}{{ if .Repo.Working.Changed }}<red> \uF044 {{ .Repo.Working.String }}</>{{ end }}{{ if and (.Repo.Working.Changed) (.Repo.Staging.Changed) }} |{{ end }}{{ if .Repo.Staging.Changed }}<yellow> \uF046 {{ .Repo.Staging.String }}</>{{ end }}{{ if gt .Repo.StashCount 0 }} \uF692 {{ .Repo.StashCount }}{{ end }}"
"working_color": "red",
"staging_color": "yellow",
"local_changes_color": "yellow",
"ahead_and_behind_color": "red",
"color_background": false,
"display_stash_count": true,
"display_upstream_icon": true,
"status_colors_enabled": true,
"github_icon": " "
} }
}, },
{ {

View file

@ -119,18 +119,17 @@
"style": "diamond", "style": "diamond",
"foreground": "#ffea00", "foreground": "#ffea00",
"background": "#2f2f2f", "background": "#2f2f2f",
"foreground_templates": [
"{{ if or (.Repo.Working.Changed) (.Repo.Staging.Changed) }}#ffea00{{ end }}",
"{{ if .Repo.Ahead gt 0 }}#2EC4B6{{ end }}",
"{{ if .Repo.Behind gt 0 }}#8A4FFF{{ end }}"
],
"properties": { "properties": {
"display_stash_count": true, "fetch_stash_count": true,
"fetch_status": true,
"display_upstream_icon": true, "display_upstream_icon": true,
"display_status": true, "prefix": "<#ffea00>\ue0b1 </>",
"status_colors_enabled": true, "template": "{{ .Repo.HEAD }}{{ .Repo.BranchStatus }}{{ if .Repo.Working.Changed }}<#E84855> \uF044 {{ .Repo.Working.String }}</>{{ end }}{{ if and (.Repo.Working.Changed) (.Repo.Staging.Changed) }} |{{ end }}{{ if .Repo.Staging.Changed }}<#2FDA4E> \uF046 {{ .Repo.Staging.String }}</>{{ end }}{{ if gt .Repo.StashCount 0 }} \uF692 {{ .Repo.StashCount }}{{ end }}"
"color_background": false,
"local_changes_color": "#ffea00",
"working_color": "#E84855",
"staging_color": "#2FDA4E",
"ahead_color": "#2EC4B6",
"behind_color": "#8A4FFF",
"prefix": "<#ffea00>\ue0b1 </>"
} }
}, },
{ {

View file

@ -41,8 +41,9 @@
"foreground": "#193549", "foreground": "#193549",
"background": "#fffb38", "background": "#fffb38",
"properties": { "properties": {
"display_stash_count": true, "fetch_stash_count": true,
"display_upstream_icon": true "display_upstream_icon": true,
"template": "{{ .Repo.HEAD }}{{ if gt .Repo.StashCount 0 }} \uF692 {{ .Repo.StashCount }}{{ end }}"
} }
}, },
{ {

View file

@ -36,7 +36,8 @@
"foreground": "#D4E157", "foreground": "#D4E157",
"background": "#546E7A", "background": "#546E7A",
"properties": { "properties": {
"prefix": "<#26C6DA>\uE0B1 </>" "prefix": "<#26C6DA>\uE0B1 </>",
"template": "{{ .Repo.HEAD }}"
} }
}, },
{ {

View file

@ -35,7 +35,8 @@
"style": "plain", "style": "plain",
"foreground": "#FFE700", "foreground": "#FFE700",
"properties": { "properties": {
"prefix": "" "prefix": "",
"template": "{{ .Repo.HEAD }}"
} }
}, },
{ {

View file

@ -41,8 +41,8 @@
"background": "#D4E157", "background": "#D4E157",
"powerline_symbol": "\uE0B4", "powerline_symbol": "\uE0B4",
"properties": { "properties": {
"style": "full", "prefix": " ",
"prefix": " " "template": "{{ .Repo.HEAD }}"
} }
} }
] ]

View file

@ -15,7 +15,7 @@
{ {
"type": "path", "type": "path",
"style": "powerline", "style": "powerline",
"powerline_symbol": "", "powerline_symbol": "\uE0B0",
"foreground": "#e4e4e4", "foreground": "#e4e4e4",
"background": "#3465a4", "background": "#3465a4",
"properties": { "properties": {
@ -27,19 +27,21 @@
{ {
"type": "git", "type": "git",
"style": "powerline", "style": "powerline",
"powerline_symbol": "", "powerline_symbol": "\uE0B0",
"foreground": "#000000", "foreground": "#000000",
"background": "#4e9a06", "background": "#4e9a06",
"background_templates": [
"{{ if or (.Repo.Working.Changed) (.Repo.Staging.Changed) }}#c4a000{{ end }}",
"{{ if and (.Repo.Ahead gt 0) (.Repo.Behind gt 0) }}#f26d50{{ end }}",
"{{ if .Repo.Ahead gt 0 }}#89d1dc{{ end }}",
"{{ if .Repo.Behind gt 0 }}#4e9a06{{ end }}"
],
"properties": { "properties": {
"branch_icon": "\uF126 ", "branch_icon": "\uF126 ",
"display_stash_count": true, "fetch_stash_count": true,
"fetch_status": true,
"display_upstream_icon": true, "display_upstream_icon": true,
"status_colors_enabled": true, "template": "{{ .Repo.HEAD }}{{ .Repo.BranchStatus }}{{ if .Repo.Working.Changed }} \uF044 {{ .Repo.Working.String }}{{ end }}{{ if and (.Repo.Working.Changed) (.Repo.Staging.Changed) }} |{{ end }}{{ if .Repo.Staging.Changed }} \uF046 {{ .Repo.Staging.String }}{{ end }}{{ if gt .Repo.StashCount 0 }} \uF692 {{ .Repo.StashCount }}{{ end }}"
"local_changes_color": "#c4a000",
"ahead_and_behind_color": "#f26d50",
"behind_color": "#4e9a06",
"ahead_color": "#89d1dc",
"stash_count_icon": "\uF692 "
} }
} }
] ]
@ -180,7 +182,7 @@
"type": "time", "type": "time",
"style": "diamond", "style": "diamond",
"invert_powerline": true, "invert_powerline": true,
"trailing_diamond": "─╮", "trailing_diamond": "\uE0B0─╮",
"background": "#d3d7cf", "background": "#d3d7cf",
"foreground": "#000000", "foreground": "#000000",
"properties": { "properties": {

View file

@ -30,7 +30,10 @@
"style": "powerline", "style": "powerline",
"powerline_symbol": "\uE0B0", "powerline_symbol": "\uE0B0",
"foreground": "#193549", "foreground": "#193549",
"background": "#95ffa4" "background": "#95ffa4",
"properties": {
"template": "{{ .Repo.HEAD }}"
}
}, },
{ {
"type": "python", "type": "python",

View file

@ -41,15 +41,15 @@
"foreground": "#6C6C6C", "foreground": "#6C6C6C",
"properties": { "properties": {
"prefix": "", "prefix": "",
"display_stash_count": true, "fetch_stash_count": true,
"display_status": true, "fetch_status": true,
"display_status_detail": true,
"display_upstream_icon": true, "display_upstream_icon": true,
"branch_icon": "", "branch_icon": "",
"github_icon": "", "github_icon": "",
"branch_ahead_icon": "<#88C0D0>\u21e1 </>", "branch_ahead_icon": "<#88C0D0>\u21e1 </>",
"branch_behind_icon": "<#88C0D0>\u21e3 </>", "branch_behind_icon": "<#88C0D0>\u21e3 </>",
"local_working_icon": "<#FFAFD7>\u002a</>" "local_working_icon": "<#FFAFD7>\u002a</>",
"template": "{{ .Repo.HEAD }}{{ .Repo.BranchStatus }}{{ if .Repo.Working.Changed }} \uF044 {{ .Repo.Working.String }}{{ end }}{{ if and (.Repo.Working.Changed) (.Repo.Staging.Changed) }} |{{ end }}{{ if .Repo.Staging.Changed }} \uF046 {{ .Repo.Staging.String }}{{ end }}{{ if gt .Repo.StashCount 0 }} \uF692 {{ .Repo.StashCount }}{{ end }}"
} }
} }
] ]

View file

@ -33,9 +33,9 @@
"background": "lightCyan", "background": "lightCyan",
"properties": { "properties": {
"branch_icon": "", "branch_icon": "",
"display_status": false,
"prefix": " git(", "prefix": " git(",
"postfix": ") " "postfix": ") ",
"template": "{{ .Repo.HEAD }}"
} }
}, },
{ {

View file

@ -1,4 +1,3 @@
{ {
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [ "blocks": [
@ -30,9 +29,9 @@
"foreground": "#D0666F", "foreground": "#D0666F",
"properties": { "properties": {
"branch_icon": "", "branch_icon": "",
"display_status": false,
"prefix": "<#5FAAE8>git:(</>", "prefix": "<#5FAAE8>git:(</>",
"postfix": "<#5FAAE8>)</>" "postfix": "<#5FAAE8>)</>",
"template": "{{ .Repo.HEAD }}"
} }
}, },
{ {

View file

@ -21,7 +21,6 @@
"wsl_separator": "", "wsl_separator": "",
"prefix": " ", "prefix": " ",
"postfix": " " "postfix": " "
} }
}, },
{ {
@ -54,19 +53,13 @@
"foreground": "#ffffff", "foreground": "#ffffff",
"background": "#256C9D", "background": "#256C9D",
"properties": { "properties": {
"fetch_status": true,
"fetch_stash_count": false,
"branch_max_length": 30, "branch_max_length": 30,
"display_stash_count": false,
"display_upstream_icon": true, "display_upstream_icon": true,
"display_status": true,
"status_colors_enabled": false,
"color_background": true,
"local_changes_color": "#ffffff",
"working_color": "#ffffff",
"staging_color": "#ffffff",
"ahead_color": "#ffffff",
"behind_color": "#ffffff",
"prefix": "[ ", "prefix": "[ ",
"postfix": " ]" "postfix": " ]",
"template": "{{ .Repo.HEAD }}{{ .Repo.BranchStatus }}{{ if .Repo.Working.Changed }} \uF044 {{ .Repo.Working.String }}{{ end }}{{ if and (.Repo.Working.Changed) (.Repo.Staging.Changed) }} |{{ end }}{{ if .Repo.Staging.Changed }} \uF046 {{ .Repo.Staging.String }}{{ end }}{{ if gt .Repo.StashCount 0 }} \uF692 {{ .Repo.StashCount }}{{ end }}"
} }
}, },
{ {

View file

@ -21,7 +21,6 @@
"wsl_separator": "", "wsl_separator": "",
"prefix": " ", "prefix": " ",
"postfix": " " "postfix": " "
} }
}, },
{ {
@ -40,20 +39,17 @@
"style": "plain", "style": "plain",
"background": "#E0E0E0", "background": "#E0E0E0",
"foreground": "#424242", "foreground": "#424242",
"foreground_templates": [
"{{ if or (.Repo.Working.Changed) (.Repo.Staging.Changed) }}#053F22{{ end }}",
"{{ if or (.Repo.Ahead gt 0) (.Repo.Behind gt 0) }}#0A703E{{ end }}"
],
"properties": { "properties": {
"display_stash_count": false, "fetch_status": true,
"branch_max_length": 30, "branch_max_length": 30,
"display_upstream_icon": true, "display_upstream_icon": true,
"display_status": true,
"status_colors_enabled": true,
"color_background": false,
"local_changes_color": "#053F22",
"working_color": "#BD6200",
"staging_color": "#053F22",
"ahead_color": "#0A703E",
"behind_color": "#0A703E",
"prefix": " [", "prefix": " [",
"postfix": "] " "postfix": "] ",
"template": "{{ .Repo.HEAD }}{{ .Repo.BranchStatus }}{{ if .Repo.Working.Changed }}<#BD6200> \uF044 {{ .Repo.Working.String }}</>{{ end }}{{ if and (.Repo.Working.Changed) (.Repo.Staging.Changed) }} |{{ end }}{{ if .Repo.Staging.Changed }}<#053F22> \uF046 {{ .Repo.Staging.String }}</>{{ end }}"
} }
}, },
{ {

View file

@ -78,18 +78,17 @@
"style": "diamond", "style": "diamond",
"foreground": "#ffeb3b", "foreground": "#ffeb3b",
"background": "#2f2f2f", "background": "#2f2f2f",
"foreground_templates": [
"{{ if or (.Repo.Working.Changed) (.Repo.Staging.Changed) }}#ffeb3b{{ end }}",
"{{ if .Repo.Ahead gt 0 }}#2EC4B6{{ end }}",
"{{ if .Repo.Behind gt 0 }}#8A4FFF{{ end }}"
],
"properties": { "properties": {
"display_stash_count": true, "fetch_stash_count": true,
"fetch_status": true,
"display_upstream_icon": true, "display_upstream_icon": true,
"display_status": true, "prefix": "<#7a7a7a>\ue0b1 </>",
"status_colors_enabled": true, "template": "{{ .Repo.HEAD }}{{ .Repo.BranchStatus }}{{ if .Repo.Working.Changed }}<#E84855> \uF044 {{ .Repo.Working.String }}</>{{ end }}{{ if and (.Repo.Working.Changed) (.Repo.Staging.Changed) }} |{{ end }}{{ if .Repo.Staging.Changed }}<#2FDA4E> \uF046 {{ .Repo.Staging.String }}</>{{ end }}{{ if gt .Repo.StashCount 0 }} \uF692 {{ .Repo.StashCount }}{{ end }}"
"color_background": false,
"local_changes_color": "#ffeb3b",
"working_color": "#E84855",
"staging_color": "#2FDA4E",
"ahead_color": "#2EC4B6",
"behind_color": "#8A4FFF",
"prefix": "<#7a7a7a>\ue0b1 </>"
} }
}, },
{ {

View file

@ -76,18 +76,17 @@
"style": "diamond", "style": "diamond",
"foreground": "#ffeb3b", "foreground": "#ffeb3b",
"background": "#2f2f2f", "background": "#2f2f2f",
"foreground_templates": [
"{{ if or (.Repo.Working.Changed) (.Repo.Staging.Changed) }}#ffeb3b{{ end }}",
"{{ if .Repo.Ahead gt 0 }}#2EC4B6{{ end }}",
"{{ if .Repo.Behind gt 0 }}#8A4FFF{{ end }}"
],
"properties": { "properties": {
"display_stash_count": true, "fetch_stash_count": true,
"fetch_status": true,
"display_upstream_icon": true, "display_upstream_icon": true,
"display_status": true, "prefix": "<#7a7a7a>\ue0b1 </>",
"status_colors_enabled": true, "template": "{{ .Repo.HEAD }}{{ .Repo.BranchStatus }}{{ if .Repo.Working.Changed }}<#E84855> \uF044 {{ .Repo.Working.String }}</>{{ end }}{{ if and (.Repo.Working.Changed) (.Repo.Staging.Changed) }} |{{ end }}{{ if .Repo.Staging.Changed }}<#2FDA4E> \uF046 {{ .Repo.Staging.String }}</>{{ end }}{{ if gt .Repo.StashCount 0 }} \uF692 {{ .Repo.StashCount }}{{ end }}"
"color_background": false,
"local_changes_color": "#ffeb3b",
"working_color": "#E84855",
"staging_color": "#2FDA4E",
"ahead_color": "#2EC4B6",
"behind_color": "#8A4FFF",
"prefix": "<#7a7a7a>\ue0b1 </>"
} }
}, },
{ {

View file

@ -34,7 +34,8 @@
"style": "plain", "style": "plain",
"foreground": "#C1C106", "foreground": "#C1C106",
"properties": { "properties": {
"prefix": "<#ffffff>git:</>" "prefix": "<#ffffff>git:</>",
"template": "{{ .Repo.HEAD }}"
} }
}, },
{ {

View file

@ -48,9 +48,9 @@
"invert_powerline": false, "invert_powerline": false,
"properties": { "properties": {
"branch_icon": "", "branch_icon": "",
"display_stash_count": true, "fetch_stash_count": true,
"display_status": false, "prefix": "<#ffffff>on</> ",
"prefix": "<#ffffff>on</> " "template": "{{ .Repo.HEAD }}{{ if gt .Repo.StashCount 0 }} \uF692 {{ .Repo.StashCount }}{{ end }}"
} }
}, },
{ {

View file

@ -39,9 +39,9 @@
"foreground": "#ff94df", "foreground": "#ff94df",
"properties": { "properties": {
"branch_icon": " <#ff94df><b> </b></>", "branch_icon": " <#ff94df><b> </b></>",
"display_stash_count": true, "fetch_stash_count": true,
"display_status": false, "prefix": "<#ffffff>on</> ",
"prefix": "<#ffffff>on</> " "template": "{{ .Repo.HEAD }}{{ if gt .Repo.StashCount 0 }} \uF692 {{ .Repo.StashCount }}{{ end }}"
} }
}, },

View file

@ -30,7 +30,8 @@
"foreground": "#C678DD", "foreground": "#C678DD",
"properties": { "properties": {
"prefix": "<#ffffff>on</> ", "prefix": "<#ffffff>on</> ",
"display_status": true "fetch_status": true,
"template": "{{ .Repo.HEAD }}{{ .Repo.BranchStatus }}{{ if .Repo.Working.Changed }} \uF044 {{ .Repo.Working.String }}{{ end }}{{ if and (.Repo.Working.Changed) (.Repo.Staging.Changed) }} |{{ end }}{{ if .Repo.Staging.Changed }} \uF046 {{ .Repo.Staging.String }}{{ end }}"
} }
}, },
{ {

View file

@ -68,29 +68,29 @@
"powerline_symbol": "\ue0b0", "powerline_symbol": "\ue0b0",
"foreground": "#100e23", "foreground": "#100e23",
"background": "#95ffa4", "background": "#95ffa4",
"background_templates": [
"{{ if or (.Repo.Working.Changed) (.Repo.Staging.Changed) }}#ff9248{{ end }}",
"{{ if and (.Repo.Ahead gt 0) (.Repo.Behind gt 0) }}#f26d50{{ end }}",
"{{ if .Repo.Ahead gt 0 }}#89d1dc{{ end }}",
"{{ if .Repo.Behind gt 0 }}#c5b6ad{{ end }}"
],
"properties": { "properties": {
"fetch_status": true,
"fetch_stash_count": true,
"branch_ahead_icon": "\u2191", "branch_ahead_icon": "\u2191",
"branch_behind_icon": "\u2193", "branch_behind_icon": "\u2193",
"branch_gone": "\u2262", "branch_gone": "\u2262",
"branch_icon": "\ue0a0 ", "branch_icon": "\ue0a0 ",
"branch_identical_icon": "\u2261", "branch_identical_icon": "\u2261",
"cherry_pick_icon": "\u2713 ", "cherry_pick_icon": "\u2713 ",
"color_background": true,
"commit_icon": "\u25b7 ", "commit_icon": "\u25b7 ",
"display_status_detail": true,
"local_staged_icon": "", "local_staged_icon": "",
"local_working_icon": "", "local_working_icon": "",
"merge_icon": "\u25f4 ", "merge_icon": "\u25f4 ",
"no_commits_icon": "[no commits]", "no_commits_icon": "[no commits]",
"rebase_icon": "\u2c62 ", "rebase_icon": "\u2c62 ",
"stash_count_icon": "",
"status_colors_enabled": true,
"status_separator_icon": " \u2502",
"tag_icon": "\u25b6 ", "tag_icon": "\u25b6 ",
"local_changes_color": "#ff9248", "template": "{{ .Repo.HEAD }}{{ .Repo.BranchStatus }}{{ if .Repo.Working.Changed }} \uF044 {{ .Repo.Working.String }}{{ end }}{{ if and (.Repo.Working.Changed) (.Repo.Staging.Changed) }} \u2502{{ end }}{{ if .Repo.Staging.Changed }} \uF046 {{ .Repo.Staging.String }}{{ end }}{{ if gt .Repo.StashCount 0 }} {{ .Repo.StashCount }}{{ end }}"
"ahead_and_behind_color": "#f26d50",
"behind_color": "#f17c37",
"ahead_color": "#89d1dc"
} }
}, },
{ {

View file

@ -9,9 +9,8 @@
{ {
"background": "#18354c", "background": "#18354c",
"foreground": "#ffc107", "foreground": "#ffc107",
"powerline_symbol": "",
"leading_diamond": "", "leading_diamond": "",
"trailing_diamond": "", "trailing_diamond": "\uE0B0",
"properties": { "properties": {
"prefix": "  ", "prefix": "  ",
"style": "folder" "style": "folder"
@ -22,11 +21,11 @@
{ {
"background": "#18354c", "background": "#18354c",
"foreground": "#ffc107", "foreground": "#ffc107",
"powerline_symbol": "", "powerline_symbol": "\uE0B0",
"properties": { "properties": {
"display_stash_count": true, "fetch_stash_count": true,
"display_upstream_icon": true, "display_upstream_icon": true,
"status_colors_enabled": false "template": "{{ .Repo.HEAD }}{{ if gt .Repo.StashCount 0 }} \uF692 {{ .Repo.StashCount }}{{ end }}"
}, },
"style": "powerline", "style": "powerline",
"type": "git" "type": "git"
@ -45,7 +44,7 @@
{ {
"background": "#ffc107", "background": "#ffc107",
"foreground": "#18354c", "foreground": "#18354c",
"powerline_symbol": "", "powerline_symbol": "\uE0B0",
"style": "powerline", "style": "powerline",
"type": "root" "type": "root"
} }

View file

@ -37,19 +37,20 @@
{ {
"type": "git", "type": "git",
"style": "powerline", "style": "powerline",
"powerline_symbol": "", "powerline_symbol": "\uE0B0",
"foreground": "#193549", "foreground": "#193549",
"background": "#d2ff5e", "background": "#d2ff5e",
"background_templates": [
"{{ if or (.Repo.Working.Changed) (.Repo.Staging.Changed) }}#ff9248{{ end }}",
"{{ if and (.Repo.Ahead gt 0) (.Repo.Behind gt 0) }}#f26d50{{ end }}",
"{{ if .Repo.Ahead gt 0 }}#89d1dc{{ end }}",
"{{ if .Repo.Behind gt 0 }}#f17c37{{ end }}"
],
"properties": { "properties": {
"display_stash_count": true, "fetch_status": true,
"fetch_stash_count": true,
"display_upstream_icon": true, "display_upstream_icon": true,
"status_colors_enabled": true, "template": "{{ .Repo.HEAD }}{{ .Repo.BranchStatus }}{{ if .Repo.Working.Changed }} \uF044 {{ .Repo.Working.String }}{{ end }}{{ if and (.Repo.Working.Changed) (.Repo.Staging.Changed) }} |{{ end }}{{ if .Repo.Staging.Changed }} \uF046 {{ .Repo.Staging.String }}{{ end }}{{ if gt .Repo.StashCount 0 }} \uF692 {{ .Repo.StashCount }}{{ end }}"
"display_status": true,
"local_changes_color": "#ff9248",
"ahead_and_behind_color": "#f26d50",
"behind_color": "#f17c37",
"ahead_color": "#89d1dc",
"stash_count_icon": "\uF692 "
} }
}, },
{ {

View file

@ -30,7 +30,8 @@
"foreground": "lightYellow", "foreground": "lightYellow",
"properties": { "properties": {
"prefix": ":: <lightBlue>git(</>", "prefix": ":: <lightBlue>git(</>",
"postfix": "<lightBlue>)</>" "postfix": "<lightBlue>)</>",
"template": "{{ .Repo.HEAD }}"
} }
} }
] ]

View file

@ -37,9 +37,8 @@
"properties": { "properties": {
"prefix": "HEAD:", "prefix": "HEAD:",
"branch_icon": "", "branch_icon": "",
"display_status": false,
"display_upstream_icon": false, "display_upstream_icon": false,
"display_stash_count": false "template": "{{ .Repo.HEAD }}"
} }
}, },
{ {

View file

@ -62,7 +62,8 @@
"type": "git", "type": "git",
"style": "plain", "style": "plain",
"properties": { "properties": {
"prefix": "<darkGray>on</> <white>git:</>" "prefix": "<darkGray>on</> <white>git:</>",
"template": "{{ .Repo.HEAD }}"
} }
}, },
{ {

View file

@ -40,9 +40,9 @@
"foreground": "#D4AAFC", "foreground": "#D4AAFC",
"properties": { "properties": {
"branch_icon": "", "branch_icon": "",
"display_status": false,
"prefix": " <#DDB15F>git(</>", "prefix": " <#DDB15F>git(</>",
"postfix": "<#DDB15F>)</>" "postfix": "<#DDB15F>)</>",
"template": "{{ .Repo.HEAD }}"
} }
}, },
{ {