Fix config git-status diamond

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2022-09-20 15:17:05 +02:00
parent 0b789b5a8a
commit 406a7aed75
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -23,7 +23,8 @@ blocks:
trailing_diamond: *td trailing_diamond: *td
foreground: p:red foreground: p:red
properties: properties:
command: '~/bin/config-git-status.sh || echo "mod"' command: '~/bin/config-git-status.sh && echo "unmod" || echo "mod"'
shell: bash
template: '{{ if eq .Output "mod" }}{{ end }}' template: '{{ if eq .Output "mod" }}{{ end }}'
- type: kubectl - type: kubectl