feat(bar): timezone line in the clock tooltip (LATER item)
All checks were successful
Check / eval (push) Successful in 3m3s

Hovering the clock now leads with the zone — "{:%Z (UTC%z)}" above the
calendar — on the generated bar and both summer whole-swaps (parity).
Under auto-timezone the existing tz-watch SIGUSR2 reload keeps it
showing the currently detected zone. %Z is the abbreviation (BST), not
the IANA name — strftime has no code for that, and it satisfies the
"(optional)" nicety.

Verified: V0; V1 — the rendered generated config carries the new
tooltip-format and both summer jsonc parse with it. Hover render
queued for hardware.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Bernardo Magri
2026-07-05 21:56:44 +01:00
parent 808a3febdd
commit 01ee847490
6 changed files with 26 additions and 4 deletions

View File

@@ -234,7 +234,6 @@ them as composable commands, not dead ends.
- **Night-light geo mode**: lat/long auto sunset/sunrise (means wlsunset). - **Night-light geo mode**: lat/long auto sunset/sunrise (means wlsunset).
- **Per-theme icon overrides** / more icon packs (ROADMAP § Icon themes). - **Per-theme icon overrides** / more icon packs (ROADMAP § Icon themes).
- **MIPI/IPU software-ISP camera** support (no-UVC machines). - **MIPI/IPU software-ISP camera** support (no-UVC machines).
- **Auto-timezone Waybar tooltip** showing the detected zone (optional).
- **VPN exit-node richer display** (country/city) (optional). - **VPN exit-node richer display** (country/city) (optional).
- **NixOS release bump → v2** `[human]`: deliberate, hand-edited, never - **NixOS release bump → v2** `[human]`: deliberate, hand-edited, never
automated; the previous attempt was discarded (2026-06-22) over a automated; the previous attempt was discarded (2026-06-22) over a

View File

@@ -167,6 +167,10 @@ QA machine), the **T14s** (webcam case).
(tooltips, fastfetch labels) is visible on summer-day + (tooltips, fastfetch labels) is visible on summer-day +
flexoki-light, kanagawa floats are lighter than the bg (upstream flexoki-light, kanagawa floats are lighter than the bg (upstream
sumiInk4). Anything that reads worse than before → reopen 28b. sumiInk4). Anything that reads worse than before → reopen 28b.
- [ ] **Clock zone tooltip (LATER item)** — hover the bar clock: the
tooltip's first line shows the zone ("BST (UTC+0100)") above the
calendar, on the generated AND summer bars; with auto-timezone
on, a zone change updates it (the SIGUSR2 reload).
- [ ] **Doctor bar tripwire (LATER item)** — with everything healthy - [ ] **Doctor bar tripwire (LATER item)** — with everything healthy
the bar shows nothing; `systemctl --user start doomed`-style the bar shows nothing; `systemctl --user start doomed`-style
induced failure → within ~5 min a red appears (tooltip lists induced failure → within ~5 min a red appears (tooltip lists

View File

@@ -17,6 +17,23 @@ Template:
--- ---
## 2026-07-05 — clock zone tooltip (iteration #43, LATER item)
- **Task:** LATER auto-timezone Waybar tooltip. Bullet deleted.
- **Did:** the clock tooltip's first line is now the zone —
`{:%Z (UTC%z)}` above the calendar — in the generated bar AND both
summer whole-swaps (parity). Under auto-timezone the existing
tz-watch SIGUSR2 reload keeps it current, so it shows the detected
zone live. (%Z abbreviation, not the IANA name — strftime has no
code for that; good enough for an "(optional)" nicety.)
- **Verified:** V0; V1 — rendered generated config carries the new
tooltip-format; both summer jsonc parse (jq) with %Z present.
Hover render → V3 queued.
- **Pending:** V3. LATER now holds only deferred/big/hw/human items.
- **Next suggestion:** a QA sweep, or stop-and-wait — the queue is
effectively drained for unattended work; meaty LATER items
(wallpapers split is *deferred by decision*, installer round 2
[big]) deserve Bernardo's go-ahead or a fresh session.
## 2026-07-05 — doctor bar tripwire (iteration #42, LATER item) ## 2026-07-05 — doctor bar tripwire (iteration #42, LATER item)
- **Task:** LATER doctor Waybar warning. Bullet deleted. - **Task:** LATER doctor Waybar warning. Bullet deleted.
- **Did:** nomarchy-doctor-status (named bin, PATH): silent exit 0 - **Did:** nomarchy-doctor-status (named bin, PATH): silent exit 0

View File

@@ -150,7 +150,9 @@ let
clock = { clock = {
format = "{:%H:%M}"; format = "{:%H:%M}";
format-alt = "{:%A %d %B %Y}"; format-alt = "{:%A %d %B %Y}";
tooltip-format = "<tt><small>{calendar}</small></tt>"; # Zone line first (LATER nicety): under auto-timezone the tz-watch
# SIGUSR2 reload keeps it showing the currently *detected* zone.
tooltip-format = "{:%Z (UTC%z)}\n<tt><small>{calendar}</small></tt>";
}; };
# Active keyboard layout (per focused device) — only placed in # Active keyboard layout (per focused device) — only placed in

View File

@@ -70,7 +70,7 @@
"clock": { "clock": {
"format": " {:%H:%M}", "format": " {:%H:%M}",
"tooltip": true, "tooltip": true,
"tooltip-format": "<tt><small>{calendar}</small></tt>" "tooltip-format": "{:%Z (UTC%z)}\n<tt><small>{calendar}</small></tt>"
}, },
"clock#date": { "clock#date": {

View File

@@ -69,7 +69,7 @@
"clock": { "clock": {
"format": " {:%H:%M}", "format": " {:%H:%M}",
"tooltip": true, "tooltip": true,
"tooltip-format": "<tt><small>{calendar}</small></tt>" "tooltip-format": "{:%Z (UTC%z)}\n<tt><small>{calendar}</small></tt>"
}, },
"clock#date": { "clock#date": {