aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--todo.org7
1 files changed, 7 insertions, 0 deletions
diff --git a/todo.org b/todo.org
index dafed61..8ce7266 100644
--- a/todo.org
+++ b/todo.org
@@ -149,6 +149,13 @@ Spec ready (2026-06-19): [[file:working/collapsible-waybar-sides/collapsible-way
Decisions locked: right base set = date + worldclock + tray; left base set = menu + workspaces; per-side independent; host-agnostic (base set constant, full set is each host's existing config). Mechanism = config-swap + SIGUSR2 reload via an active-config copy in =$XDG_RUNTIME_DIR= (the CSS/state-file approach was disproven — GTK3 can't reflow-hide native modules). Lives in =~/.dotfiles/hyprland/=. Next: implement per the spec (TDD the toggle + arrow scripts).
+** TODO [#B] Sysmon module left-click cycles the visible metric :feature:waybar:
+Builds on the just-shipped =custom/sysmon= collapse (dotfiles be7469b). Left-clicking the module rotates which metric is the visible one, in a fixed order: battery → cpu → temp → mem → disk → back to battery. Each click advances one step and wraps around. The host default (battery on a laptop, disk on a desktop) is the starting/reset metric; the tooltip keeps showing all metrics regardless.
+
+Implementation notes: =waybar-sysmon= needs a persisted selection (a state file in =$XDG_RUNTIME_DIR/waybar/=, absent = host default) that it reads to pick the visible metric. A new =sysmon-cycle= helper bumps the index and signals the module to refresh (add a =signal= to =custom/sysmon=, like the other custom modules). TDD both — extend =tests/waybar-sysmon= for selection-driven output, add a =tests/sysmon-cycle= for the index advance/wrap and the signal.
+
+Open decision (Craig): left-click is currently =pypr toggle monitor= (opens the btop popup). Repurposing it for the cycle means that action moves — right-click, middle-click, or a modifier+click. Pick before building.
+
** TODO [#B] Network-manager dropdown, nmcli-backed with GPG-stored secrets :waybar:network:
:PROPERTIES:
:LAST_REVIEWED: 2026-06-09