[qutebrowser] Using PyYAML in qutebrowser config
Florian Bruhin
me at the-compiler.org
Tue Jan 14 15:26:48 CET 2025
Hey,
On 2025-01-14T13:05:47 , artur via qutebrowser wrote:
> I want to know if qutebrowser configs support importing modules
> like PyYAML.
Yep, that should work just fine:
https://github.com/qutebrowser/qutebrowser/blob/main/doc/help/configuring.asciidoc#importing-other-modules
> Why? Because Base16 usually uses YAML to package each of their
> colorschemes, my idea is to read a YAML file into a string
> then and then convert it into a python dictionary I can pass
> to a function that themes qutebrowser accordingly.
Make sure you're not reinventing the wheel:
https://github.com/tinted-theming/base16-qutebrowser
Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://listi.jpberlin.de/pipermail/qutebrowser/attachments/20250114/15c8f505/attachment.asc>
More information about the qutebrowser
mailing list