mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-02-21 02:55:37 -08:00
theme(thecyberden): add background_templates to git segment
This commit is contained in:
parent
7aafc96e7d
commit
409abd6001
|
@ -28,8 +28,14 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"background": "#c19c00",
|
"background": "#c19c00",
|
||||||
"foreground": "#193549",
|
"foreground": "#000000",
|
||||||
"powerline_symbol": "\ue0b0",
|
"powerline_symbol": "\ue0b0",
|
||||||
|
"background_templates": [
|
||||||
|
"{{ if or (.Working.Changed) (.Staging.Changed) }}#FFEB3B{{ end }}",
|
||||||
|
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#FFA300{{ end }}",
|
||||||
|
"{{ if gt .Ahead 0 }}#FF7070{{ end }}",
|
||||||
|
"{{ if gt .Behind 0 }}#90F090{{ end }}"
|
||||||
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"fetch_stash_count": true,
|
"fetch_stash_count": true,
|
||||||
"fetch_status": true,
|
"fetch_status": true,
|
||||||
|
|
Loading…
Reference in a new issue