unlock: SXMO_UNLOCK_IDLE_TIME
This allows users (or deviceprofiles) to set this longer. Eink devices, for instance, likely want a longer timeout of 5mins. Signed-off-by: Stacy Harper <contact@stacyharper.net>
This commit is contained in:

committed by
Stacy Harper

parent
c0b0cf25ca
commit
70be22c9ea
@@ -22,7 +22,7 @@ echo 16000 > "$NETWORKRTCSCAN"
|
||||
# Start a periodic daemon (10s) "try to go to lock" after 120 seconds
|
||||
# Resume tasks stop daemons
|
||||
sxmo_daemons.sh start idle_locker sxmo_idle.sh -w \
|
||||
timeout 120 'sxmo_daemons.sh start periodic_deeper sxmo_run_periodically.sh 10 sxmo_screenlock_deeper.sh --idle' \
|
||||
timeout "${SXMO_UNLOCK_IDLE_TIME:-120}" 'sxmo_daemons.sh start periodic_deeper sxmo_run_periodically.sh 10 sxmo_screenlock_deeper.sh --idle' \
|
||||
resume 'sxmo_daemons.sh stop periodic_deeper'
|
||||
|
||||
sxmo_daemons.sh signal desktop_widget -12
|
||||
|
Reference in New Issue
Block a user