Just thinking that maybe I should look in: /etc/acpi/events Maybe add my script there on unmute event.