diff options
author | Christian Soffke <christian.soffke@gmail.com> | 2024-05-11 18:18:51 +0200 |
---|---|---|
committer | Christian Soffke <christian.soffke@gmail.com> | 2024-05-13 18:06:55 +0200 |
commit | f631bfe5b4fb78d676a37583bb4aa8f3d2e3bf1b (patch) | |
tree | 64aa20ca87b55cb7bc5e5ce0fb3ace256dfae552 /manual/main_menu | |
parent | b8b4fdd999178d6292cb6fef97ad3484a1a2dcef (diff) | |
download | rockbox-f631bfe5b4fb78d676a37583bb4aa8f3d2e3bf1b.tar.gz rockbox-f631bfe5b4fb78d676a37583bb4aa8f3d2e3bf1b.zip |
shortcuts: sleep timer: allow omitting number of minutes
'sleep' can now appear in the data field of a 'time' shortcut
without being followed by a number, allowing you to stop a
running timer, or to start a new one using the default sleep
timer duration (the duration setting can already be added to
the Shortcuts menu as well).
Also see here:
https://forums.rockbox.org/index.php/topic,54312.msg250940.html
Change-Id: I9d0e62ef1b6187c35133067349729a4d94273c7a
Diffstat (limited to 'manual/main_menu')
-rw-r--r-- | manual/main_menu/main.tex | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/manual/main_menu/main.tex b/manual/main_menu/main.tex index fced43ab98..92ff26b2ec 100644 --- a/manual/main_menu/main.tex +++ b/manual/main_menu/main.tex | |||
@@ -325,8 +325,10 @@ Available types are: | |||
325 | \item[separator] \config{data} is ignored; \config{name} can be used to display text, | 325 | \item[separator] \config{data} is ignored; \config{name} can be used to display text, |
326 | or left blank to make the list more accessible with visual gaps | 326 | or left blank to make the list more accessible with visual gaps |
327 | \item[time] \config{data} needs to be \opt{rtc}{either ``talk'' to talk the time, or }``sleep X'' | 327 | \item[time] \config{data} needs to be \opt{rtc}{either ``talk'' to talk the time, or }``sleep X'' |
328 | where X is the number of minutes to run the sleep timer for (0 to disable). \config{name} | 328 | where X can, optionally, be the number of minutes to run the sleep timer for (0 to disable). |
329 | is required for this shortcut type. | 329 | If ``sleep'' is not followed by a number, the sleep timer can be stopped, if running, |
330 | or started using the default duration; \config{name} will be ignored in that case. Otherwise | ||
331 | \config{name} is required for this shortcut type. | ||
330 | \item[shutdown] \config{data} is ignored; \config{name} can be used to display text | 332 | \item[shutdown] \config{data} is ignored; \config{name} can be used to display text |
331 | \end{description} | 333 | \end{description} |
332 | 334 | ||