X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=system-status;h=87d8cf9d7939df5b2b55175e10015cca1d0f0f4f;hb=5cb8fc0c2a8a3f9ffa3cb4d376075c1217eb6d8c;hp=b2e3b160f80eb1cc2c174a57a71085b7cd04b0fd;hpb=541688fb965b26a16cda0801591df64551c51115;p=distro-setup diff --git a/system-status b/system-status index b2e3b16..87d8cf9 100755 --- a/system-status +++ b/system-status @@ -400,6 +400,8 @@ mute() { if $locked && (( mdiff < 6 || mdiff > 21 )); then case $(pactl get-sink-mute @DEFAULT_SINK@ | awk '{print $2}') in no) + # for log purposes + echo unmuted pactl set-sink-mute @DEFAULT_SINK@ true ;; esac @@ -407,6 +409,8 @@ mute() { if ! $locked && (( mdiff > 6 || mdiff < 12 )) && [[ ! -e /tmp/ianknap ]]; then case $(pactl get-sink-mute @DEFAULT_SINK@ | awk '{print $2}') in yes) + # for log purposes + echo muted pactl set-sink-mute @DEFAULT_SINK@ false ;; esac