Why not driconf?
It's the standard way for these on linux, and would also support the env var. But in addition it would allow static configuration, and optionally via a GUI - you can say "I always want MSAA 8x for ET, but 0x for ETQW", without making wrapper scripts for those or exporting a global value in your environment, which would affect the compositor and possibly hurt.


Reply With Quote
