#!/bin/bash case $1 in mute) amixer -q set "Analog Front" toggle ; notify-send -t 1500 -i /usr/share/icons/Tango/scalable/devices/audio-card.svg Sound\ Level Mute/Umute\ :\ "`amixer get "Analog Front" | grep "Left:" | sed 's/Front Left: Playback //g'`" ;; up) amixer -q set "Analog Front" 2+ unmute ; notify-send -t 250 -i /usr/share/icons/Tango/scalable/devices/audio-card.svg Sound\ Level "`amixer get "Analog Front" | grep "Left:" | sed 's/Front Left: Playback //g'`" ;; down) amixer -q set "Analog Front" 2- unmute ; notify-send -t 250 -i /usr/share/icons/Tango/scalable/devices/audio-card.svg Sound\ Level "`amixer get "Analog Front" | grep "Left:" | sed 's/Front Left: Playback //g'`" ;; esac