2022-06-30 20:49:15 +00:00
|
|
|
function toglpulse
|
2022-09-23 05:33:26 +00:00
|
|
|
killall slack Discord DiscordCanary
|
|
|
|
|
2022-06-30 20:49:15 +00:00
|
|
|
if test -e ~/.config/pulse/client.conf
|
|
|
|
rm -rf ~/.config/pulse/client.conf
|
2022-09-23 05:33:26 +00:00
|
|
|
ssh -o StrictHostKeyChecking=no venator.lan systemctl --user restart pipewire-pulse
|
|
|
|
or ssh -o StrictHostKeyChecking=no venator.lan nssm restart pulseaudio
|
2022-06-30 20:49:15 +00:00
|
|
|
rebar
|
|
|
|
else
|
2022-09-23 05:33:26 +00:00
|
|
|
killall easyeffects pavucontrol; or killall -9 easyeffects pavucontrol
|
2022-06-30 20:49:15 +00:00
|
|
|
echo "default-server = venator.lan" > ~/.config/pulse/client.conf
|
|
|
|
systemctl --user stop pipewire pipewire-pulse wireplumber
|
|
|
|
rebar
|
|
|
|
end
|
|
|
|
end
|