diff options
author | June McEnroe <june@causal.agency> | 2018-08-20 23:24:39 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2018-08-20 23:24:39 -0400 |
commit | 911274a7a166585dc4dcf052c0504eabb33df76e (patch) | |
tree | 73608fe1ab57647a97e9b05ccfa1e21af3fb12a3 /bin/fbclock.c | |
parent | Generate scheme.h (diff) | |
download | src-911274a7a166585dc4dcf052c0504eabb33df76e.tar.gz src-911274a7a166585dc4dcf052c0504eabb33df76e.zip |
Use scheme.h in fbatt and fbclock
Diffstat (limited to 'bin/fbclock.c')
-rw-r--r-- | bin/fbclock.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/fbclock.c b/bin/fbclock.c index 699ce969..1554a95e 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; |