From 53f75f6e1b20d705c9271bc32eea9f21bedaf6c1 Mon Sep 17 00:00:00 2001 From: Bernardo Magri Date: Sat, 11 Jul 2026 09:41:34 +0100 Subject: [PATCH] polish(nightlight): geo-mode tooltip says it follows the location MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "Warm on schedule" was wrong in geo mode — the schedule is computed from lat/long. Tooltip now reads "follows your location" when geo is active. Verification: V1 — rode the same flake check + template-home build as the exit-node commit. Co-Authored-By: Claude Fable 5 --- modules/home/nightlight.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/home/nightlight.nix b/modules/home/nightlight.nix index 83794ba..3599db6 100644 --- a/modules/home/nightlight.nix +++ b/modules/home/nightlight.nix @@ -54,7 +54,7 @@ let # Waybar (polls every 3s): moon while running; print nothing otherwise so # the module self-hides — enable / re-enable from the System menu. systemctl --user is-active --quiet "$unit" \ - && printf '{"text":"󰖔","tooltip":"Night light on — warm on schedule (click to disable)","class":"on"}\n' + && printf '{"text":"󰖔","tooltip":"Night light on — ${if geo then "follows your location" else "warm on schedule"} (click to disable)","class":"on"}\n' exit 0 ;; on) if installed; then write_on true; start; else install_feature; start; fi ;;