summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2023-12-11 20:15:08 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2023-12-11 20:15:08 +0530
commit7c4c6f1d1678fea4ee3b8e0eda54c489050e00bf (patch)
treecdd77ed5f4b6c5b38bfd8a9c3f882bf8ad082b78
parent7e65721557fe30ac54ff5b9e06e5feaf40c29351 (diff)
.scripts: bts - replacing pulseaudio with pipewire
-rwxr-xr-x.scripts/bts5
1 files changed, 2 insertions, 3 deletions
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