dotfiles/home/default/scripts/restart-audio

13 lines
326 B
Plaintext
Raw Normal View History

2023-10-16 09:24:46 -04:00
#!/usr/bin/env bash
set -euo pipefail
echo stopping pipewire-media-session...
systemctl --user stop pipewire-media-session
echo stopping pipewire...
systemctl --user stop pipewire
echo starting pipewire...
systemctl --user start pipewire
echo starting pipewire-media-session...
systemctl --user start pipewire-media-session