dev notes

software development craftsmanship

/ home [ / blog / letter / springer link / brain / relaunch / time for money, money for time / first steps with rasmus / connect the dots / get in touch with vue / Alternative content management system approach / A database gate keeper / Generate a ERM from a PostgreSQL database schema / Working with immutable data in Postgres / Automatically update MIT licenses / Moving ORM Mapping towards the database / providing test data for databases / using pandoc filters to create graphs with hakyll / get in touch with react / six months in new job / days left / minimum viable product / Repository ownership / getting better / git cleanup ]


days left

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

${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.