feat(theme): add red cross when git working status is true for ys theme

This commit is contained in:
Simon Aunér 2022-10-28 09:27:14 +02:00 committed by Jan De Dobbeleer
parent fcb880e6a5
commit b3c4ceafd0

View file

@ -48,8 +48,11 @@
},
{
"style": "plain",
"template": "<darkGray>on</> <white>git:</><cyan>{{ .HEAD }}</> ",
"type": "git"
"template": "<darkGray>on</> <white>git:</><cyan>{{ .HEAD }}</>{{ if .Working.Changed }}<red> x</>{{ end }} ",
"type": "git",
"properties": {
"fetch_status": true
}
},
{
"foreground": "darkGray",