~anjan/sxmo-userscripts

ref: b50d4c3e8da7a19c26752ce8468e07ce613d0cc2 sxmo-userscripts/alarm.sh -rwxr-xr-x 329 bytes
b50d4c3eStacy Harper Add musicpd user script 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /bin/sh

# To use: edit $ALARM_FILE variable
# Use cron to set your alarm!
# ie: 0 12 * * WED sh ~/.config/sxmo/userscripts/alarm.sh 

ALARM_FILE="/home/anjan/.config/sxmo/userscripts/alarm.mp4"

source /usr/bin/sxmo_vol.sh

sxmo_audioout.sh Speaker
setvol 100

mpv --no-resume-playback --loop-file=inf --vid=no "$ALARM_FILE"