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