Crates.io | fitimer |
lib.rs | fitimer |
version | 1.1.0 |
source | src |
created_at | 2023-06-03 10:40:30.49248 |
updated_at | 2023-08-25 08:46:47.146963 |
description | A timer to keep fit and healthy whilst having a sedentary work. |
homepage | |
repository | https://github.com/mazharz/fitimer |
max_upload_size | |
id | 881531 |
size | 109,414 |
A timer to keep fit and healthy whilst having a sedentary work.
You are either working or taking a break. So we have those two states in the real world. I used to use pomodoro timers for this, but this is simpler and has a nicer interface for me.
$ cargo install fitimer
Fitimer is configurable through a json file, here is the default config located at ~/.config/fitimer/config.json
:
gruvbox
color pallete.{
"tick_rate": 1000,
"durations": {
"work": 25,
"rest": 5
},
"color": {
"black": "#282828",
"white": "#fbf1c7",
"gray": "#928374",
"yellow": "#d79921",
"green": "#98971a",
"red": "#cc241d",
"blue": "#458588",
"purple": "#b16286",
"aqua": "#689d6a",
"orange": "#d65d0e"
}
}
There is a file located at ~/.cache/fitimer/fitimer.log
which logs how much time was spent for each type of activity. This file is used to draw the graph, if it grows too large at any point, you can safely delete it.