From 0a4829d47a8a97c9db49de4e8c99fe8b617ded2e Mon Sep 17 00:00:00 2001 From: Szymon Osiecki Date: Sat, 19 Oct 2024 10:26:31 +0000 Subject: [PATCH] refactor: nerd omp theme add status icon --- .assets/config/omp_cfg/nerd.omp.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.assets/config/omp_cfg/nerd.omp.json b/.assets/config/omp_cfg/nerd.omp.json index f51e94f9..877ab895 100644 --- a/.assets/config/omp_cfg/nerd.omp.json +++ b/.assets/config/omp_cfg/nerd.omp.json @@ -37,6 +37,18 @@ "template": "<#CCCCCC>[{{ .FormattedMs }}<#CCCCCC>] ", "type": "executiontime" }, + { + "foreground": "#23D18B", + "foreground_templates": [ + "{{ if gt .Code 0 }}#F14C4C{{ end }}" + ], + "properties": { + "always_enabled": true + }, + "style": "plain", + "template": " ", + "type": "status" + }, { "foreground": "#2CC7EE", "style": "plain",