.\" Generated by scdoc 1.11.3 .\" Complete documentation for this program is not available as a GNU info page .ie \n(.g .ds Aq \(aq .el .ds Aq ' .nh .ad l .\" Begin generated content: .TH "waybar-cffi" "5" "2024-09-15" .SH NAME .PP waybar - cffi module .PP .SH DESCRIPTION .PP The \fBcffi\fR module gives full control of a GTK widget to a third-party dynamic library, to create more complex modules using different programming languages.\& .PP .SH CONFIGURATION .PP Addressed by \fBcffi/\fR .PP \fBmodule_path\fR: .br typeof: string .br The path to the dynamic library to load to control the widget.\& .PP Some additional configuration may be required depending on the cffi dynamic library being used.\& .PP .PP .SH EXAMPLES .PP .SS C example: .PP An example module written in C can be found at https://github.\&com/Alexays/Waybar/resources/custom_modules/cffi_example/ .PP Waybar config to enable the module: .nf .RS 4 "cffi/c_example": { "module_path": "\&.config/waybar/cffi/wb_cffi_example\&.so" } .fi .RE .PP .PP .SH STYLE .PP The classes and IDs are managed by the cffi dynamic library.\&