>Daniel's Homepage

Posts

My posts about programming and things.
Date format is day/month/year because I'm sane.

Binary clock

19/9/2018

To force me to learn recognising binary numbers easier I've created a small program that takes the current time and converts it to binary. I apply this binary string to the X displays root window title, dwm takes this string and puts it into the status bar, it replaces the decimal clock that was there before. Now if I want to know the time I have to convert it into decimal or spend the effort typing 'date' into a terminal.

The source is available in my git repository.



RSS feed
FSF member

page generated 1/12/2024 using websitegenerator in C