From efc77d6286fc50819ac2ca6dbfad3ab9726522cc Mon Sep 17 00:00:00 2001 From: daniel-Jones Date: Fri, 21 Sep 2018 10:33:25 +0930 Subject: added -m option by default the program now uses the 12 hour format. updated the readme accordingly --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 05be93e..51d4cae 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,11 @@ -By default this program will set your root windows name to the time in binary, however if you run with -d it will display the time in decimal (HH:MM). +This program sets your X servers root window name as the current time in 12-hour binary. This allows dwm (and possibly other) window managers use it in their status bar. I use it with dwm as a clock to practice recognising binary numbers quickly. + +argumewnts: + +````-d: display time in decimal format (HH:MM)```` + + +````-m: Use the 24-hour time format```` compile: @@ -9,4 +16,4 @@ run: ````./binstatus &```` -You may prefer to put this in your .xinitrc file. +You may prefer to put this in your .xinitrc file and move the binary to somewhere like /usr/bin. -- cgit v1.2.3