You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

6 lines
310 B

#!/usr/bin/env sh
# This script is executed when sxmo_batterymonitor detects a battery capacity below the set threshold
# You can use it to shutdown, play a notification sound, send a message, etc
mpv --no-video /usr/share/sxmo/notify.ogg >/dev/null && notify-send \"battery low\" && sxmo_vibratepine 1500 &