Compare commits
3 Commits
091d1e8d2b
...
d68beee2b8
| Author | SHA1 | Date | |
|---|---|---|---|
| d68beee2b8 | |||
| d9dc246bed | |||
| 8b38398164 |
@ -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
|
||||
|
||||
@ -235,7 +235,7 @@ if [ $current_brightness -eq $end_brightness ] && [ $current_colortemp -eq $end_
|
||||
if [ "$SSH_EXECUTED" = false ]; then
|
||||
if [ "$DEBUG" = true ]; then
|
||||
echo "DEBUG: Alternative ssh command."
|
||||
ssh_command "cmd media_session volume --set 5 --stream 9 && /data/data/com.termux/files/usr/bin/mpv /product/media/audio/alarms/your-new-morning-alarm.ogg"
|
||||
ssh_command "cmd media_session volume scripts/--set 5 --stream 9 && /data/data/com.termux/files/usr/bin/mpv /data/scripts/your-new-morning-alarm.ogg"
|
||||
else
|
||||
ssh_command "/data/scripts/morning-alarm.sh > /dev/null"
|
||||
fi
|
||||
|
||||
BIN
your-new-morning-alarm.ogg
Normal file
BIN
your-new-morning-alarm.ogg
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user