aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgrepjournal4
1 files changed, 3 insertions, 1 deletions
diff --git a/grepjournal b/grepjournal
index 3f4229e..2f31fa3 100755
--- a/grepjournal
+++ b/grepjournal
@@ -4,6 +4,8 @@
colourWhite="\033[38;2;255;255;255m"
colourGreen="\033[38;2;0;255;0m"
+colourLightGreen="\033[38;2;231;252;179m"
+colourGray="\033[38;2;100;100;100m"
colourOrange="\033[38;2;249;130;44m"
colourCyan="\033[38;2;0;255;255m"
txBold="\033[1m"
@@ -57,7 +59,7 @@ while IFS= read -r line; do
time=${BASH_REMATCH[4]}
note=${BASH_REMATCH[5]}
fi
- out_line="${colourGreen}"$year"-"$month"-"$day":${txReset} ${note}"
+ out_line="${colourGreen}"$year"-"$month"-"$day"${colourGray}T${colourLightGreen}"$time":${txReset} ${note}"
if [[ $out_line =~ $urlregex ]]; then
out_line=${out_line/${BASH_REMATCH[0]}/${colourCyan}${BASH_REMATCH[0]}${txReset}}
fi