Repository navigation
Releases
Releases · BibekBhusal0/focusd
v0.2.14
Release notes
Fixes
- Daemon socket is now per-user (
$XDG_RUNTIME_DIR/focusd/, or a uid-keyed file under/tmp) instead of a shared/tmp/focusd.sock, so another local user can no longer pre-create or spoof it. - The daemon refuses to replace a socket file owned by someone else instead of deleting it.
- Both ends verify the peer runs as the same user and drop anything else.
- Socket reads are capped at 64 KiB with timeouts (5 s client, 30 s daemon), so an unterminated stream cannot exhaust memory.
v0.2.13
Features
- Returning sessions before long break and completed sessions number in status for omarchy plugin.
v0.2.12
Fixes
- Calculating added time correctly
- Completion status in history
v0.2.11
Fixes
- Fixed incorrect time calculation when adding minutes to timer
- Daemon now sends proper response when adding minutes
v0.2.1
New Features
- You can add minutes to the running timer, its keymaps is
a, or use CLI argument--add-minutesor-a
Fix
- Hooks works properly when starting session.
Breaking Changes
- 4 commands have been removed into one
work,long-break,short-breakandstartare now single commandfocusd --startstart current sessionfocusd --start workstarts work sessionfocusd --start short-breakstarts short breakfocusd --start long-breakstarts long break
v0.2.0
Release Notes
Breaking Changes
- Removed some duplicate commands line arguments (just use
pauseinstead ofpause-session):pause-sessionresume-sessionreset-sessionstop-sessionskip-sessionnext-session
- Changed
stop-daemonto--stop-daemon
New Features
- CLI Arguments:
- Directly start specific mode with arguments
work,short-breakandlong-break - Directly select specific preset with
--preset.
- Directly start specific mode with arguments
- TUI:
- New layout which don't have multiple borders.
- You can hide progress with
tui_show_progressin config file. - You can hide ASCII art with
tui_show_ascii_artin config file. - Dashboard style layout for timer page.
- Fonts and theme can now be customized.
- Up and down key can scroll in history page.
- Popup to show all keymaps you can see it by pressing
?. - Settings page so that you don't have to open the toml file.
- Hooks, any shell commands can be executed when timer is paused/resumed and when session starts. It might be useful to send notifications or to toggle music. These are all the hooks available:
- hook_pause
- hook_resume
- hook_resume_short_break
- hook_pause_short_break
- hook_resume_work
- hook_pause_work
- hook_pause_long_break
- hook_resume_long_break
- hook_start_short_break
- hook_start_long_break
- hook_start_work
- Omarchy integration:
- Focusd now has omarchy shell plugin. Check the omarchy-focusd for more info.
Screenshots
v0.1.0
First Release of FocusD (Version 0.1.0)
A beautiful terminal pomodoro timer with daemon, waybar integration and interactive TUI.
Why Build Another Pomodoro Timer??
I know lots of pomodoro timer exists for terminal and for waybar. But none of them have all those features: waybar integration, nice TUI, history, statistics, streak. I decided to build my one to learn rust.
Features
- Beautiful TUI.
- Lightning fast (written in rust)
- Long running daemon so it continues in background even if TUI is closed
- Configuration and custom presets
- Full history of all sessions
- Detailed statistics and streak to keep you motivated
- Notification in timer completion
- Synced state between different TUIs.
Screenshots
Timer Page
History Page
Stats Page
Waybar Integration
Installation
Mac-Os
brew tap bibekbhusal0/packages
brew trust bibekbhusal0/packages
brew install focusdArch
yay -S focusdWindows
Not supported yet.
Other
First make sure cargo is installed.
cargo install focusd



