ordered into /lib

put all subscripts into lib for readability
This commit is contained in:
2026-07-14 16:56:28 +02:00
parent 925c624351
commit 20781c9d90
11 changed files with 6 additions and 20 deletions

13
lib/speaker.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
function SPEAKER(){
local OUT_FILE=$1
audacious ./stereo_test.mp3 >/dev/null 2>&1 & disown
read -p "Funktioniert Sound? Audacios öffnet sich - (y/n): " answer
if [[ "$answer" == [Yy] ]]; then
echo -e "Speaker:\t Ja" >>"$OUT_FILE"
else
echo -e "Speaker:\t Nein" >>"$OUT_FILE"
fi
}