aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.zshrc-linux-desktop7
1 files changed, 7 insertions, 0 deletions
diff --git a/.zshrc-linux-desktop b/.zshrc-linux-desktop
index 58448fe..bf7f6eb 100644
--- a/.zshrc-linux-desktop
+++ b/.zshrc-linux-desktop
@@ -36,3 +36,10 @@ eumount() {
[[ -d $HOME/enc ]] && rmdir $HOME/enc
}
fi
+
+pacsync() {
+ [[ $(pacmd list-sinks) =~ 'name: <book>' ]] && return
+
+ pacmd load-module module-null-sink sink_name=book
+ pacmd update-sink-proplist book device.description=book
+}