mirror of https://github.com/mitchell/dotfiles.git
15 lines
478 B
Fish
15 lines
478 B
Fish
function toglpulse
|
|
killall slack Discord DiscordCanary
|
|
|
|
if test -e ~/.config/pulse/client.conf
|
|
rm -rf ~/.config/pulse/client.conf
|
|
systemctl --user start pipewire.socket
|
|
rebar
|
|
else
|
|
killall easyeffects pavucontrol; or killall -9 easyeffects pavucontrol
|
|
echo "default-server = 192.168.1.155" >~/.config/pulse/client.conf
|
|
systemctl --user stop pipewire.socket pipewire pipewire-pulse wireplumber
|
|
rebar
|
|
end
|
|
end
|