taskbar-focus 0.6.0

A tiny Pomodoro/focus timer that lives in the Windows tray and toggles Do Not Disturb
taskbar-focus-0.6.0 is not a library.

Taskbar Focus

Crates.io CI License: MIT Rust: stable Platform: Windows Offline-first

A lightweight focus timer for Windows with automatic Do Not Disturb.

Taskbar Focus keeps the current session visible, silences notifications while you focus, and restores them when it is time for a break.

Windows 10 or 11 · 64-bit · No administrator access required

Install

Scoop

Scoop is the recommended installation method:

scoop bucket add taskbar-focus https://github.com/yoelrosenthal/taskbar-focus
scoop install taskbar-focus

Update later with scoop update taskbar-focus.

Other options

Download taskbar-focus.exe from the latest GitHub release, or install it from crates.io:

cargo install taskbar-focus

The standalone executable does not require an installer. Place it in any folder and run it.

Quick start

  1. Open Taskbar Focus. It runs in the Windows notification area beside the clock, and shows a compact countdown on the desktop.
  2. Left-click the progress-ring icon (or the countdown) to start a focus session.
  3. Left-click again to pause or resume. Right-click for breaks, presets, settings, and other actions.

Taskbar Focus tray menu during a focus session, with today's PC lock and the postpone and skip actions

Windows 11 may place new notification-area icons behind the ^ arrow. Open the overflow area and drag the Taskbar Focus icons onto the taskbar if you want them to remain visible.

Tray status

The notification-area icons show the current state without opening a window.

Windows notification area with the Taskbar Focus progress ring and muted-notifications icon

  • The progress ring is red during focus, green during a break, grey while idle, and faded while paused.
  • The crossed-out bell appears while notifications are muted. It can be hidden independently in Settings.

The same muted-notifications indicator can also appear beside the countdown in the timer window.

Timer window

A compact countdown is shown by default. Move it, resize it, and park it over the taskbar or anywhere else on the desktop. Clicking it starts, pauses, or resumes the timer.

Taskbar Focus timer window showing a focus countdown

Turn it off in Settings → Timer window, or choose Hide timer window from the tray menu. Taskbar Focus remembers its size and position. Use Reset window size to return to the default layout.

Settings

Double-click the tray icon, or right-click it and choose Settings.... Search from the top of the window, or open a page:

Page What it covers
General Starting with Windows
Timer Preset lengths for focus, short break, and long break
Sequence Automatic cycles, strict focus, sleep, and restart
Notifications Tray toasts, a centre overlay, and a screen flash
Do Not Disturb Muting during focus, and optionally through short breaks
Sounds Mute, plus which events play the Windows Asterisk cue
Timer window Compact countdown visibility and always-on-top
Hotkeys Global shortcuts, and the keyboard shortcuts below
PC lock Locking the PC at a set time

Keyboard shortcuts also work inside the app. By default:

  • In the tray menu, press the letter shown on the right of a line. In the Preset menu, 1 to 9 choose a preset.
  • In the timer window, Space starts, pauses and resumes.
  • In Settings, Ctrl+K searches, Ctrl+S saves, Esc closes without saving, and Ctrl+Tab and Ctrl+Shift+Tab change page.

Each one can be changed on the Hotkeys page: click its box and press the new key or combination. Press Backspace in a box to remove that shortcut, or switch off Use keyboard shortcuts to remove them all. In the timer window, Shift+F10 always opens the menu.

Taskbar Focus Settings window on the Timer page

Changes apply when you select Save. Save as new preset keeps the current timer lengths as a separate preset. Restore defaults loads the built-in values without overwriting your file until you save.

An update leaves an existing config.toml alone. Use Restore defaults if you want the current factory settings.

Focus sessions and breaks

New installs run a looping Pomodoro sequence:

  1. Complete a focus session.
  2. Start a short break automatically.
  3. Start the next focus session when the break ends.
  4. After enough focuses, take a long break, then start another cycle.

Settings → Sequence can turn the automatic chain off, skip auto-starting a break or the next focus, or stop after a long break instead of starting another cycle. Strict focus asks for confirmation before Stop or Skip can abandon a running focus session. A running timer can count sleep, ignore it, or pause when the machine wakes.

When a session ends

Each completed focus or break can use any combination of:

  • a tray toast in the notification area
  • a centre overlay on the active monitor, with an optional wait-for-dismiss that pauses the timer until you continue
  • a screen flash that pulses on every connected monitor

