Add pomodoro, microbreaks, breathing guide, screen dimming, presentation mode, goals, multi-monitor, and activity manager
This commit is contained in:
@@ -16,6 +16,9 @@
|
||||
let breakColor = $state("#7c6aef");
|
||||
let countdownFont = $state("");
|
||||
let draggable = $state(false);
|
||||
let pomodoroEnabled = $state(false);
|
||||
let pomodoroCyclePosition = $state(0);
|
||||
let pomodoroTotalInCycle = $state(4);
|
||||
|
||||
// Use config store directly for live updates
|
||||
const uiZoom = $derived($config.ui_zoom);
|
||||
@@ -132,6 +135,9 @@
|
||||
timeText = formatTime(snap.timeRemaining);
|
||||
progress = snap.progress;
|
||||
}
|
||||
pomodoroEnabled = snap.pomodoroEnabled;
|
||||
pomodoroCyclePosition = snap.pomodoroCyclePosition;
|
||||
pomodoroTotalInCycle = snap.pomodoroTotalInCycle;
|
||||
}
|
||||
|
||||
// Click opens main window
|
||||
@@ -333,6 +339,12 @@ const fontStyle = $derived(
|
||||
>
|
||||
{timeText}
|
||||
</span>
|
||||
<!-- F3: Pomodoro cycle indicator -->
|
||||
{#if pomodoroEnabled}
|
||||
<span class="ml-1.5 text-[10px] tabular-nums" style="color: #8a8a8a;">
|
||||
{pomodoroCyclePosition + 1}/{pomodoroTotalInCycle}
|
||||
</span>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user