StrataWM / strata

A cutting-edge, robust and sleek Wayland compositor with batteries included.
https://stratawm.github.io
GNU General Public License v3.0
177 stars 7 forks source link

use proc macros to remove boilerplate when defining config #45

Closed calops closed 1 year ago

calops commented 1 year ago

This new Config proc macro is a bit complicated but it lets us define everything we want about configuration options, including default values, in a single file (currently src/libs/config/structs.rs).