Add more formating for special exit code
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user