#!/bin/bash #if [ 'pamixer --get-mute' = 'true' ]; then mute='[M]'; fi # notification VOLUME=$(pamixer --get-volume) MUTE=$(pamixer --get-mute) if [ "$MUTE" == "false" ]; then echo '' else echo '[M]' fi