#!/bin/bash
if [ $(pamixer --get-mute) = false ]; then
spd-say -P important -Cw 'Muting!'
pamixer -t
else
spd-say -P important -Cw 'Unmuted!'
fi