Add toglpulse script

This commit is contained in:
mitchell 2022-06-30 16:49:15 -04:00
parent 5e728a1a86
commit d78170562d
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,12 @@
function toglpulse
if test -e ~/.config/pulse/client.conf
rm -rf ~/.config/pulse/client.conf
ssh venator.lan systemctl --user restart pipewire-pulse; or ssh venator.lan nssm restart pulseaudio
rebar
else
pkill -fi easyeffects; or pkill -fi -9 easyeffects
echo "default-server = venator.lan" > ~/.config/pulse/client.conf
systemctl --user stop pipewire pipewire-pulse wireplumber
rebar
end
end

2
scripts/toglpulse Executable file
View File

@ -0,0 +1,2 @@
#!/usr/bin/env fish
toglpulse