mirror of https://github.com/mitchell/dotfiles.git
Add toglpulse script
This commit is contained in:
parent
5e728a1a86
commit
d78170562d
|
@ -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
|
|
@ -0,0 +1,2 @@
|
|||
#!/usr/bin/env fish
|
||||
toglpulse
|
Loading…
Reference in New Issue