~anjan/sxmo-userscripts

ref: 0541bd1d23e30cac3b71f06b65994675bde9a00c sxmo-userscripts/alarm.sh -rwxr-xr-x 329 bytes
0541bd1dBaroque0 improved my_photos.sh with a thumbnails view (in practice two separate windows, one for the thumbnails and one for the picture.). also enforced that rotation, using < and > be automatically saved in place of original image. (requires libjpeg-turbo-tools for jpegtran) 4 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"