From 5b10d6f42e6f3b46abfadf3d63006f0972cabcf5 Mon Sep 17 00:00:00 2001 From: Tom van der Lee Date: Thu, 15 May 2014 16:53:01 +0200 Subject: Volume can be "Muted" --- .config/herbstluftwm/panel.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to '.config') diff --git a/.config/herbstluftwm/panel.sh b/.config/herbstluftwm/panel.sh index b243d73..a62616b 100755 --- a/.config/herbstluftwm/panel.sh +++ b/.config/herbstluftwm/panel.sh @@ -87,6 +87,8 @@ hc pad $monitor $panel_height ) if [ -z $vol ] ; then echo -e "volume\t^fg($normax_txt)Audio off" + elif [ $vol -le 0 ] ; then + echo -e "volume\t^fg($normal_txt)Volume muted" else echo -e "volume\t^fg($normal_txt)Volume: $vol%" fi -- cgit v1.2.3