From 7c4c6f1d1678fea4ee3b8e0eda54c489050e00bf Mon Sep 17 00:00:00 2001 From: Saumit Dinesan Date: Mon, 11 Dec 2023 20:15:08 +0530 Subject: .scripts: bts - replacing pulseaudio with pipewire --- .scripts/bts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to '.scripts/bts') diff --git a/.scripts/bts b/.scripts/bts index 425e980..0a1fb80 100755 --- a/.scripts/bts +++ b/.scripts/bts @@ -41,7 +41,6 @@ case $option in pactl set-card-profile $cardindex handsfree_head_unit notify-send "Switched card profile from $past_profile to $profile" -i audio-headset;; esac;; - "Reset pulseaudio") - ##check for a2dp sink not found error in status command - pulseaudio --kill && pulseaudio --cleanup-shm && pulseaudio --start;; + "Reset pipewire") + systemctl --user restart wireplumber pipewire pipewire-pulse esac -- cgit v1.2.3