dwmblocks

My build of dwmblocks.
git clone git://git.alex.balgavy.eu/dwmblocks.git
Log | Files | Refs | README | LICENSE

commit dd3b70950bcacde7be8e5918f670bb0d1ff1af7a
parent 232d90a40a762ec0f7118ee46bbf2983e5543225
Author: Alex Balgavy <alex@balgavy.eu>
Date:   Wed, 21 Apr 2021 22:56:14 +0200

Fix battery

Diffstat:
Mblocks.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/blocks.h b/blocks.h @@ -1,7 +1,7 @@ //Modify this file to change what commands output to your statusbar, and recompile using the make command. static const Block blocks[] = { /*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/ - {"🔋 ", "printf '%s%%' $(battery | head -n 1)", 60, 0}, + {" 🔋 ", "echo $(battery | head -n 1 )%", 60, 0}, {"", "date '+%b %d (%a) %I:%M%p'", 60, 0}, };