dotfiles

Luke's GNU/Linux dotfiles for i3, vim, ranger, bash, mpd, etc.
git clone git@git.lukesmith.xyz:dotfiles
Log | Files | Refs | README | LICENSE

commit 92037e3f089cee8b29f916f6e730af63f070eac3
parent 04a5d284a11cd51439aec2d8d43c0d1343a63ac9
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Tue,  7 Aug 2018 13:50:23 -0400

datelog script added

Diffstat:
A.scripts/datelog | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/.scripts/datelog b/.scripts/datelog @@ -0,0 +1,6 @@ +#!/bin/sh +# I have a cronjob run this every minute to log time spend on the computer in +# `~/.time` for each day. Gives estimate of daily NEEThood. + +date=`date '+%y-%m-%d'` +echo $((`cat ~/.time/"$date"`+1)) > ~/.time/"$date"