From 924ac093702af019535946b4df6bde0dbe16003b Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Wed, 25 Jan 2023 12:52:44 +0100 Subject: [PATCH] Show the whole gh-notify output line on -vvv --- home/.local/bin/scripts/gui/gh-notification | 3 +++ 1 file changed, 3 insertions(+) diff --git a/home/.local/bin/scripts/gui/gh-notification b/home/.local/bin/scripts/gui/gh-notification index c7d8602..fd74ba4 100755 --- a/home/.local/bin/scripts/gui/gh-notification +++ b/home/.local/bin/scripts/gui/gh-notification @@ -214,6 +214,9 @@ if [ "$total" -gt 0 ]; then # Go through each notification, one by one printf "%s\n" "$out" | while read -r line; do + + [ $VERY_VERY_VERBOSE -eq 1 ] && echo "gh-notify output line: $line" + # Parse out the data from given output lines issue_type="$(echo "$line" | awk '{print $4}' | sed 's/\x1b\[[0-9;]*m//g')" repo_id="$(echo "$line" | awk '{print $3}' | sed 's/\x1b\[[0-9;]*m//g')"