projects
/
scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2141c51
)
updated dwmbar to display battery percentage
author
Matthew Owens
<matthew@owens.tech>
Thu, 30 Jul 2020 09:20:35 +0000
(10:20 +0100)
committer
Matthew Owens
<matthew@owens.tech>
Thu, 30 Jul 2020 09:20:35 +0000
(10:20 +0100)
dwmbar
patch
|
blob
|
history
diff --git
a/dwmbar
b/dwmbar
index
e9c1106
..
7095e6f
100755
(executable)
--- a/
dwmbar
+++ b/
dwmbar
@@
-2,6
+2,9
@@
# statusbar loop
while true; do
- xsetroot -name "$(date +"%F %T")"
+ date=$(date +"%F %T")
+ bat=$(bat)
+
+ xsetroot -name "$bat | $date"
sleep 1s
done