dotfiles/.config/fish/functions/toglpulse.fish
mitchell 503fb8bff6 Make bspwm work with vnc displays; and general updates/cleanups
- Set fish colors to more gruvbox accurate theme
- Fix nvim transparency
- Remove conky, qutebrowser, and taskrc configs
- Update fish greeting
- Update toglpulse script
2024-06-30 18:41:49 -04:00

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