testsAndMisc/linux_configuration
Krzysztof kuhy Rudnicki 135ef0c62d phone_focus_mode: add persistent home-mode status notification
- New companion Android app (com.kuhy.focusstatus) under
  phone_focus_mode/focus_status_app/ with a pure-Java, Gradle-less
  command-line build pipeline (build.sh). Shows an ongoing
  notification titled 'Focus: HOME / AWAY / DAEMON DOWN' with
  distance, GPS, disabled-app count, last check, daemon checkmarks,
  and a 'Re-check now' action button.
- focus_daemon.sh: write_status_snapshot() + sleep_with_recheck()
  for JSON status + early-wake on trigger file. init() chmods
  STATE_DIR 777 so the app can drop the trigger file.
- config.sh: new STATUS_FILE / RECHECK_TRIGGER; WHITELIST expanded
  with com.kuhy.focusstatus and 11 more user-requested apps
  (podcini X, mpv, bible/openbible, pkp/portalpasazera, orange,
  runnerup, splitbills/splitwise, xiaomi smarthome).
- focus_ctl.sh: new 'recheck' + 'notif-status' subcommands.
- deploy.sh: new step [7/7] builds APK, installs, grants
  POST_NOTIFICATIONS, pre-approves Magisk SU policy, launches
  foreground service.
- .gitignore: exclude focus_status_app/build symlink + debug.keystore.

End-to-end verified on device: notification live with real values;
Re-check button triggers a daemon location check within ~1s.
2026-04-20 15:33:46 +02:00
..
.githooks feat: great beautiful fixes 2026-02-20 01:17:53 +01:00
.github feat: great beautiful fixes 2026-02-20 01:17:53 +01:00
docs feat: great beautiful fixes 2026-02-20 01:17:53 +01:00
fresh-install feat: great beautiful fixes 2026-02-20 01:17:53 +01:00
hosts phone_focus_mode: add persistent home-mode status notification 2026-04-20 15:33:46 +02:00
i3-configuration feat: screen replay feature 2026-03-09 18:52:48 +01:00
LaTeX feat: added run sh and makefile scripts 2026-02-22 22:00:50 +01:00
report feat: great beautiful fixes 2026-02-20 01:17:53 +01:00
scripts Add tests and fix pre-commit issues across all projects 2026-04-12 20:45:24 +02:00
tests Add 'linux_configuration/' from commit '0762e3d07b90bac9256eb272de10bf9f42878094' 2026-02-06 21:43:26 +01:00
.gitignore feat: great beautiful fixes 2026-02-20 01:17:53 +01:00
test_results.log Add 'linux_configuration/' from commit '0762e3d07b90bac9256eb272de10bf9f42878094' 2026-02-06 21:43:26 +01:00