diff options
| author | auric <104602845+ihateamongus@users.noreply.github.com> | 2025-09-11 15:14:27 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-11 15:14:27 -0500 |
| commit | 8245aa3b9fbd8a2bf271133f9fbdc2ca45b221c9 (patch) | |
| tree | 0ab78ec4155721ae8571fdcac435c9b84e232ca9 /browsers/getaccent.c | |
| parent | 2d10fcf6bb85732819385f20a9bc13c50036c0f7 (diff) | |
| parent | 6207d8a75e40aa76008edaffbbe138bbc9f6baa4 (diff) | |
Merge pull request #33 from ihateamongus/codex/explore-dynamic-accent-color-support
Add dynamic browser accent color experiment
Diffstat (limited to 'browsers/getaccent.c')
| -rw-r--r-- | browsers/getaccent.c | 13 |
1 files changed, 13 insertions, 0 deletions
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 <stdio.h> +#include <unistd.h> +#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; +} |
