add all the script needed (hopefully this means i dont need to even make anymore commits lol)
This commit is contained in:
10
stop_soundboard.sh
Executable file
10
stop_soundboard.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
STATE="$HOME/.soundboard"
|
||||
|
||||
for f in "$STATE"/*.id; do
|
||||
pactl unload-module "$(cat "$f")" 2>/dev/null || true
|
||||
rm -f "$f"
|
||||
done
|
||||
|
||||
echo "Soundboard stopped."
|
||||
Reference in New Issue
Block a user