index posts opinions portfolio


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

Binary clock


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/8/2022 using websitegenerator in C