Add alarm support to quick timer
Extends the quick settings timer/chrono module with recurring alarms, alarm persistence, notification handling, and light blinking on alerts. Updates the system clock settings UI, README, hash config, and screenshots to match the new alarm flow.
3
.gitignore
vendored
@@ -7,3 +7,6 @@ DOC.md
|
||||
NOTIFICATION.md
|
||||
SLEEP.md
|
||||
mods.png
|
||||
SETTINGS.md
|
||||
SAVE.md
|
||||
LIGHT.md
|
||||
|
||||
18
README.md
@@ -92,13 +92,19 @@ Use [quicksettings-clock-serif](https://github.com/rmitchellscott) by rmitchells
|
||||
|
||||
### `quickSettingsTimer.qmd`
|
||||
<!-- [](https://vellum.delivery/#/package/quicksettings-timer/) -->
|
||||
- Adds a countdown timer and stopwatch to the Quick Settings panel, under the light slider.
|
||||
- Switch between Timer (presets: 1min, 5min, 10min, 30min, 1h) and Chrono (start/stop) modes.
|
||||
- Preset buttons respect the add/set mode toggle : <img src="images/plus.svg" width="20" height="20"> increments, <img src="images/plus_circle.svg" width="20" height="20"> replaces.
|
||||
- Notification bar shows "Time's up! (duration)" when the timer finishes.
|
||||
- Adds a countdown timer, stopwatch, and alarm system to the Quick Settings panel, under the light slider.
|
||||
- Timer: presets: 1min, 5min, 10min, 30min, 1h; add/set mode toggle (<img src="images/plus.svg" width="20" height="20"> increments, <img src="images/plus_circle.svg" width="20" height="20"> replaces), start/stop/reset controls.
|
||||
- Chrono: start/stop with lap-style elapsed time display.
|
||||
- Alarm: configure recurring alarms in the system clock settings menu with a time picker (hour/minute spinners), quick-off buttons (00/15/30/45, +15/+30/+45), and a "Now" button. Each alarm has an enable/disable toggle and a delete button.
|
||||
- Flash light toggle in the alarm settings page: when enabled, the reading light blinks 3 times when the timer finishes or an alarm triggers.
|
||||
- Persistence: alarms and the flash light toggle are saved to `file:///home/root/alarms.json` on changes and auto-loaded on startup.
|
||||
- Notification bar: shows "Time's up! (duration)" when the timer finishes, or "Alarm at HH:MM" when an alarm triggers. Timer offers Restart/+1min/+5min buttons; alarm offers a Dismiss button.
|
||||
- Quick access: an "Add alarms" button in Quick Settings opens the system clock alarm management page directly.
|
||||
- Setting page: Go to `Settings > Help > System Time` to manage alarms and the flash light toggle.
|
||||
|
||||
<img src="images/quickSettingsTimer_1.png" width="300"> <img src="images/quickSettingsTimer_2.png" width="300">
|
||||
<img src="images/quickSettingsTimer_3.png" width="600">
|
||||
<img src="images/quickSettingsTimer_1.png" width="200"><img src="images/quickSettingsTimer_2.png" width="200"><img src="images/quickSettingsTimer_3.png" width="200">
|
||||
<img src="images/quickSettingsTimer_4.png" width="600">
|
||||
<img src="images/quickSettingsTimer_5.png" width="600">
|
||||
|
||||
**Available for:** `3.24.0.149`, `3.25.1.1`, `3.26.0.68`, `3.27.1.0`, `3.27.3.0`
|
||||
|
||||
|
||||
2
hash.sh
@@ -2,7 +2,7 @@
|
||||
|
||||
# Configuration
|
||||
QMLDIFF="./qmldiff"
|
||||
HASHTAB="hashtab_3.23"
|
||||
HASHTAB="hashtabs/hashtab_3.26.0.68"
|
||||
|
||||
# Usage
|
||||
if [ $# -lt 1 ]; then
|
||||
|
||||
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 17 KiB |
BIN
images/quickSettingsTimer_4.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
images/quickSettingsTimer_5.png
Normal file
|
After Width: | Height: | Size: 176 KiB |