mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-11 16:14:12 +01:00
The 23:00 lockdown -> 05:00 unlock cycle exposed three live bugs: a visible console-text flash before the screen went black (blank_console only ran once systemctl stop lightdm.service fully returned, leaving a gap), DP-0 needing a manual xrandr/replug after wake, and the morning alarm firing only 6h after a late lockdown entry instead of waiting a full 8h. - Blank the console continuously in a background poller for the whole GUI teardown instead of a single after-the-fact call. - Retry autorandr --change against a saved profile after lightdm restarts. - Stamp lockdown-entry time and gate the alarm on entry + 8h, decoupled from the console/GUI-restore idempotency so it can fire on a later staggered trigger instead of only the first one. - Add DRY_RUN NOTE banners so a clean dry run is never mistaken for proof the console-blank and autorandr fixes work for real (they need a live cycle). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01S4YWZhDcEUMUi8cyw9AzTR |
||
|---|---|---|
| .. | ||
| pacman | ||
| systemd | ||
| virtualbox | ||
| __init__.py | ||
| _focus_mode_lib.py | ||
| .gitignore | ||
| block_compulsive_opening.sh | ||
| focus_mode_daemon.py | ||
| install_focus_mode_daemon.sh | ||
| install_leechblock.sh | ||
| leechblock_defaults.json | ||
| music_parallelism.sh | ||
| package-lock.json | ||
| package.json | ||
| README_COMPULSIVE_BLOCK_LLM.md | ||
| README_MIDNIGHT_SHUTDOWN_LLM.md | ||
| remove_guest_mode.sh | ||
| seed_leechblock_storage.js | ||
| setup_midnight_shutdown.sh | ||
| setup_night_lockdown.sh | ||
| youtube-music-wrapper.sh | ||