added bold-color option and updated the README - tty-clock - port of tty-clock to OpenBSD, with pledge/unveil added as goodie.
HTML git clone https://git.drkhsh.at/tty-clock.git
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 0b1609f421e97ef00d93e49f5d61e02dc397a1bf
DIR parent 8eb31f58e5418052cf390097fa8451583ec48492
HTML Author: Christian Gießen <cgie@informatik.uni-kiel.de>
Date: Wed, 6 Mar 2013 15:43:48 +0100
added bold-color option and updated the README
Diffstat:
M README | 23 +++++++++++++----------
M ttyclock.h | 1 +
2 files changed, 14 insertions(+), 10 deletions(-)
---
DIR diff --git a/README b/README
@@ -1,10 +1,13 @@
-usage : tty-clock [-sctrvih] [-C [0-7]] [-f format]
- -s Show seconds
- -c Set the clock at the center of the terminal
- -C [0-7] Set the clock color
- -t Set the hour in 12h format
- -r Do rebound the clock
- -f format Set the date format
- -v Show tty-clock version
- -i Show some info about tty-clock
- -h Show this page
+usage : tty-clock [-sctrvihD] [-C [0-7]] [-f format]
+ -s Show seconds
+ -c Set the clock at the center of the terminal
+ -C [0-7] Set the clock color
+ -b Use bold colors
+ -t Set the hour in 12h format
+ -r Do rebound the clock
+ -f format Set the date format
+ -v Show tty-clock version
+ -i Show some info about tty-clock
+ -h Show this page
+ -d delay Set the delay between two redraws of the clock
+ -D Hide date
DIR diff --git a/ttyclock.h b/ttyclock.h
@@ -67,6 +67,7 @@ typedef struct
Bool date;
char *format;
int color;
+ Bool bold;
long delay;
} option;