Add more formating for special exit code

This commit is contained in:
2024-10-06 14:20:13 -10:00
parent b7983493cd
commit 997121e351

View File

@@ -73,6 +73,7 @@ blocks:
foreground: "#d70000" foreground: "#d70000"
properties: properties:
always_enabled: true always_enabled: true
status_template: "{{ if eq .Code 130 }}INT{{ else if .eq Code 131}}QUIT{{ else if eq .Code 137 }}KILL{{ end }}"
- type: python - type: python
style: plain style: plain