stop all when the soundboard is stopped
This commit is contained in:
@@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
STATE="$HOME/.soundboard"
|
STATE="$HOME/.soundboard"
|
||||||
|
|
||||||
|
exec ./stop_all.sh
|
||||||
|
|
||||||
# 2. Restore default mic BEFORE unloading modules
|
# 2. Restore default mic BEFORE unloading modules
|
||||||
DEFAULT_MIC=$(pactl info | grep "Default Source" | awk '{print $3}')
|
DEFAULT_MIC=$(pactl info | grep "Default Source" | awk '{print $3}')
|
||||||
if [[ -n "$DEFAULT_MIC" ]]; then
|
if [[ -n "$DEFAULT_MIC" ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user