if $locked && (( mdiff < 6 || mdiff > 21 )); then
case $(pactl get-sink-mute @DEFAULT_SINK@ | awk '{print $2}') in
no)
if $locked && (( mdiff < 6 || mdiff > 21 )); then
case $(pactl get-sink-mute @DEFAULT_SINK@ | awk '{print $2}') in
no)
if ! $locked && (( mdiff > 6 || mdiff < 12 )) && [[ ! -e /tmp/ianknap ]]; then
case $(pactl get-sink-mute @DEFAULT_SINK@ | awk '{print $2}') in
yes)
if ! $locked && (( mdiff > 6 || mdiff < 12 )) && [[ ! -e /tmp/ianknap ]]; then
case $(pactl get-sink-mute @DEFAULT_SINK@ | awk '{print $2}') in
yes)