summary refs log tree commit diff
path: root/bin/fbclock.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-08-20 23:24:39 -0400
committerJune McEnroe <june@causal.agency>2018-08-20 23:24:39 -0400
commit942f7c0a040dd154a8c3b9075baadcec81884748 (patch)
tree3cbbd7c3b8e77f99a1bec62bd80863b765dd0f6f /bin/fbclock.c
parentGenerate scheme.h (diff)
downloadsrc-942f7c0a040dd154a8c3b9075baadcec81884748.tar.gz
src-942f7c0a040dd154a8c3b9075baadcec81884748.zip
Use scheme.h in fbatt and fbclock
Diffstat (limited to 'bin/fbclock.c')
-rw-r--r--bin/fbclock.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/fbclock.c b/bin/fbclock.c
index 6b284aac..20c7b6c6 100644
--- a/bin/fbclock.c
+++ b/bin/fbclock.c
@@ -28,6 +28,8 @@
 #include <unistd.h>
 #include <zlib.h>
 
+#include "scheme.h"
+
 static const uint32_t PSF2_MAGIC = 0x864AB572;
 struct Psf2Header {
 	uint32_t magic;
@@ -40,8 +42,8 @@ struct Psf2Header {
 	uint32_t glyphWidth;
 };
 
-static const uint32_t BG = 0x161510;
-static const uint32_t FG = 0x7A7155;
+static const uint32_t BG = SCHEME.darkBlack;
+static const uint32_t FG = SCHEME.darkWhite;
 
 int main() {
 	size_t len;