docs(man): backfill man pages with wiki-only info (source-of-truth pass)
Port information that previously lived only in the GitHub wiki into the authoritative scdoc man pages, so the man pages become the single source of truth for module documentation. 33 man pages enriched (options, format replacements, actions, style selectors, troubleshooting and implementation notes). Additions were verified against the source; stale/incorrect wiki entries were deliberately not ported. All pages still compile with scdoc. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -37,6 +37,19 @@ Waybar config to enable the module:
|
||||
```
|
||||
|
||||
|
||||
# DEVELOPING CFFI MODULES
|
||||
|
||||
CFFI modules require a handful of functions and constants to be defined with C
|
||||
linkage. The way to achieve this depends on the programming language being used
|
||||
(search for FFI / Foreign Function Interface for that language).
|
||||
|
||||
The complete list of symbols to define can be found in the header file shipped with
|
||||
Waybar at *resources/custom_modules/cffi_example/waybar_cffi_module.h*, and a full
|
||||
example written in C is provided in *resources/custom_modules/cffi_example/*.
|
||||
|
||||
Language bindings exist for several languages, including Rust (the *waybar-cffi*
|
||||
crate) and Zig.
|
||||
|
||||
# STYLE
|
||||
|
||||
The classes and IDs are managed by the cffi dynamic library.
|
||||
|
||||
Reference in New Issue
Block a user