various fixes, a few new features
[distro-setup] / brc2
diff --git a/brc2 b/brc2
index 676c5973a760a2c7936cd24c901336a8f09b2727..c747109446d861432fdac44edf5fa2dfed694c6c 100644 (file)
--- 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: