tmux-golden-apple

pomodoro timer tmux plugin
git clone git://git.pyratebeard.net/tmux-golden-apple.git
Log | Files | Refs | README | LICENSE

commit ec53764ced930d8137f566a67f5925e6a99202a2
Author: pyratebeard <root@pyratebeard.net>
Date:   Wed,  6 Oct 2021 15:04:46 +0100

initial commit

Diffstat:
AREADME.md | 41+++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md @@ -0,0 +1,41 @@ +# tmux golden apple + +A simple Pomodoro timer for your tmux statusline + +## Usage +Add the format string `#{goldenapple}` in to your `status-right` or `status-left` option. + +Add the following bind-key options +``` +bind-key g run-shell "~/.tmux/plugins/tmux-golden-apple/golden_apple.tmux start" +bind-key G run-shell "~/.tmux/plugins/tmux-golden-apple/golden_apple.tmux stop" +``` + +By default the timer will run for 15 minutes. +You can modify the timer using the option `@work`, for example to set it for 30 minutes: +``` +set -g @work 30 +``` + +## Installation +### With [Tmux Plugin Manager](https://github.com/tmux-plugins/tpm) (recommended) +Add the plugin to your list of TPM plugins in `.tmux.conf` +``` +set -g @plugin 'https://gitlab.com/pyratebeard/tmux-golden-apple.git' +``` + +Fetch the plugin and source it using `prefix + I`. + +### Manual installation +Clone the repo +``` +git clone https://gitlab.com/pyratebeard/tmux-golden-apple.git ~/.tmux/plugins/ +``` + +Reload your Tmux environment by typing the following in the terminal +``` +tmux source-file ~/.tmux.conf +``` + +## License +[MIT](LICENSE)