<div align="center">
<img src="focus-app-icons/icon-256.png" width="120" alt="Taskbar Focus app icon">
# Taskbar Focus
[](https://crates.io/crates/taskbar-focus)
[](https://github.com/yoelrosenthal/taskbar-focus/actions/workflows/ci.yml)
[](LICENSE)
[](#install)
**A small focus timer for the Windows taskbar.**
It mutes notifications while you focus, brings them back for breaks, and can
lock the PC at the end of the day.
Windows 10 or 11 · No administrator rights · No network access
</div>
## Install
With [Scoop](https://scoop.sh):
```powershell
scoop bucket add taskbar-focus https://github.com/yoelrosenthal/taskbar-focus
scoop install taskbar-focus
```
Or download `taskbar-focus.exe` from the
[latest release](https://github.com/yoelrosenthal/taskbar-focus/releases/latest),
or run `cargo install taskbar-focus`.
## Using it
Taskbar Focus lives next to the clock. Click the ring to start or pause, and
right-click for everything else.

The ring is red during focus, green during a break and grey when idle. The
crossed-out bell means notifications are muted.

A small countdown window sits on the desktop. Drag it anywhere, or hide it from
the menu.

By default it runs a Pomodoro cycle: focus, short break, focus again, and a long
break every fourth round. Presets for 25/5, 90/15 and 15/3 are included.
## Settings
Double-click the tray icon to open Settings.

You can change the timer lengths, notifications and sounds, Do Not Disturb, the
timer window and all keyboard shortcuts.
## PC lock
Taskbar Focus can lock the PC at a set time, so the working day really ends.
Pick the days and times in **Settings → PC lock**.

You get a warning before the lock, and can postpone it or skip today until the
cutoff, 30 minutes before. After the lock, unlocking within 15 minutes locks the
PC again. On a **Strict** day you also can't exit the app or end the locked
period early. Signing out, shutting down and your password always work.

The lock only happens while the app is running, so turn on **Start with
Windows**.
## Shortcuts
| Start or pause | <kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>F</kbd> |
| Skip to the next interval | <kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>B</kbd> |
These work from any app. The tray menu also has a letter for each line.
From the command line:
```powershell
taskbar-focus --start
taskbar-focus --toggle
taskbar-focus --stop
taskbar-focus --help
```
## Privacy
No account, no telemetry and no network access. Settings are stored as plain
text in `%APPDATA%\taskbar-focus`.
## Uninstall
Turn off **Start with Windows**, then run `scoop uninstall taskbar-focus` or
`cargo uninstall taskbar-focus`, or delete the exe.
## License
[MIT](LICENSE)