projects
/
scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2da17a
)
removed numupdates since it was taking too long, moved to a cron job
author
Matthew Owens
<matthew@owens.tech>
Thu, 30 Jul 2020 11:45:57 +0000
(12:45 +0100)
committer
Matthew Owens
<matthew@owens.tech>
Thu, 30 Jul 2020 11:45:57 +0000
(12:45 +0100)
dwmbar
patch
|
blob
|
history
diff --git
a/dwmbar
b/dwmbar
index
250d37f
..
65da991
100755
(executable)
--- 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 | "