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", "style": "plain",
"template": "<darkGray>on</> <white>git:</><cyan>{{ .HEAD }}</> ", "template": "<darkGray>on</> <white>git:</><cyan>{{ .HEAD }}</>{{ if .Working.Changed }}<red> x</>{{ end }} ",
"type": "git" "type": "git",
"properties": {
"fetch_status": true
}
}, },
{ {
"foreground": "darkGray", "foreground": "darkGray",