mirror of
https://github.com/kuhyx/wake-alarm.git
synced 2026-07-04 15:23:03 +02:00
- Drop overrideredirect on the dismiss UI: on X11 it bypassed the WM and silently killed keyboard focus on the Entry, so the user could not type the dismiss code. -fullscreen + -topmost still cover the whole screen. - Add _max_sink_volume() / _restore_sink_volume(): unmute the default PulseAudio/PipeWire sink and raise it to 100% at alarm start, restore the original volume + mute state on dismiss. This is the biggest audio lever — pcspkr is hardware-fixed and was already maxed. - pcspkr: 3 back-to-back 1.5s beeps per cycle (was 1x 0.8s) at near-S16 max amplitude. - Fans script: control every NCT pwm[1-9] channel, persist per-channel pre-alarm state to /run/wake-alarm-fans.state so restore needs no args. - Tests: 100% branch coverage on python_pkg/wake_alarm/ (140 passed). |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_alarm_part2.py | ||
| test_alarm.py | ||
| test_smart_plug.py | ||
| test_state.py | ||