emersion / mako

A lightweight Wayland notification daemon
https://wayland.emersion.fr/mako
MIT License
2.17k stars 137 forks source link

Implement an include option #523

Closed kupospelov closed 2 months ago

kupospelov commented 2 months ago

I share my dotfiles between several machines and sometimes it's very convenient to have a common config file that can load other files that may be machine-dependent (e.g. scale factor or font size). The machine-dependent configs may belong to another repository or even be just local files.

Similar features exist in other projects, for example:

I would suggest an include implementation closest to foot:

I may in fact have a chance to look into it later this or next month, just want to double-check that this proposal makes sense. @emersion what do you think?