From d9dc246bed5eb2cfeed02d373c08d2bf68108a60 Mon Sep 17 00:00:00 2001 From: Ratatoskr Date: Wed, 24 Jan 2024 16:13:32 +0100 Subject: [PATCH] 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. --- morning-alarm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/morning-alarm.sh b/morning-alarm.sh index 6523b0f..77b0132 100755 --- a/morning-alarm.sh +++ b/morning-alarm.sh @@ -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