From 6207d8a75e40aa76008edaffbbe138bbc9f6baa4 Mon Sep 17 00:00:00 2001 From: auric <104602845+ihateamongus@users.noreply.github.com> Date: Thu, 11 Sep 2025 15:13:57 -0500 Subject: Add dynamic Firefox accent color extension --- browsers/getaccent.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 browsers/getaccent.c (limited to 'browsers/getaccent.c') diff --git a/browsers/getaccent.c b/browsers/getaccent.c new file mode 100644 index 0000000..a7f81d4 --- /dev/null +++ b/browsers/getaccent.c @@ -0,0 +1,13 @@ +#include +#include +#include "../core/accent.h" + +int main(void) { + ColorShm *blk = NULL; + char col[8]; + if (readaccent(&blk, col)) { + printf("%s\n", col); + return 0; + } + return 1; +} -- cgit v1.2.3