From c365d24ea8e7225efce6abb77a8aa9cd97c84a0d Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 18 Sep 2026 17:26:49 +0200 Subject: feat(status): show the breaktimer countdown on the tile Below every mode in the priority chain, so an active mode still owns the line and breaktimer replaces only the idle 'All clear'. It does not count toward activeCount. A running breaktimer is not a mode the user switched on, and accenting the tile for an ordinary working day would read as a mode stuck on. --- desktop/modules/status/StatusTile.qml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'desktop/modules/status/StatusTile.qml') diff --git a/desktop/modules/status/StatusTile.qml b/desktop/modules/status/StatusTile.qml index ab3a7af..cec18b6 100644 --- a/desktop/modules/status/StatusTile.qml +++ b/desktop/modules/status/StatusTile.qml @@ -17,8 +17,15 @@ Text { elide: Text.ElideRight font { family: Theme.fontFamily; pixelSize: Theme.fontSize - 4 } color: Status.activeCount > 0 ? Theme.text : Theme.subtext + // Breaktimer sits below every mode, so an active mode still owns the line + // and breaktimer replaces only the idle "All clear". A stopped daemon + // falls through to it, which is true: nothing is being tracked. text: Status.presentation ? "Presenting" : Status.dnd ? "Do not disturb" : Status.nolock ? "No lock" - : "All clear" + : !Status.btRunning ? "All clear" + : Status.btPaused ? "Paused" + : (Status.btPhase === "breaking" || Status.btPhase === "longbreak") + ? "Back in " + Status.btCountdown() + : "Break in " + Status.btCountdown() } -- cgit v1.2.3