sxmo_hook_sms.sh: vibrate while noising

This commit is contained in:
Willow Barraco
2023-12-27 12:06:42 +01:00
parent b62eda14d6
commit eaa596816f

View File

@@ -20,11 +20,13 @@
if ! sxmo_modemcall.sh list_active_calls | grep -q active; then
if [ ! -f "$XDG_CONFIG_HOME"/sxmo/.noring ]; then
mpv --no-resume-playback --quiet --no-video "$SXMO_TEXTSOUND" >> /dev/null 2>&1
mpv --no-resume-playback --quiet --no-video "$SXMO_TEXTSOUND" >> /dev/null 2>&1 &
fi
if [ ! -f "$XDG_CONFIG_HOME"/sxmo/.novibrate ]; then
sxmo_vibrate 500 "${SXMO_VIBRATE_STRENGTH:-1}"
sxmo_vibrate 500 "${SXMO_VIBRATE_STRENGTH:-1}" &
fi
wait
fi