From: Dylan Lloyd Date: Tue, 13 Mar 2012 18:36:07 +0000 (-0400) Subject: Fixed mixed up icons for volume-toggle X-Git-Url: https://disinclined.org/git/?a=commitdiff_plain;ds=sidebyside;h=ab50e31249733aeee45bf4784fe1a259c2be18b1;p=powermate.git Fixed mixed up icons for volume-toggle --- diff --git a/scripts/volume-toggle b/scripts/volume-toggle index 407bf01..d64f389 100755 --- a/scripts/volume-toggle +++ b/scripts/volume-toggle @@ -5,8 +5,8 @@ status=$(amixer get Master | tail -n1 | awk '{print $NF}') status=$(echo "${status%]}") status=$(echo "${status#[}") if [ $status == "on" ] - then notify-send -i /usr/share/icons/powermate/volume-on.png " " -elif [ $status == "off" ] then notify-send -i /usr/share/icons/powermate/volume-mute.png " " +elif [ $status == "off" ] + then notify-send -i /usr/share/icons/powermate/volume-on.png " " fi amixer set Master toggle