Skyler Grey | 38b468f | 2022-08-11 11:57:28 +0100 | [diff] [blame] | 1 | # This is a script that integrates with gtimelog |
Skyler Grey | 0a5d5af | 2022-08-11 12:56:54 +0100 | [diff] [blame^] | 2 | if [ $# -eq 0 ]; then |
3 | cat ~/.local/share/gtimelog/timelog.txt | grep "$(date +"^%Y-%m-%d")" | more | ||||
4 | else | ||||
5 | echo "$(date +"%Y-%m-%d %H:%M"): $@" >> ~/.local/share/gtimelog/timelog.txt | ||||
6 | fi |