X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=brc2;h=c747109446d861432fdac44edf5fa2dfed694c6c;hb=18add5cd24c17a314eb671714ce251c3374f7d60;hp=676c5973a760a2c7936cd24c901336a8f09b2727;hpb=b186607514fbcf10bd5664ccb759a6e873f048c7;p=distro-setup diff --git a/brc2 b/brc2 index 676c597..c747109 100644 --- a/brc2 +++ b/brc2 @@ -3159,6 +3159,17 @@ fixu() { fi } +# unmute +um() { + pactl set-sink-mute @DEFAULT_SINK@ false + rm -f /tmp/ianknap +} +nap() { + pactl set-sink-mute @DEFAULT_SINK@ true + touch /tmp/ianknap +} + + # systemctl is-enabled / status / cat says nothing, instead theres # some obscure symlink. paths copied from man systemd.unit. # possibly also usefull, but incomplete, doesnt show units not loaded in memory: