By 5pm my eyes used to feel like sandpaper.

The fix is famously boring: every 20 minutes, look at something about 20 feet (6 m) away for 20 seconds. It lets the focusing muscles in your eyes relax. The hard part isn't the rule. It's remembering it, and following it without being yanked out of whatever you're in the middle of.

The nicest app I found for this was LookAway. It's beautifully done, but it's Mac-only and paid, and I spend most of my day on Windows. So I built a free, open-source, cross-platform one: Yonder.

Yonder: a heads-up card counts down, a small countdown follows the cursor, then the desktop blurs into the break screen

What makes a break reminder annoying

Before writing any code, I listed what made me turn other break apps off:

  1. Breaks that land mid-sentence. Nothing kills a habit faster than a full-screen overlay while you're typing.
  2. No warning. You need a few seconds to finish a thought.
  3. Breaks during calls and presentations. Instant uninstall.
  4. Feeling punished. A break screen should feel like a breather, not an error dialog.

So Yonder:

  • shows a heads-up card before each break, with start now / +1m / +5m / +15m;
  • shows a small countdown that follows your cursor for the last five seconds;
  • waits while you're typing, for up to 30 seconds;
  • holds breaks while your mic or camera is in use, during fullscreen apps (Windows for now), or while apps you choose are open;
  • counts time away from the computer as a break, so you don't get one the moment you sit back down;
  • and the break itself blurs your actual desktop behind a calm countdown, then sharpens it back.

Why Tauri instead of Electron

A break reminder runs all day, every day, in the background. Bundling an entire browser for that felt wrong.

Tauri uses the operating system's own webview (WebView2 on Windows, WebKit on macOS and Linux) with a Rust core. The result:

  • the Windows installer is 1.3 MB, and the universal macOS .dmg is 3.6 MB;
  • the UI is plain HTML, CSS and JavaScript, with no framework and no bundler;
  • windows only exist while they're on screen. Between breaks Yonder is a tray icon and one sleeping thread.

The scheduler is a state machine

The core of Yonder is a single function that runs once a second:

pub fn tick(&mut self, idle_secs: u64, smart_pause: Option<String>) -> Vec<Effect> { // ...count active screen time, handle idle and smart pause... if self.settings.prebreak_enabled && !self.e.prebreak_shown && self.e.work_secs + lead >= interval { self.e.prebreak_shown = true; fx.push(Effect::ShowPrebreak); } if self.e.work_secs >= interval { if self.settings.wait_while_typing && idle_secs < 2 && self.e.typing_wait < 30 { self.e.typing_wait += 1; // still typing: wait politely } else { self.start_scheduled_break(&mut fx); } } fx } 

The important part: it never touches a window. It returns a list of Effects (ShowPrebreak, StartBreak, EndBreak, ShowReminders, Lock…), and a thin layer applies them. That keeps the logic easy to reason about and easy to test, which is also an open good-first-issue if you want to help.

Making the break feel smooth

The effect I'm proudest of is the blurred-desktop break, and it's surprisingly simple:

  1. Just before the break, take a screenshot of each monitor.
  2. Open a borderless, transparent window on each display. Since it's transparent, the first frame looks exactly like your desktop.
  3. Put the screenshot in it and animate a CSS filter: blur() from 0 to 42px. Your desktop appears to melt in place.
  4. At the end, animate the blur back to 0 and cross-fade the whole window out, so the hand-off to the real desktop has no visible jump.

The odometer-style countdown is just one column of digits per position, translated with a springy cubic-bezier.

Knowing when you're busy, without heavy dependencies

The OS integrations stay deliberately small:

  • Idle time: GetLastInputInfo on Windows, CGEventSourceSecondsSinceLastEventType on macOS, and xprintidle or GNOME's idle monitor on Linux.
  • In a call: Windows records which apps are using the microphone or camera in the registry (CapabilityAccessManager). If an entry has a start time but no stop time, something is recording.
  • Fullscreen: SHQueryUserNotificationState, plus a check that the foreground app is a browser or video player, because borderless maximized terminals also report as "busy". I found that one when Yonder refused to give me a break.

Even the tray icon has no image files. It's a 16-unit vector glyph rasterized at runtime with 4×4 supersampling, so it re-tints black or white when you switch the Windows taskbar theme.

Try it

  • macOS: brew tap rmoura98/yonder https://github.com/RMoura98/yonder && brew install --cask yonder
  • Windows and Linux: installers on the releases page

It's MIT licensed, with no account and no telemetry. Builds aren't code-signed yet, so Windows SmartScreen will ask you to confirm ("More info → Run anyway").

Help wanted

This is the first release, and there's plenty left to build:

If you try it, I'd love to hear how it goes, especially on Linux and multiple monitors. And if it saves your eyes a little, a ⭐ on GitHub helps other people find it.

Now go look at something far away. 👀