Waybar pkg updates: Show latest run time.
This commit is contained in:
parent
c3d39e92ee
commit
f576a7224e
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue