testsAndMisc/linux_configuration/i3blocks
Krzysztof kuhy Rudnicki 2713ae9d66
Some checks are pending
dependency freshness / dependencies on newest stable (push) Waiting to run
md-naming / markdown naming convention (push) Waiting to run
Pre-commit checks / pre-commit (push) Waiting to run
Shell tests / shell-tests (push) Waiting to run
Shell tests / arch-tests (push) Waiting to run
Put the screen-locker status back on the i3 bar
The GTK tray icon was the only status surface, and it had been commented out
of ~/.config/i3/config since 2026-08-21. With nothing in the bar, the locker
miscounted the week for a fortnight and the machine never said so.

Shows "<count>/<minimum> · <gaming budget>", read from the local status API
(screen-locker-web.service on 127.0.0.1:8770); clicking opens the full UI.

Three things it deliberately will not do quietly:
- a dead status server renders "status server down" in red, or the last known
  value marked (stale) in orange -- never a blank block. That server is what
  the gaming budget reads, so its absence costs two hours;
- a disarmed or unscheduled timer overrides the compliance colour entirely
  and shows "DISARMED" in red. A locker that cannot fire is the worse
  problem and the one that hides;
- clicking only opens the UI. There is no bar action that can clear a lock.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Fcwu78wk17FWMHbbfbyicc
2026-08-29 22:55:24 +02:00
..
claude_usage.sh Flatten i3-configuration and misc/testsAndMisc-bash 2026-08-23 19:02:18 +02:00
config Put the screen-locker status back on the i3 bar 2026-08-29 22:55:24 +02:00
cpu_monitor.sh Flatten i3-configuration and misc/testsAndMisc-bash 2026-08-23 19:02:18 +02:00
disk.sh Flatten i3-configuration and misc/testsAndMisc-bash 2026-08-23 19:02:18 +02:00
ethernet.sh Flatten i3-configuration and misc/testsAndMisc-bash 2026-08-23 19:02:18 +02:00
gpu_monitor.sh Flatten i3-configuration and misc/testsAndMisc-bash 2026-08-23 19:02:18 +02:00
memory.sh Flatten i3-configuration and misc/testsAndMisc-bash 2026-08-23 19:02:18 +02:00
motherboard_temp.sh Flatten i3-configuration and misc/testsAndMisc-bash 2026-08-23 19:02:18 +02:00
pc_startup_status.sh Flatten i3-configuration and misc/testsAndMisc-bash 2026-08-23 19:02:18 +02:00
persist_common.sh Flatten i3-configuration and misc/testsAndMisc-bash 2026-08-23 19:02:18 +02:00
screen_locker.sh Put the screen-locker status back on the i3 bar 2026-08-29 22:55:24 +02:00
shutdown_countdown.sh Flatten i3-configuration and misc/testsAndMisc-bash 2026-08-23 19:02:18 +02:00
time.sh Flatten i3-configuration and misc/testsAndMisc-bash 2026-08-23 19:02:18 +02:00
volume.sh Flatten i3-configuration and misc/testsAndMisc-bash 2026-08-23 19:02:18 +02:00