Device Profile: Make vibration strength configurable

Fixes vibration on OnePlus 6

Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
This commit is contained in:
Zach DeCook
2023-07-29 10:56:22 -04:00
committed by Willow Barraco
parent 228b936f08
commit 3a70be4fd7
8 changed files with 12 additions and 9 deletions

View File

@@ -22,7 +22,7 @@ timerrun() {
while : ;
do notify-send "Done with $*";
sxmo_vibrate 1000
sxmo_vibrate 1000 "${SXMO_VIBRATE_STRENGTH:-1}"
sleep 0.5
done
}