projects
/
scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34bddfe
)
added packages to dwmbar
author
Matthew Owens
<matthew@owens.tech>
Thu, 30 Jul 2020 11:30:37 +0000
(12:30 +0100)
committer
Matthew Owens
<matthew@owens.tech>
Thu, 30 Jul 2020 11:30:37 +0000
(12:30 +0100)
dwmbar
patch
|
blob
|
history
diff --git
a/dwmbar
b/dwmbar
index
7095e6f
..
6d71e75
100755
(executable)
--- a/
dwmbar
+++ b/
dwmbar
@@
-4,7
+4,11
@@
while true; do
date=$(date +"%F %T")
bat=$(bat)
+ updates=$(numupdates)
+ if [[ $updates -ne 0 ]]; then
+ pkgs="pkgs: $updates |"
+ fi
- xsetroot -name "$bat | $date"
+ xsetroot -name "$
pkgs $
bat | $date"
sleep 1s
done