diff --git a/.scripts/waybar-pkg-update-count.sh b/.scripts/waybar-pkg-update-count.sh index 12509f3..ed7b0e1 100755 --- a/.scripts/waybar-pkg-update-count.sh +++ b/.scripts/waybar-pkg-update-count.sh @@ -39,6 +39,11 @@ while [[ $retry_count -le $max_retries && $success -ne 1 ]]; do done +# Show time of check +time="$(date '+%H:%M:%S')" +tooltip="$tooltip\nLatest check: $time" + + cat << EOF {"text": "$output", "alt": "$class", "tooltip": "$tooltip", "class": "$class"} EOF