diff options
author | katherine <ageha@airen-no-jikken.icu> | 2023-11-29 21:20:34 -0700 |
---|---|---|
committer | katherine <ageha@airen-no-jikken.icu> | 2023-11-29 21:20:34 -0700 |
commit | f79ef7b8fa4d7cbcdcd2428da49d9f0d31d97e55 (patch) | |
tree | d81b291d34a4910f234c40fcd5bc23c956438b3f /.zshrc-linux-desktop | |
parent | 2f75bcb11099068c30bf9ce6a22860db86457709 (diff) | |
download | dotfiles-f79ef7b8fa4d7cbcdcd2428da49d9f0d31d97e55.tar.gz |
create-pulse-sink function
Diffstat (limited to '.zshrc-linux-desktop')
-rw-r--r-- | .zshrc-linux-desktop | 7 |
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 +} |