{"id":51095628,"url":"https://github.com/gufranco/tmux-pomodoro-revamped","last_synced_at":"2026-06-24T06:02:22.385Z","repository":{"id":366695572,"uuid":"1277307342","full_name":"gufranco/tmux-pomodoro-revamped","owner":"gufranco","description":"A Pomodoro timer in the tmux status bar with zero temp files: the work/break timeline is pure math over a start epoch, all state in tmux options. Pause/resume, notifications, 95%+ tested","archived":false,"fork":false,"pushed_at":"2026-06-22T23:07:43.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-23T01:06:44.561Z","etag":null,"topics":["bash","dotfiles","focus","pomodoro","productivity","shell","status-bar","timer","tmux","tmux-plugin","tpm"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gufranco.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-22T19:22:30.000Z","updated_at":"2026-06-22T23:07:48.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/gufranco/tmux-pomodoro-revamped","commit_stats":null,"previous_names":["gufranco/tmux-pomodoro-revamped"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/gufranco/tmux-pomodoro-revamped","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gufranco%2Ftmux-pomodoro-revamped","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gufranco%2Ftmux-pomodoro-revamped/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gufranco%2Ftmux-pomodoro-revamped/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gufranco%2Ftmux-pomodoro-revamped/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gufranco","download_url":"https://codeload.github.com/gufranco/tmux-pomodoro-revamped/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gufranco%2Ftmux-pomodoro-revamped/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34719307,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-24T02:00:07.484Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","dotfiles","focus","pomodoro","productivity","shell","status-bar","timer","tmux","tmux-plugin","tpm"],"created_at":"2026-06-24T06:02:20.189Z","updated_at":"2026-06-24T06:02:22.371Z","avatar_url":"https://github.com/gufranco.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n\u003ch1\u003etmux-pomodoro-revamped\u003c/h1\u003e\n\n**A Pomodoro timer in your tmux status bar, with zero temp files: all state lives in tmux options.**\n\n[![Tests](https://github.com/gufranco/tmux-pomodoro-revamped/actions/workflows/tests.yml/badge.svg)](https://github.com/gufranco/tmux-pomodoro-revamped/actions/workflows/tests.yml) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)\n\n\u003c/div\u003e\n\n**work + breaks** · **no temp files** · **tmux 1.9 to 3.5** · **51** tests · **95%+** coverage\n\nA Pomodoro timer that counts down work and break intervals in the status bar. The whole timeline is computed from a single start epoch, so there is **no temp file** anywhere (the original keeps seven in `/tmp`), nothing to clean up, and no `/tmp` collision between users. State lives entirely in tmux server options, and the phase is computed on demand, so the render never spawns a background process.\n\nBuilt from [tmux-plugin-template](https://github.com/gufranco/tmux-plugin-template).\n\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eNo temp files\u003c/strong\u003e\u003cbr\u003eThe timeline is pure math over a start epoch. State is in tmux options, nothing on disk.\u003c/td\u003e\n\u003ctd\u003e\u003cstrong\u003eFull cycle\u003c/strong\u003e\u003cbr\u003eWork, short breaks, and a long break after every N intervals, then it repeats.\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003ePause and resume\u003c/strong\u003e\u003cbr\u003ePaused time is tracked exactly, so the countdown is correct after any number of pauses.\u003c/td\u003e\n\u003ctd\u003e\u003cstrong\u003eNotifications\u003c/strong\u003e\u003cbr\u003eA desktop notification on each phase change, via osascript on macOS or notify-send on Linux.\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n## Status placeholder\n\nPut `#{pomodoro_status}` in your status line:\n\n```tmux\nset -g status-right '#{pomodoro_status} | %H:%M'\n```\n\nIt renders the phase color, the `MM:SS` countdown, and `[interval/total]`, for example `23:20 [1/4]`. It is empty when no timer is running.\n\nEach render also writes the same segment to the `@pomodoro_status` tmux option, so a theme or another plugin can read the current value with `#{@pomodoro_status}` without invoking the script.\n\n## Controls\n\n| Key | Action |\n|-----|--------|\n| `prefix + p` | start, or pause/resume a running timer |\n| `prefix + P` | cancel the timer |\n| `prefix + _` | skip to the next phase |\n\nAll three keys are configurable.\n\n## Install\n\nWith [TPM](https://github.com/tmux-plugins/tpm), add to `~/.tmux.conf`:\n\n```tmux\nset -g @plugin 'gufranco/tmux-pomodoro-revamped'\n```\n\nThen press `prefix + I`, and add `#{pomodoro_status}` to your status line.\n\n## Configuration\n\n| Option | Default | Meaning |\n|--------|---------|---------|\n| `@pomodoro_revamped_work` | `25` | work minutes |\n| `@pomodoro_revamped_break` | `5` | short break minutes |\n| `@pomodoro_revamped_long_break` | `15` | long break minutes |\n| `@pomodoro_revamped_intervals` | `4` | work periods before a long break |\n| `@pomodoro_revamped_show_interval` | `1` | set to `0` to hide the `[n/N]` counter |\n| `@pomodoro_revamped_notifications` | `1` | set to `0` to disable desktop notifications |\n| `@pomodoro_revamped_on_work` | unset | shell command run when a work phase begins |\n| `@pomodoro_revamped_on_break` | unset | shell command run when a short break begins |\n| `@pomodoro_revamped_on_long_break` | unset | shell command run when a long break begins |\n| `@pomodoro_revamped_toggle_key` | `p` | start / pause / resume key |\n| `@pomodoro_revamped_cancel_key` | `P` | cancel key |\n| `@pomodoro_revamped_skip_key` | `_` | skip-phase key |\n| `@pomodoro_revamped_{work,break,long_break}_color` | red, green, blue | per-phase color |\n| `@pomodoro_revamped_{work,break,long_break}_icon` | empty | per-phase glyph, for example a Nerd Font tomato or coffee cup |\n| `@pomodoro_revamped_pause_text` | ` paused` | text appended while paused |\n\n## Compatibility\n\nWorks on every tmux version TPM supports, 1.9 and up, on Linux (x86_64 and arm64) and macOS (Intel and Apple Silicon). Notifications use `osascript` on macOS and `notify-send` on Linux when present; the timer itself needs neither.\n\n## Development\n\n```bash\nmake test    # bats suite\nmake lint    # shellcheck\nmake coverage  # kcov line coverage on Linux\n```\n\nThe timer math lives in [`src/lib/pomodoro/pomodoro.sh`](src/lib/pomodoro/pomodoro.sh) as pure functions, the full work/break/long-break timeline as arithmetic over the elapsed seconds, validated with fixtures and no real clock.\n\n## License\n\n[MIT](LICENSE), copyright Gustavo Franco.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgufranco%2Ftmux-pomodoro-revamped","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgufranco%2Ftmux-pomodoro-revamped","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgufranco%2Ftmux-pomodoro-revamped/lists"}