From d24b871c47826eace3d7f6c642aaffdd01fe6ebe Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Tue, 2 Sep 2025 07:28:29 +0200 Subject: Some small changes --- status-linux | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'status-linux') diff --git a/status-linux b/status-linux index d881228..4f91dfe 100755 --- a/status-linux +++ b/status-linux @@ -16,13 +16,13 @@ date=$(date +"%a %d %b") if [ "$(pulsemixer --get-mute)" -eq 1 ]; then volume="Muted" else - volume="Vol: $(pulsemixer --get-volume | awk '{print $1}')%" + volume="Vol $(pulsemixer --get-volume | awk '{print $1}')%" fi bat="/sys/class/power_supply/BAT0" if [ -d $bat ]; then charge_status="$(cat $bat/status | awk '{print substr ($0, 0, 2)}')" - battery="Bat: $(cat $bat/capacity)% $charge_status" + battery="Bat $(cat $bat/capacity)% $charge_status" else battery="No battery" fi @@ -41,5 +41,5 @@ noticount=$(notify show | wc -l) printf '%s' "$network$sep$volume$sep$battery$sep$date$sep$time" [ "$noticount" = "1" ] && printf '%s' "$sep$(notify show)" -[ "$noticount" -gt "1" ] && printf '%s' "${sep} [$noticount]" +[ "$noticount" -gt "1" ] && printf '%s' "${sep}[$noticount]" printf '\n' -- cgit v1.3