From: Matthew Owens Date: Thu, 30 Jul 2020 11:45:57 +0000 (+0100) Subject: removed numupdates since it was taking too long, moved to a cron job X-Git-Url: https://git.owens.tech/editable-focus.html/editable-focus.html/git?a=commitdiff_plain;h=897ce4d54c190d06566ed9d74a6f014bb0c01902;p=scripts.git removed numupdates since it was taking too long, moved to a cron job --- diff --git a/dwmbar b/dwmbar index 250d37f..65da991 100755 --- a/dwmbar +++ b/dwmbar @@ -4,7 +4,7 @@ while true; do date=$(date +"%F %T") bat=$(bat) - updates=$(numupdates) + [ -f /tmp/update-count ] && updates=$(cat /tmp/update-count) mails=$(mailcount) if [[ $updates -ne 0 ]]; then pkgs="pkgs: $updates | "