X-Git-Url: https://disinclined.org/git/?a=blobdiff_plain;f=scripts%2Fvolume-toggle;h=d64f3893eaf4b8b5f194cbdb424cfda3f534941c;hb=88a337bdd58149e2195c53f4249ad92dd8de0ec2;hp=407bf01615005555942bb27c09c572ecafeb829f;hpb=2abe12bf0cc031e27307624049be2dd35ba620ac;p=powermate.git 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