Skip to content
small program that sets the root windows name to the current time in binary, used as dwm's status bar.
C Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
COPYING
README.md
binstatus.c
components.c
components.h
config.h
makefile

README.md

This program sets your X servers root window name as the current time in 12-hour binary. This allows dwm to use it in their status bar. Other window managers may also use this string for something. I use it with dwm as a clock to practice recognising binary numbers quickly.

arguments:

-d: display time in decimal format (HH:MM)

-m: Use the 24-hour time format

compile: cc binstatus.c -lX11 -o binstatus

run: ./binstatus &

You may prefer to put this in your .xinitrc file and move the binary to somewhere like /usr/bin.

You can’t perform that action at this time.