From c49d32e9d749793236b0c52e71965d8e2eafbca4 Mon Sep 17 00:00:00 2001 From: "flyingscorpio@pinebookpro" Date: Wed, 9 Sep 2020 13:06:54 +0200 Subject: [PATCH] Add time to empty and battery icon --- dotfiles/i3/blocks | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dotfiles/i3/blocks b/dotfiles/i3/blocks index 1a069f8..48254f0 100644 --- a/dotfiles/i3/blocks +++ b/dotfiles/i3/blocks @@ -83,8 +83,8 @@ LABEL_ON= LABEL_OFF= [battery] -command=echo "$(upower -d | grep 'percentage' | awk '{ print $2 }')" -interval=30 +command=echo " $(upower -d | grep 'percentage' | awk '{print $2}' | head -n 1) ($(upower -d | grep 'time to empty' | awk -F: '{print $2}' | awk '{print $1,$2}' | head -n 1))" +interval=5 [calendar] interval=60