theme(thecyberden): add background_templates to git segment

This commit is contained in:
Juan Svaikauskas 2022-02-27 13:20:55 -05:00 committed by GitHub
parent 7aafc96e7d
commit 409abd6001
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,8 +28,14 @@
},
{
"background": "#c19c00",
"foreground": "#193549",
"foreground": "#000000",
"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": {
"fetch_stash_count": true,
"fetch_status": true,