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:
parent
8b38398164
commit
d9dc246bed
@ -40,7 +40,7 @@ check_notification() {
|
|||||||
turn_off_bluetooth
|
turn_off_bluetooth
|
||||||
|
|
||||||
# Weckersound abspielen
|
# 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
|
# Lautstärke erhöhen und Benachrichtigung überprüfen
|
||||||
while true; do
|
while true; do
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user