TUI 可帮您组织时间: Pomodoro、Tabata、倒计时、计时器、事件。
TUI to organize your time: Pomodoro, Tabata, Countdown, Timer, Event.
[1] countdown Use it for your workout, yoga/breathing sessions, meditation, handstand or whatever.[2] timer Check the time on anything you are doing.[3] pomodoro Organize your working time to be focused all the time by following the Pomodoro Technique. Pomodoro becomes Tabata by auto-detection.[4] event Count the time for any event in the future or past.(theme depends on your terminal preferences)
9999y 364d 23:59:59.9)…Extra option (if --features sound is enabled by local build only):
--sound Path to sound file (.mp3 or .wav) to play as notification. Experimental.Note: To enable Vim motions key binding, run with --vim=on once. It will be stored as part of settings, so only running once is needed. To disable, run --vim=off.
| Key | Description |
|---|---|
| m | Toggle menu |
| Key | Description |
|---|---|
| 1 | Pomodoro |
| 2 | Countdown |
| 3 | Timer |
| 4 | Event |
| 0 | Local Time |
| → | next screen |
| ← | previous screen |
| l | next screen (Vim motions) |
| h | previous screen (Vim motions) |
| Key | Description |
|---|---|
| space | start/stop |
| r | reset |
| e | enter edit mode |
| q | quit |
In edit mode only:
| Key | Description |
|---|---|
| s | save changes |
| esc | skip changes |
| ← or → | change selection |
| h or l | change selection (Vim motions) |
| ↑ | edit to go up |
| k | edit to go up (Vim motions) |
| ctrl+↑ | edit to go up 10x |
| ctrl+k | edit to go up 10x (Vim motions) |
| ↓ | edit to go down |
| j | edit to go down (Vim motions) |
| ctrl+↓ | edit to go down 10x |
| ctrl+j | edit to go down 10x (Vim motions) |
In Event edit mode only:
| Key | Description |
|---|---|
| enter | save changes |
| esc | skip changes |
| tab | switch input |
In Pomodoro screen only:
| Key | Description |
|---|---|
| ctrl+← or ctrl+→ | switch work/pause |
| ctrl+h or ctrl+l | switch work/pause (Vim motions) |
| a | toggle auto switch work/pause |
| ↑ | next round |
| k | next round (Vim motions) |
| ↓ | previous round |
| j | previous round (Vim motions) |
| ctrl+↑ | increase max rounds |
| ctrl+k | increase max rounds (Vim motions) |
| ctrl+↓ | decrease max rounds |
| ctrl+j | decrease max rounds (Vim motions) |
| ctrl+r | reset rounds |
| ctrl+s | save initial value |
In Countdown screen only:
| Key | Description |
|---|---|
| ctrl+e | edit by local time |
| ctrl+s | save initial value |
| : | toggle finish time |
| Key | Description |
|---|---|
| , | toggle styles |
| . | toggle deciseconds |
| : | toggle local time |
cargo install timr-tuicargo install --git https://github.com/sectore/timr-tuiInstall from the AUR:
paru -S timrNote: Currently timr-tui is available on the unstable channel only.
# default (w/o sound)
nix-env -iA nixpkgs.timr-tui
# or w/ sound enabled
nix-env -iA nixpkgs.timr-tui --arg timr-tui '(timr-tui.override { enableSound = true; })'# default (w/o sound)
environment.systemPackages = with pkgs; [
timr-tui
];
# or w/ sound enabled
environment.systemPackages = with pkgs; [
(timr-tui.override { enableSound = true; })
];# default (w/o sound)
home.packages = with pkgs; [
timr-tui
];
# or w/ sound enabled
home.packages = with pkgs; [
(timr-tui.override { enableSound = true; })
];Source at nixpkgs:
Pre-built artifacts are available to download from latest GitHub release.
cd into root directory.
If you have direnv installed, run direnv allow once to install dependencies. In other case run nix develop.
…nix build
# or for bulding w/ statically linked binaries
nix build .#linuxStaticnix build .#windowscargo testStored on file system:
# Linux
~/.local/state/timr-tui/data/app.data
# macOS
/Users/{user}/Library/Application Support/timr-tui/data/app.data
# Windows
C:/Users/{user}/AppData/Local/timr-tui/data/app.dataTo get log output, start the app by passing --log to timr-tui. See CLI for details.
Logs will be stored in an app.log file at following locations:
# Linux
~/.local/state/timr-tui/logs/app.log
# macOS
/Users/{user}/Library/Application Support/timr-tui/logs/app.log
# `Windows`
C:/Users/{user}/AppData/Local/timr-tui/logs/app.logOptional: You can use a custom directory by passing it via --log arg.
暂无开放 Issues,或尚未同步最近议题。