dev notes

software development craftsmanship

#BlackLivesMatter

After almost four years, I am moving on towards a new job. Removing the german holydays, weekends and vacations, there are only 23 working days left.

This is not very much time, considering the work, which have to be completed before I leave. So I decided to build something simple to direct my attention to the last days.

I currently running a Gentoo system with dwm as a window manager. My .xinitrc looks like this:

xscreensaver &
(conky | while read LINE; do xsetroot -name "$LINE"; done) &
exec dwm

conky is one way to update the root window in a specific intervall. Now I need a little programm, that returns my last working days. After a little python magic my .conkyrc looks like this:

update_interval 60.0

TEXT
${exec daysLeft -d 2016-06-17 -w -e 2016-05-18 2016-05-27 2016-05-16 2016-05-26 } working days left | ${exec oneLineStatus} | ${exec date "+%d.%m.%Y %R"}

I think, the first version is all I need, to keep fokus on the last days of my current job.

<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>