Skip to content

Releases

v0.2.14

Choose a tag to compare

@github-actions github-actions released this 11 Oct 06:11
1afd5e6

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

Choose a tag to compare

@github-actions github-actions released this 01 Sep 17:30

Features

  • Returning sessions before long break and completed sessions number in status for omarchy plugin.

v0.2.12

Choose a tag to compare

@github-actions github-actions released this 26 Aug 16:12

Fixes

  • Calculating added time correctly
  • Completion status in history

v0.2.11

Choose a tag to compare

@github-actions github-actions released this 26 Aug 14:01

Fixes

  • Fixed incorrect time calculation when adding minutes to timer
  • Daemon now sends proper response when adding minutes

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 26 Aug 12:40

New Features

  • You can add minutes to the running timer, its keymaps is a, or use CLI argument --add-minutes or -a

Fix

  • Hooks works properly when starting session.

Breaking Changes

  • 4 commands have been removed into one work, long-break, short-break and start are now single command
    • focusd --start start current session
    • focusd --start work starts work session
    • focusd --start short-break starts short break
    • focusd --start long-break starts long break

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 15 Aug 18:13

Release Notes

Breaking Changes

  • Removed some duplicate commands line arguments (just use pause instead of pause-session):
    • pause-session
    • resume-session
    • reset-session
    • stop-session
    • skip-session
    • next-session
  • Changed stop-daemon to --stop-daemon

New Features

  • CLI Arguments:
    • Directly start specific mode with arguments work, short-break and long-break
    • Directly select specific preset with --preset.
  • TUI:
    • New layout which don't have multiple borders.
    • You can hide progress with tui_show_progress in config file.
    • You can hide ASCII art with tui_show_ascii_art in 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

Timer page

History page

Stats page

Waybar integration

Omarchy plugin

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 16 Jul 12:07

First Release of FocusD (Version 0.1.0)

A beautiful terminal pomodoro timer with daemon, waybar integration and interactive TUI.

Image

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

Image

History Page

Image

Stats Page

Image

Waybar Integration

Image

Installation

Mac-Os

brew tap bibekbhusal0/packages
brew trust bibekbhusal0/packages
brew install focusd

Arch

yay -S focusd

Windows

Not supported yet.

Other

First make sure cargo is installed.

cargo install focusd