Update morning-alarm.sh script

Modify the morning-alarm.sh script to enhance clarity and maintainability. The changes involve updating the path for the mpv command to use '/data/scripts/your-new-morning-alarm.ogg' instead of the previous path '/product/media/audio/alarms/your-new-morning-alarm.ogg'. This adjustment ensures consistency with other script paths and makes it easier to locate the alarm sound file.

Changes made:
- Update the path for the mpv command to '/data/scripts/your-new-morning-alarm.ogg'

This modification simplifies the script and aligns it with the path used in other related scripts, improving overall script coherence.
This commit is contained in:
Ratatoskr 2024-01-24 16:13:32 +01:00
parent 8b38398164
commit d9dc246bed
Signed by: Ratatoskr
GPG Key ID: 28B77439A6D78F4E

View File

@ -40,7 +40,7 @@ check_notification() {
turn_off_bluetooth
# Weckersound abspielen
/data/data/com.termux/files/usr/bin/mpv --replaygain=track --loop=inf /product/media/audio/alarms/your-new-morning-alarm.ogg &
/data/data/com.termux/files/usr/bin/mpv --replaygain=track --loop=inf /data/scripts/your-new-morning-alarm.ogg &
# Lautstärke erhöhen und Benachrichtigung überprüfen
while true; do