Overlay and flash stay visible while Do Not Disturb is on. Toasts wait until muting lifts, so Windows can actually show them.

Sounds are separate: the Windows Asterisk cue from your sound scheme, with a master mute and a switch per event.

Do Not Disturb

When focus begins, Taskbar Focus enables the same Do not disturb mode used by Windows. When a break begins, it restores notifications. You can keep muting through short breaks and only unmute on a long break. Windows priority apps and contacts continue to follow your existing priority settings.

PC lock

Taskbar Focus can end the working day by locking the PC at a set time. It uses the normal Windows lock, the same as pressing Win+L, so your apps and open work stay as they are.

Choosing the days

Open Settings → PC lock. Every day is off at first. Switch on the days you want, set a time for each one with the arrows beside the hour and minutes (or type it), and select Save.

Taskbar Focus Settings on the PC lock page, with a 5:45 PM lock on weekdays

Once a lock is set for today, the tray menu shows when it happens, for example PC locks at 5:45 PM · cutoff 5:15 PM.

What happens before the lock

  1. A warning appears 10 minutes before the cutoff. It says when the PC locks and offers Postpone 30 min.

    Taskbar Focus warning that the PC locks at 1:04 PM, with Postpone 30 min and Dismiss

  2. Until the cutoff, 30 minutes before the lock, you can still change your mind. Choose Postpone 30 min from the warning or the tray menu, up to twice a day, or Skip today's lock from the tray menu.

  3. After the cutoff, the lock can no longer be postponed or skipped.

  4. One minute before the lock, a last warning appears. Save your work.

  5. The PC locks. A running timer pauses, and notifications are restored.

After the lock

For the next 15 minutes, the locked period, unlocking the PC shows how long is left and locks it again after 10 seconds. On a normal day, choose End locked period to stop this and keep working.

If the PC could not lock on time, for example because it was asleep, and you come back within 30 minutes, you get a 1-minute warning and then the PC locks. On a normal day that warning offers Skip today.

Strict days

Turn on Strict for a day to hold yourself to it. After that day's cutoff, Exit, taskbar-focus --quit and changes to that day's lock are unavailable until the locked period ends, and the warnings no longer offer End locked period or Skip today.

Strict never locks you out. Signing out, shutting down, Task Manager, and your Windows password always work.

Changing the timing

The Timing and Advanced sections further down the PC lock page set the cutoff, how long a postponement lasts, how many are allowed each day, the length of the locked period, and when each warning appears. The values above are the defaults.

Make sure it runs

The lock only happens while Taskbar Focus is running. Turn on Start with Windows on the General page of Settings so it is there every day. Task Manager's startup list can still switch that off.

Presets

Taskbar Focus includes three presets:

Preset Focus Short break Long break
Pomodoro 25/5 25 minutes 5 minutes 15 minutes
Deep Work 90/15 90 minutes 15 minutes 30 minutes
Short 15/3 15 minutes 3 minutes 10 minutes

Presets can be edited, duplicated, and selected directly from the tray menu.

Controls and shortcuts

Action Mouse Default shortcut
Start, pause, or resume Left-click the tray icon or timer window Ctrl+Alt+F
Skip to the next interval Tray menu → Skip to next Ctrl+Alt+B
Open Settings Double-click the tray icon —
Open all actions Right-click the tray icon or timer window —

Global shortcuts work from any application and can be changed or disabled in Settings.

Command-line control

Commands are forwarded to the running application, so scripts and shortcuts do not create a second timer.

taskbar-focus --start
taskbar-focus --break
taskbar-focus --toggle
taskbar-focus --skip
taskbar-focus --stop
taskbar-focus --preset "Deep Work 90/15"
taskbar-focus --postpone-lock
taskbar-focus --quit

Run taskbar-focus --help for the complete command list.

Privacy and local data

Taskbar Focus does not require an account, collect telemetry, or make network connections. It never requires administrator rights.

Local files are stored in %APPDATA%\taskbar-focus:

  • config.toml contains settings and presets in plain text.
  • lock.toml contains the state of PC locks.
  • activity.log records application activity locally.

Uninstall

Turn off Start with Windows in Settings first, if you turned it on.

With Scoop:

scoop uninstall taskbar-focus

With Cargo:

cargo uninstall taskbar-focus

If you downloaded the executable, delete it. Settings remain in %APPDATA%\taskbar-focus until that folder is removed. Do Not Disturb is restored when the application exits.

License

MIT