From 897ce4d54c190d06566ed9d74a6f014bb0c01902 Mon Sep 17 00:00:00 2001
From: Matthew Owens <matthew@owens.tech>
Date: Thu, 30 Jul 2020 12:45:57 +0100
Subject: [PATCH] removed numupdates since it was taking too long, moved to a
 cron job

---
 dwmbar | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 | "
-- 
2.20.1