From d120ebe6b988f7a1a0bbf79010cfd8a27960d9f5 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Tue, 20 Jun 2023 23:10:37 +0200 Subject: Fixed double % --- status | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/status b/status index c4fffa1..2b6a8e2 100755 --- a/status +++ b/status @@ -16,12 +16,12 @@ date=$(date +"%d %B %Y, %A") if [ "$(pulsemixer --get-mute)" -eq 1 ]; then volume="Audio muted" else - volume="Volume: $(pulsemixer --get-volume | awk '{print $1}')%%" + volume="Volume: $(pulsemixer --get-volume | awk '{print $1}')%" fi bat="/sys/class/power_supply/BAT0" if [ -d $bat ]; then - battery="Battery: $(cat $bat/capacity)%% $(cat $bat/status)" + battery="Battery: $(cat $bat/capacity)% $(cat $bat/status)" else battery="No battery" fi -- cgit v1.3