Skip to content

j4hongir/tempo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tempo

minimalist time progress tracker for your shell

Day    : [################..................................] 33%
Week   : [#########.........................................] 19%

install

zsh

oh-my-zsh
git clone https://github.com/j4hongir/tempo.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/tempo

add tempo to your plugins in .zshrc:

plugins=(... tempo)
zinit
zinit light j4hongir/tempo
manual
git clone https://github.com/j4hongir/tempo.git ~/tempo 
echo 'source ~/tempo/tempo.plugin.zsh' >> ~/.zshrc

bash

git clone https://github.com/j4hongir/tempo.git ~/tempo
echo 'source ~/tempo/tempo.bash' >> ~/.bashrc

fish

fisher
fisher install j4hongir/tempo
manual
git clone https://github.com/j4hongir/tempo.git ~/tempo
ln -s ~/tempo/functions/tempo.fish ~/.config/fish/functions/tempo.fish
ln -s ~/tempo/completions/tempo.fish ~/.config/fish/completions/tempo.fish
ln -s ~/tempo/conf.d/tempo.fish ~/.config/fish/conf.d/tempo.fish

usage

tempo # all progress bars
tempo -d # day only
tempo -w # week only
tempo -m # month only
tempo -y # year only
tempo -a # all (explicit)
tempo -c # show config
tempo -h # help

config

set in .bashrc / .zshrc / config.fish:

variable default description
TEMPO_WIDTH 40 bar width
TEMPO_FILLED # filled character
TEMPO_EMPTY . empty character
TEMPO_COLOR true color output
TEMPO_ITEMS day week month year items to show
TEMPO_AUTO true auto-show on startup

bash/zsh:

export TEMPO_WIDTH=50
export TEMPO_ITEMS="day week"
source ~/tempo/tempo.plugin.zsh

fish:

set -g TEMPO_WIDTH 50
set -g TEMPO_ITEMS="day week"

license

MIT

About

time bar in terminal

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages