diff options
Diffstat (limited to 'desktop/modules/status/StatusTile.qml')
| -rw-r--r-- | desktop/modules/status/StatusTile.qml | 9 |
1 files changed, 8 insertions, 1 deletions
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() } |
