Add heartbeat.sh that tracks session active time using three native tmux signals: client input (+5), window output (+2), and copy mode (+2), with -1 decay per tick. Score drives a block bar indicator and accumulated active time counter. Resets on tmux server restart. Status bar updates: - Heartbeat pill with pressure bar right of clock - Responsive breakpoints: hide network/battery <120 cols, date <80 - Click clock/date to toggle condensed view - Click heartbeat to instant-lock session - Static colon in clock (replaces shell-based blinker) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
3.4 KiB
Executable File
3.4 KiB
Executable File