Deep work timer
This is a simplistic deep work tracker.
Instalation:
- After downloading, add final directory of this script to path so that it can be used everywhere (e.g.
export PATH="$HOME/bin/dw-timer/:$PATH"
in .bashrc)
- Make sure you have pandas installed (
pip install pandas
)
- Change the path also in the scripts (default is
~/bin/dw-timer
, only in the first cd
)
- Make sure you have /dev/null (creation:
mknod /dev/null c 1 3 ; chmod 666 /dev/null
)
Usage:
- type
dws
for starting a session
- type
dwe
for ending a session, adding a session description and writing it to DWS_records.csv (DWS stands for Deep Work Session)
- type
dwc
to display current session time
- type
dwt
to display stats of last 7 recorded days and all-time DW time
- type
dwa
to add time manually (like in case you forgot to start the timer, etc.)
- in case of accidental writing, forgetting of ending a session, etc., just adjust the data directly in DW_records.csv
- A session can't be longer than a day
- just to make sure everything works smoothly, add a description to the first session