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

Attachment: signature.asc
Description: PGP signature

Reply via email to